Running elasticsearch 1.4.2 and kibana 4 as service

2014-12-23 Thread Ram Maram
Hi, Right now I am running kibana 3 and elasticsearch 1.3.2 for our ELK stack, I would like to use kibana 4 and elasticsearch 1.4.2. Can someone please let me know how to install kibana 4 and elasticsearch 1.4.2 as a service on linux? I was able to run them manually but I couldn't figure how

Re: Running elasticsearch 1.4.2 and kibana 4 as service

2014-12-23 Thread Itamar Syn-Hershko
Elasticsearch has packages which will do this for you on every Linux distribution: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html For Kibana 4 you'll need to use init.d and /sbin/service , the specifics are going to depend on the distribution and the

Re: Running elasticsearch 1.4.2 and kibana 4 as service

2014-12-23 Thread Ram Maram
Thank you Itamar for your quick respone, my distribution is redhat linux 6.x and the tools that have installed are logstash, java, elasticsearch. Can you guide me on how to create the init file for kibana 4 or can I host it on apache ? Thanks, Ram On Tuesday, December 23, 2014 4:06:25 PM

Re: Running elasticsearch 1.4.2 and kibana 4 as service

2014-12-23 Thread Itamar Syn-Hershko
It's basic Linux administration stuff, see http://arstechnica.com/civis/viewtopic.php?p=2147913sid=16c526bdb60201e802cf7f6b8bc598e2#p2147913 for example (and the rest of the instructions on chkconfig). Just update the script to point at your Kibana files. -- Itamar Syn-Hershko http://code972.com

Re: Running elasticsearch 1.4.2 and kibana 4 as service

2014-12-23 Thread joergpra...@gmail.com
Use https://github.com/elasticsearch/elasticsearch-servicewrapper to run ES as a service under RHEL 6. Jörg On Tue, Dec 23, 2014 at 10:02 PM, Ram Maram ram.mara...@gmail.com wrote: Hi, Right now I am running kibana 3 and elasticsearch 1.3.2 for our ELK stack, I would like to use kibana 4

Re: Running elasticsearch 1.4.2 and kibana 4 as service

2014-12-23 Thread Itamar Syn-Hershko
I'd actually prefer to install from repositories as they take care of placing things in the right place and create a user to run ES under -- Itamar Syn-Hershko http://code972.com | @synhershko https://twitter.com/synhershko Freelance Developer Consultant Author of RavenDB in Action

Re: Running elasticsearch 1.4.2 and kibana 4 as service

2014-12-23 Thread joergpra...@gmail.com
The question was about having a service under RHEL. The Tanuki service wrapper has the advantage of guarding the JVM and restarts it if it exits with failure exit code, similar to Solaris SMF. The RPM packaging in the ES repository has some peculiarities which I find inadequate (mixture of SUSE