Running Filebeat from Command Line

Hi,

I am hoping to run Filebeat from my command line and not as a service on my Windows machine.

I have filebeat.yml configured to send my logs to a port that my Logstash will be listening for instead of sending them directly to Elasticsearch. In the YML file I also have Filebeat configured to take a directory of syslogs as the input. My goal is to start Filebeat from the command line and have it ship my logs to Logstash to be parsed.

Is this possible? If so, how do I go about doing it?

Thank you for your help!

Miranda

Run the filebeat.exe from a command prompt and specify the config file (see -h for all the CLI flags).

.\filebeat.exe -c filebeat.yml -e

Thanks so much, Andrew!!

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