Custum beat exemple in documentation problem

hi everyone,

I was learning how to create beats this days, and i found out an lsbeat exemple on the documentations, I followed the instruction one by one, and the lsbeat compiled with success. However, when I tried to execute the ./lsbeat it executes but i couldn't view the index on elasticsearch when I go to "localhost:9200/_cat/indices. can someone help me please .

Hi,

can you try console or file output first (disable elasticsearch output), to verify your beat correctly creates events.

You can enable debug output by starting your beat with -d '*'.

Also check the logs for ERR messages. Maybe the problem is the connection or template loading?

hi,

Thanks for the response, I tried to do "./lsbeat -d "*" but the terminal
doesn't show the debugging.
thanks

Oh Sorry, you have to use -e to print to stderr.

Also -e doesn't work.

i found out the solution, i had a problem on the main.go code
thanks for the help
best regards

This topic was automatically closed after 21 days. New replies are no longer allowed.