Giter VIP home page Giter VIP logo

logstash_kibana_auto_install's People

Contributors

adrianlzt avatar joshgarnett avatar stephen-mw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

logstash_kibana_auto_install's Issues

ROOT path incorrect?

root@quantal:# pwd
/root
root@quantal:
# sudo ./logstash_server
...
Setting up elasticsearch (0.90.1) ...
Adding system user elasticsearch' (UID 105) ... Adding new userelasticsearch' (UID 105) with group elasticsearch' ... Not creating home directory/usr/share/elasticsearch'.

  • Starting ElasticSearch Server [ OK ]
    Processing triggers for ureadahead ...
    cp: cannot stat `/root/etc/elasticsearch/elasticsearch.yml': No such file or directory
    root@quantal:~# file /etc/elasticsearch/elasticsearch.yml
    /etc/elasticsearch/elasticsearch.yml: ASCII text

Not sure about the ROOT variable.

Thanks!

Recommendations

I guess there are few things that needs to be added in the README file to really make it more appealing. First, you have to include the most common url's after installation. Like what's the url of kibana. Second would be the "Requirements" before using the script. Making sure it's already installed before running the script. Also, list and answer some common error questions after installation. Here's what I've got after installing in Ubuntu 12.04 (excluding the certificates updates things):

Setting up openjdk-7-jre-headless (7u65-2.5.1-4ubuntu10.12.04.2) ...
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/java to provide /usr/bin/java (java) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode.
update-alternatives: using /usr/lib/jvm/java-7-openjdk-i386/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode.
update-binfmts: warning: current package is openjdk-7, but binary format already installed by openjdk-6
Setting up icedtea-7-jre-jamvm (7u65-2.5.1-4ubuntu1
0.12.04.2) ...
vm.overcommit_memory = 1
Stopping redis-server: redis-server.
Starting redis-server: redis-server.
--2014-09-29 01:27:06-- https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.1.deb
Resolving download.elasticsearch.org (download.elasticsearch.org)... 54.225.133.195, 107.22.222.16, 54.243.77.158, ...
Connecting to download.elasticsearch.org (download.elasticsearch.org)|54.225.133.195|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17085408 (16M) [application/octet-stream]
Saving to: `/tmp/elasticsearch.deb'

100%[===========================================================================================================================================================================================================================================>] 17,085,408 130K/s in 1m 53s

2014-09-29 01:29:01 (148 KB/s) - `/tmp/elasticsearch.deb' saved [17085408/17085408]

Selecting previously unselected package elasticsearch.
(Reading database ... 327265 files and directories currently installed.)
Unpacking elasticsearch (from /tmp/elasticsearch.deb) ...
Setting up elasticsearch (0.90.1) ...
Installing new version of config file /etc/init.d/elasticsearch ...
Installing new version of config file /etc/default/elasticsearch ...
Installing new version of config file /etc/elasticsearch/logging.yml ...
Installing new version of config file /etc/elasticsearch/elasticsearch.yml ...

  • Starting ElasticSearch Server [ OK ]
    Processing triggers for ureadahead ...
    ureadahead will be reprofiled on next reboot
  • Starting ElasticSearch Server [ OK ]
    mkdir: cannot create directory /etc/logstash': File exists --2014-09-29 01:29:04-- ftp://referer/%20https://github.com/stephen-mw/Logstash_kibana_auto_install =>logstash.jar'
    Resolving referer (referer)... failed: Name or service not known.
    wget: unable to resolve host address referer' --2014-09-29 01:29:04-- https://logstash.objects.dreamhost.com/release/logstash-1.1.13-flatjar.jar Resolving logstash.objects.dreamhost.com (logstash.objects.dreamhost.com)... 64.90.32.4, 2607:f298:4:143:acce:55:0:1 Connecting to logstash.objects.dreamhost.com (logstash.objects.dreamhost.com)|64.90.32.4|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 69485313 (66M) [application/java-archive] Saving to:logstash.jar'

100%[===========================================================================================================================================================================================================================================>] 69,485,313 156K/s in 7m 26s

2014-09-29 01:36:31 (152 KB/s) - `logstash.jar' saved [69485313/69485313]

FINISHED --2014-09-29 01:36:31--
Total wall clock time: 7m 28s
Downloaded: 1 files, 66M in 7m 26s (152 KB/s)

Remote branch kibana-ruby not found

I can't get the install script to install Kibana. Looks like it's trying to pull down code from a Github branch that does not exist. Here's the output from the console:

~/Logstash_kibana_auto_install
/opt ~/Logstash_kibana_auto_install
Cloning into 'Kibana'...
remote: Counting objects: 38418, done.
remote: Compressing objects: 100% (12548/12548), done.
remote: Total 38418 (delta 24635), reused 38418 (delta 24635)
Receiving objects: 100% (38418/38418), 38.25 MiB | 2.89 MiB/s, done.
Resolving deltas: 100% (24635/24635), done.
warning: Remote branch kibana-ruby not found in upstream origin, using HEAD instead
/opt/Kibana /opt ~/Logstash_kibana_auto_install
sed: can't read KibanaConfig.rb: No such file or directory

It seems like everything prior to this installed correctly (redis, elasticsearch, logstash).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.