If you plan to use textproc/elasticsearch2 I found that would not start without a loopback device. So I switched my testing jail to a VIMAGE jail. There may be a configuration option that prevents the need for this if VIMAGE is an issue since it's not available by default. However, in my little testing jail I've found that Elasticsearch 2 is much slower searching for data via Kibana so I haven't touched my production ELK box on Elasticsearch 1.7 (textproc/elasticsearch).
It's a fairly simple setup however, install it: pkg install logstash kibana41 elasticsearch
If you want to explore Elasticsearch 2: pkg install logstash kibana43 elasticsearch2
In this case you'll just point Logstash to log to the Elasticsearch running locally. Just uncomment the line for it in /usr/local/etc/logstash/logstash.conf.
Code:
# This will use elasticsearch to store your logs.
elasticsearch { hosts => [ "localhost:9200" ] }
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.