Step 1: Set an identifier for each filestream input

edit

All filestream inputs require an ID. Ensure 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