Filebeat
Configuration of log shipper 'Filebeat'
This section explains how you can configure 'Filebeat' like a log shipper.
In order for filebeat component to send the log details to the event gateway, users have to configure two elements.
Event Gateway Endpoint
Filebeat configuration
Step 1:
An example of Event Gateway Endpoint configuration is captured in the below configuration snippet
An example of Linux-based Filebeat configuration is captured in the below configuration snippet.
Step 2: Update hosts details in /etc/filebeat/filebeat.yml file (using your favorite editor (e.g. vi )
Step 3: Restart the filebeat service (as shown in the below code snippet).
Note: In order to run the above commands, the user is expected to have 'sudo' privileges or run the command as a root to enable the required ports.
Last updated