I'm creating a Centralized Logs with Filebeat, Logstash, and Elasticsearch. My Beat and Elasticsearch work well.
I'm getting a problem in my logstash on output.
It looks like you have a superfluous spaces in your index pattern, which is causing the string replacement engine to not see the variable in the template:
At second-glance, the superfluous spaces around your GROK patterns are going to cause similar problems, and will result in the events not matching the patterns.
I also can't really tell what you're attempting to do with your GROK plugin configurations; the following, if specified correctly without extra spaces in the pattern template, would essentially say:
load all of the patterns in the specified directory (and then don't use any of them)
match the contents of the message field, capturing everything into a single resulting field that we will call message, overwriting the contents of message with an identical copy of itself.
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.