Can I double check the differences in logging opti...
# fleet
j
Can I double check the differences in logging options for Queries? I'm currently collecting Event Logs via FleetDM with a Query and want to ensure the no logs or removed or overwritten and are continually building. I currently have it on snapshot and have a feeling some rows are being replaced/deleted? What do I need to change it to?
u
hey @JJ - a member of the team will follow up with you shortly!
HI @JJ! There is a built-in mechanism in osquery that clears events after a scheduled query has been run. You can change the default behavior using osquery flags:https://osquery.readthedocs.io/en/stable/installation/cli-flags/#events-control-flagsI do recommend using caution when changing the behavior as you may see a noticeable performance impact on the host and/or denylisting of your queries as the buffer increases.