How to resolve !map []ConfigProspector error?

Hi all,

I am new to filebeat . I have install filebeat 1.2.0 and have created a file called filebeat_consol.yml as ..

 filebeat:
  prospectors:
      input_type: stdin
output:
  console:
    pretty: true

and when i am running this file with sudo ./filebeat -c filebeat_consol.yml I am getting this error

Start error: Error reading config file: YAML config parsing failed on filebeat_consol.yml: yaml: unmarshal errors:
  line 3: cannot unmarshal !!map into []config.ProspectorConfig. Exiting

Please help mee with this :slightly_smiling:

  1. filebeat 1.2.0 does not exist. You likely installed some nightly build?

  2. you filebeat config looks faulty. Error is indicating a problem parsing your config file. prospectors requires an array (must start with -)

Thanks for the reply .
Actually i want to send my logs to kafka and so I found from this link about installing filebeat-1.2.0-nightlylatest-windows.zip and so i downloaded the tar.gz file

Thanks it worked :slightly_smiling: