Customize the indices name for ingesting data by elastic agent

I have installed elastic agent in 2 web server to collect iis log. Both log data are ingested to same indices.
How could set different indices for different server data?