1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
input { tcp { port => 5000 } } ## Add your filters / logstash plugins configuration here filter { grok{ match => [ "message", "(?<scraped>(?<='item_scraped_count': ).*(?=,))" ] } } output { elasticsearch { hosts => "elasticsearch:9200" } }