diff --git a/filters/example-input.conf b/filters/example-input.conf new file mode 100644 index 0000000..7e748a2 --- /dev/null +++ b/filters/example-input.conf @@ -0,0 +1,8 @@ +input { + tcp { + host => "localhost" + port => 9999 + codec => json_lines {} + type => "jenkins" + } +} diff --git a/filters/example-output.conf b/filters/example-output.conf new file mode 100644 index 0000000..d70358c --- /dev/null +++ b/filters/example-output.conf @@ -0,0 +1,7 @@ +output { + elasticsearch_http { + host => "localhost" + manage_template => false + flush_size => 1024 + } +} diff --git a/filters/indexer.conf b/filters/openstack-filters.conf similarity index 94% rename from filters/indexer.conf rename to filters/openstack-filters.conf index 42e84ad..39d6c09 100644 --- a/filters/indexer.conf +++ b/filters/openstack-filters.conf @@ -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 - } -}