Separate index for each input

Is there any way to make different index for different inputs?

Add static field named i.e. ‘input_name’ to every input. Create streams to send messages to separate indexes (don’t forget to check ‘remove matches from ‘All messages’ stream’) for each input, with stream rule ‘input_name must match (input name)’.

you can use in the stream rules the field gl2_source_id:>UUID< where you place the UUID of the input on the routing field.

This will enable you to store one specifc stream in one index and you have one index for the input. As long as the messages are not stored in multiple streams with multiple indices as storage the messages will be only stored in that single index.

2 Likes

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