I am trying to setup a LogStash/Redis/ElasticSearch pipeline for centralized logging,I have a few questions,
I believe for this to work, you need a specific version of elasticsearch & logstash, is there a place where I can find a one-to-one mapping as to what versions of elasticsearch & logstash gel together.
This might sound very silly but, in the elasticsearch.yml
file all lines start with #
, do I need to get rid of the #
for some minimum values.
Lastly I set up the whole pipeline, but I see the following error,
NativeException - org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];[SERVICE_UNAVAILABLE/2/no master];:
org/elasticsearch/cluster/block/ClusterBlocks.java:138:in `globalBlockedException'
org/elasticsearch/cluster/block/ClusterBlocks.java:128:in `globalBlockedRaiseException'
Also I installed the elasticsearch head plugin, but it fails to load up, all I see is a spinning wheel in the Chrome tab.
Logstash is a light-weight, open-source, server-side data processing pipeline that allows you to collect data from a variety of sources, transform it on the fly, and send it to your desired destination. It is most often used as a data pipeline for Elasticsearch, an open-source analytics and search engine.
Connect to KibanaIn a web browser, go to the FQDN or public IP address of your Logstash Server. You should see a Kibana welcome page. Click on Logstash Dashboard to go to the premade dashboard.
Elasticsearch is an open source, full-text search and analysis engine, based on the Apache Lucene search engine. Logstash is a log aggregator that collects data from various input sources, executes different transformations and enhancements and then ships the data to various supported output destinations.
1 Look a the logstash elasticsearch output
It says that for logstash 1.1.9 you should use elasticsearch 0.20.2.
2 Depends of your needs and your environment, but initially you don't need to change anything in elasticsearch to make it work.
3 It sounds like you have problems finding the nodes, maybe it is something related with the multicast discovery and the configuration of your environment.
Look at elasticsearch zen discovery
Try disabling multicast to use unicast instead, to do that just uncomment this line within your elasticsearch.yml configuration file:
discovery.zen.ping.multicast.enabled: false
and set the unicast hosts to match your environment:
discovery.zen.ping.unicast.hosts: ["localhost"]
Maybe this thread can help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With