plainolneesh commented on a change in pull request #338:
URL: https://github.com/apache/fluo-muchos/pull/338#discussion_r443815487
##########
File path: ansible/roles/logstash/templates/pipeline.conf
##########
@@ -0,0 +1,57 @@
+input {
+ beats {
+ port => 5044
+ }
+ file {
+ path= "/media/ephemeral0/logs/accumulo/*.log"
+ }
+}
+filter {
+ if [fileset][module] == "logstash" {
+ if [fileset][name] == "hadoop" {
+ grok {
+
+ #2020-03-30 15:01:17,801 INFO org.apache.hadoop.hdfs.StateChange: DIR*
completeFile: /accumulo/tables/+r/root_tablet/F000003o.rf_tmp is closed by
DFSClient_NONMAPREDUCE_69506301_11
+ match => { "message" => "%{TIMESTAMP_ISO8601}%{SPACE}%{WORD:log
level}%{GREEDYDATA:hostname}%{GREEDYDATA:LINK}:%{GREEDYDATA:state}%{WORD:module}:
%{GREEDYDATA:message}"}
Review comment:
This has been moved to logstash-simple-2.conf
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]