How to send Filebeat to a different and specific index

What version of filebeat?

If 8.x perhaps look at this thread