And this is the sample of stdout that keeps on repeating in logstash terminal. And host isnt added in field and neither is timestamp, loglevel shown on kibana.
The index worked by having correct name ngta-web and the filed host is also added. But the grok filter is still not working properly.
In my grok filter, I want to match a filename by the log file path and then apply different grok filters. For instance, my log file name is ngta_web.log and I want this log file to follow the first grok pattern if block, so I am making it match on the file name path. This is my updated grok-
Yes I fixed this @Badger. But my issue now is that the filename I am trying to do search query on to apply grok filters. I try the match statement on log.file.path name and then apply grok filter respectively. Any idea if how I have the match and grok written right now is correct?
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.