How to send Filebeat to a different and specific index

Hello Elastic Team,

How to send filebeat log to a different and specifix index??

Thankyou

What version of filebeat?

If 8.x perhaps look at this thread