Unable to use 2 fie log and 2 different index for them

below is my filebeat it is working fine for 1 log location and 1 index but i want to use 2 file log location and 2 diifferent index 1 index for 1 log path. how can we do this

filebeat.inputs:

  • type: log

    enabled: true

    paths:

    • C:\ProgramData\dir\SES\Logs***

filebeat.config.modules:

path: ${path.config}/modules.d/*.yml

reload.enabled: true

setup.template.settings:
index.number_of_shards: 1

setup.template.name: "filebeat-"
setup.template.overwrite: true
setup.template.pattern: "filebeat-
"
setup.template.settings:

setup.kibana:

host: ["http://10.111.32.150:5600"]

output.elasticsearch:

hosts: ["http://10.111.32.150:9300"]

index: "filebeat-*"

processors:

  • add_cloud_metadata: ~
  • add_docker_metadata: ~
  • add_kubernetes_metadata: ~