FileBeat Logging
Last updated
Was this helpful?
Last updated
Was this helpful?
Filesystem logging may be implemented, for many different operating systems, via the installation and configuration of the .
Once this binary is installed on your machine, you can adjust your configuration to ship logs directly to your Elasticsearch server, which will then be available for searching and viewing in Stachebox.
A basic configuration, in your filebeat.yml
file to send logs directly to an Elasticsearch server is as follows:
Next you will need to configure a filestream to ingest your logs. An example configurations for CommandBox logs would be as follows:
Once you have configured your Elasticsearch connection and start the filebeat service ( service filebeat start
), your log files will be ingested in to Elasticsearch and will be visible in Stachebox.
For more information on configuring connections, .
Filebeat provides a variety of , but there are also built in modules. To see the list of modules, you can run filebeat modules list
. For example, to enable the NGINX logging module, you can simply run filebeat modules enable nginx
and it will auto-configure itself to ingest NGINX site logs. For more information on modules and settings, .