How to filter json messages in logstash for a specific value to get store to different indexes

I'm new to logstash filter options and I would like to try some thing like filtering json message based on specific value like key=test1 then move that complete message to test1-index similarly if key=test2 then move that message to test2-index. Please help me and thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.