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:
Jonathan Harker 2016-04-25 12:27:49 -07:00
parent 73fc04fce1
commit d33c95310d
3 changed files with 15 additions and 17 deletions

View File

@ -0,0 +1,8 @@
input {
tcp {
host => "localhost"
port => 9999
codec => json_lines {}
type => "jenkins"
}
}

View File

@ -0,0 +1,7 @@
output {
elasticsearch_http {
host => "localhost"
manage_template => false
flush_size => 1024
}
}

View File

@ -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
}
}