Exiting: error loading config file: yaml:

I added this to filebeat.yml file
paths:
input_type: log
-"C:\Users\pjaiswa6\Documents\lnl06a_3403\*.csv"
document_type: my_log

and ran the command -
.\filebeat -c filebeat.yml &

I get an error as follows -
Exiting: error loading config file: yaml: line 22: mapping values are not allowe
d in this context

It's a yaml parsing error. You can check you config for parsing errors with with http://www.yamllint.com as well. Can you share your complete filebeat config? Please use the </> button to format config/log files. YAML is sensitive to indentations and usage of tabs.

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