Skip to content
Discussion options

You must be logged in to vote

You'll need to add a log/filestream input for Filbeat.

To do this, add something like the following to the applicable minion pillar file(s):

filebeat:
  config:
    inputs:
      - type: filestream
        paths:
          - /nsm/mylogdir/mylog.log
        fields:
          module: mymodule
          dataset: mydataset
          category: mycategory

        processors:
          - drop_fields:
              fields: '["source", "prospector", "input", "offset", "beat"]'

        fields_under_root: true
        clean_removed: false
        close_removed: false

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dougburks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants