Sha256: 5095888e94550142e782a4ff154f093c952c886cd94314a43c807d3796e1ce9d
Contents?: true
Size: 579 Bytes
Versions: 3
Compression:
Stored size: 579 Bytes
Contents
input { # This works generator { message => "www.google.com" count => 1 type => "test1" } # This will fail generator { message => "google.co.ukf" count => 1 type => "test1" } # Shows using the source option generator { message => "The domain is www.google.com" count => 1 type => "test2" } } filter { if [type] == "test1" { tld {} } if [type] == "test2" { grok { match => [ "message", "The domain is %{HOST:domain}" ] } tld { source => "domain" } } } output { stdout { codec => rubydebug } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
logstash-filter-tld-0.1.3 | example.conf |
logstash-filter-tld-0.1.2 | example.conf |
logstash-filter-tld-0.1.1 | example.conf |