Step 1: Set an identifier for each filestream inputedit

All filestream inputs require an ID. So make sure you set a unique identifier for every input.

Never change the ID of an input, or you will end up with duplicate events.

filebeat.inputs:
- type: filestream
  enabled: true
  id: my-java-collector
  paths:
    - /var/log/java-exceptions*.log

- type: filestream
  enabled: true
  id: my-application-input
  paths:
    - /var/log/my-application*.json

- type: filestream
  enabled: true
  id: my-old-files
  paths:
    - /var/log/my-old-files*.log