Want to start logging from a Windows machine?
The configuration for Filebeat is generally compatible with Winlogbeat, which is specifically built to collect your Windows event logs.
You can download Winlogbeat and use the same output configuration.
Collect logs from your application using Filebeat.
The configuration for Filebeat is generally compatible with Winlogbeat, which is specifically built to collect your Windows event logs.
You can download Winlogbeat and use the same output configuration.
Pick a version of Filebeat for your OS on Filebeat download page and install it.
In your filebeat.yml
file, replace current output.*
config to send data to Better Stack:
output.elasticsearch:
hosts: 'https://$INGESTING_HOST:443'
path: '/elastic'
headers:
X-Better-Stack-Source-Token: '$SOURCE_TOKEN'
# Use this configuration for sources created before March 2025
output.elasticsearch:
hosts: 'https://in-elasticsearch.logs.betterstack.com:443'
headers:
X-Better-Stack-Source-Token: '$SOURCE_TOKEN'
Review the rest of the config to ensure some logs will be read. For example, change enabled: false
to enabled: true
in the default filebeat.inputs
array.
You can read more about input configuration in Filebeat docs.
Restart Filebeat to reload the configuration:
systemctl restart filebeat
filebeat -e -c filebeat.yml
You should see your logs in Better Stack β Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! π
Want to read about Filebeat configuration in more detail?
Check out the Filebeat documentation.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.