fleet/docs/infrastructure/working-with-osquery-logs.md
2018-05-07 19:53:53 -06:00

14 lines
1.3 KiB
Markdown

Working With Osquery Logs
=========================
The `fleet` binary accepts two flags:
- `--osquery_result_log_file`: Path for osqueryd result logs (default: `/tmp/osquery_result`)
- `--osquery_status_log_file`: Path for osqueryd status logs (default `/tmp/osquery_status`)
You can also configure the path which logs are written via environment variables or a config file. See the documentation on [Configuring The Fleet Binary](../infrastructure/configuring-the-fleet-binary.md) for more information on this.
As the Fleet server ingests logs from osquery, it will write them to the paths described using the above flags. You are encouraged to forward these logs into your company's log aggregation/alerting pipeline directly. For more information on configuring various systems to ingest osquery logs, consider reviewing the [Log Aggregation](https://osquery.readthedocs.io/en/stable/deployment/log-aggregation/) documentation on the official osquery wiki.
As the Fleet application grows, we are going to expand this feature based on customer feedback. If you would like direct integrations with a specific third-party application, please let us know by [filing an issue on github](https://github.com/kolide/fleet/issues) or [joining us on Slack](https://osquery-slack.herokuapp.com/).