Configuration of 'custom deflector' to route messages as per documentation

I would like to send messages for a particular machine (or group of machines) to a specific index.
The documentation doesn’t seems to elaborate on the diagram as mentioned in the documentation.
I have created the index via the Web GUI.
Any idea’s ?

I think I found out how to do it.

  1. Define the index set.
  2. Either edit or create the stream that you want to ‘route’ the messages from to the index set created in step 1.