Move the input and output sections to example files
In preparation for consuming the filter section by system-config, move the input and output to example files to not consume them as well. Change-Id: I5e0853783db8c793dde387a5f625a526f6c3b4aa
This commit is contained in:
parent
73fc04fce1
commit
d33c95310d
|
@ -0,0 +1,8 @@
|
|||
input {
|
||||
tcp {
|
||||
host => "localhost"
|
||||
port => 9999
|
||||
codec => json_lines {}
|
||||
type => "jenkins"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
output {
|
||||
elasticsearch_http {
|
||||
host => "localhost"
|
||||
manage_template => false
|
||||
flush_size => 1024
|
||||
}
|
||||
}
|
|
@ -1,12 +1,3 @@
|
|||
input {
|
||||
tcp {
|
||||
host => "localhost"
|
||||
port => 9999
|
||||
codec => json_lines {}
|
||||
type => "jenkins"
|
||||
}
|
||||
}
|
||||
|
||||
# You can check grok patterns at http://grokdebug.herokuapp.com/
|
||||
filter {
|
||||
if "screen" in [tags] and [message] =~ "^\+ " {
|
||||
|
@ -114,11 +105,3 @@ filter {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
output {
|
||||
elasticsearch_http {
|
||||
host => "localhost"
|
||||
manage_template => false
|
||||
flush_size => 1024
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue