{"id":94,"date":"2016-06-10T15:47:00","date_gmt":"2016-06-10T22:47:00","guid":{"rendered":"http:\/\/andylittle.us\/?page_id=94"},"modified":"2016-06-10T15:51:10","modified_gmt":"2016-06-10T22:51:10","slug":"elk-stack-on-centos-6-8","status":"publish","type":"page","link":"https:\/\/andylittle.us\/?page_id=94","title":{"rendered":"Elk Stack on Centos 6.8"},"content":{"rendered":"<p>Used\u00a0<a href=\"http:\/\/operational.io\/elk-for-network-operations\/\">this<\/a>\u00a0and\u00a0<a href=\"http:\/\/operational.io\/elk-stack-for-network-operations-reloaded\/\">this<\/a>\u00a0to install (Elasticsearch 1.5, Logstash 1.5.0.rc2, and Kibana 4) on Centos 6.8. Actually used the Centos 7 guide so there were a few changes, but we got the current ELK version.<\/p>\n<p>* elastic search needed newer java:<br \/>\n<code><br \/>\n#yum remove java-1.6.0-openjdk.x86_64<br \/>\n#yum install java-1.8.0-openjdk.x86_64<br \/>\n<\/code><\/p>\n<p>* Ruby gem pleaserun needed a newer version of ruby so found an init script for kibana on interweb instead.<\/p>\n<p>* nginx version did not like proxy_http_version in \/etc\/nginx\/conf.d\/kibana.conf<br \/>\n<code><br \/>\n#yum list nginx*<br \/>\n#rpm -Uvh https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm<br \/>\n#rpm -Uvh https:\/\/mirror.webtatic.com\/yum\/el6\/latest.rpm<br \/>\n#yum remove nginx-1.0.15-12.el6.x86_64<br \/>\n#yum install nginx18<br \/>\n<\/code><\/p>\n<p>* logstash would crash after switching the log source from the generator to the actual syslog-ng log directory<br \/>\n<code><br \/>\n#config file \/etc\/logstash\/conf.d\/logstash.conf<br \/>\n#sincedb_path =&gt; \"\/var\/log\/logstash\" changed to sincedb_path =&gt; \"\/tmp\/var\/lib\/sincedb\"<br \/>\n#touch \/var\/lib\/sincedb<br \/>\n<\/code><\/p>\n<p>This bug is <a href=\"https:\/\/github.com\/elastic\/logstash\/issues\/4072\">here<\/a>.<br \/>\nand the log is here: tail -f \/var\/log\/logstash\/logstash.log<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Used\u00a0this\u00a0and\u00a0this\u00a0to install (Elasticsearch 1.5, Logstash 1.5.0.rc2, and Kibana 4) on Centos 6.8. Actually used the Centos 7 guide so there were a few changes, but we got the current ELK version. * elastic search needed newer java: #yum remove java-1.6.0-openjdk.x86_64 #yum install java-1.8.0-openjdk.x86_64 * Ruby gem pleaserun needed a newer version of ruby so found [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-94","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/pages\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andylittle.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":3,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/pages\/94\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/andylittle.us\/index.php?rest_route=\/wp\/v2\/pages\/94\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/andylittle.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}