Please Help Newbie with default auditbeat YML did not find expected key?

Default auditbeat YML has the following error prevented from setup and execute.

PS C:\Program Files\auditbeat> ./auditbeat setup
./auditbeat -e
./auditbeat : Exiting: error loading config file: yaml: line 102: did not find expected key
At line:1 char:1

  • ./auditbeat setup
  •   + CategoryInfo          : NotSpecified: (Exiting: error ...nd expected key:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    

./auditbeat : Exiting: error loading config file: yaml: line 102: did not find expected key
At line:2 char:1

  • ./auditbeat -e
  •   + CategoryInfo          : NotSpecified: (Exiting: error ...nd expected key:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
    

LINE 102 is bolded with below. Why default YML has problem?. Please help

---------------------------- Elasticsearch Output ----------------------------

output.elasticsearch:

Array of hosts to connect to. -------------- LIne 102

Hi Tony,
Could you send the full auditbeat.yml configuration? it would be much easier to troubleshoot.

And please format the yml with the </>above

Borna - thanks. Solved to the wrong elastic:password. Thanks again

1 Like

Stephenb - Solved to the wrong elastic:password. Thanks again

1 Like

Those pesky passwords :wink:

1 Like