ivakegg commented on a change in pull request #331: WIP - #254
URL: https://github.com/apache/fluo-muchos/pull/331#discussion_r401189002
 
 

 ##########
 File path: ansible/roles/logstash/templates/pipeline.conf
 ##########
 @@ -0,0 +1,30 @@
+input {
+    beats { 
+        port => 5044
+    }
+    file {
+        path= "/media/ephemeral0/logs/accumulo/*.log"
+    }
+}
+filter {
+  if [fileset][module] == "logstash" {   
+    grok {
+        match => { "message" => "%{TIMESTAMP_ISO8601:TIMESTAMP} 
\[%{GREEDYDATA:module}\.%{GREEDYDATA:class_name}\] %{WORD:level}: 
%{GREEDYDATA:message}\[%{GREEDYDATA:module}\]"}
 
 Review comment:
   For maintainability purposes, please put an example of the line being parsed 
in a comment before each match statement.  That will make this a lot easier to 
understand.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to