Transfer the input log to a specific index

Hello,

I want transfer the input log to a specific index. i have understand that i need to do one stream,but I do not see what rule to do.

Thank for your time

Ok is good now :
On the rule i have do that

For value you need to put that you can find this number sequence when you click on show received messages on your input
image