After updating to Winlogbeat 5 Alpha 2 and finally updating the template on my ELK stack I have ran Winlogbeats using the ./winlogbeat -e -d "publish" command.
Whilst I see a list of scrolling events I also see
sync.go:94: ERR Failed to publish events caused by: EOF
...and no data in Kibana! I have deleted on old indices and refreshed the winlogbeat index, restarted ES for fun but still nothing!
UPDATE: I can see data in Kibana but it's using my default Logstash index and not Winlogbeat. I therefore removed that from Kibana to test further and now trying to recreate.
Further still. I have looked at my winlogbeat index from the Kibana console and removed it. Then added the v5 alpha 2 template but I am not able to create a new winlogbeat index with appriopate fields.
What version of Elasticsearch are you using? The winlogbeat.template.json is for ES 5.x and the winlogbeat.template-es2x.json is for ES 2.x. Make sure you install the correct template for your ES version.
So your setup is Winlogbeat -> Logstash -> Elasticsearch? Can you share the configuration you are using for Winlobeat and Logstash. If your Winlogbeat data is going into a logstash-* index then you should check the elasticsearch output options in your Logstash configuration to make sure you specify the index. Here's an example that only publishes events that come from Beats to the given elasticsearch output. It uses the metadata added by Beats to control the destination index and type.
Ha! ES version 2.2.1 so have just loaded correct template. Have restarted winlogbeat clients. Still nothing in Kibana though. Yes Winlogbeat -> Logstash -> Elasticsearch
I have split inputs/outputs into 2 separate conf files held within the logstash conf directory
Yes but one too many {. I'm using vi and the human eye for edits. Clearly not good enough. However with that fixed. I am seeing the full input (json?) and getting many lines of
Beats input: the pipeline is blocked, temporary refusing new connection.
After a reboot of the whole thing including the server it looks like this
With such a simple Logstash config this probably means there's an issue sending data to Elasticsearch. Any Logstash guru's please chime in. Is Elasticsearch running and healthy? If you comment out the ES output, does it receive events OK?
Do you already have Logstash running? This means something is already listening on the port.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.