Required Object but found string

I know this has to be something simple, but im staring at it and cant figure it out, so im posting here for some extra eyes to tell me what i did wrong.
ERROR
Exiting: Error while initializing input: required 'object', but found 'string' in field 'filebeat.inputs.0.fields' (source:'/etc/filebeat/filebeat.yml')

CONFIG

filebeat.inputs:
    - type: log
      enabled: true
      paths:
        - /opt/bro/logs/current/conn.log
      fields:
         type:bro-conn
      fields_under_root: true

What am I missing?

The whitespace is missing after the colon.

1 Like

Thanks. That fixed it. Sorry. I knew it was something simple. I guess i was just looking at it for too long.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.