Kathy Lyons
07/10/2023, 10:54 AM{
"options": {
"utc": "true"
}
"schedule": {
"users":
"query": "SELECT * from users",
"interval": 60,
"description": "List all users"
}
}
(I'm using a interval of 60 just for testing.)
My osquery.flags file is this:
--logger_plugin=syslog
--config_plugin=filesystem
--logger_rotate=true
--logger_rotate_max_files=2
Using this setup, I get nothing in /var/log/syslog after restartin osquery. Is there something wrong with this setup?seph
--logger_rotate=true
and --logger_rotate_max_files
have no effect, those are specific to the filesystem logger.seph
syslog
library using whatever facility is set by --logger_syslog_facility
(with a default of LOCAL3
)
What your syslog does with that is controlled by your syslog configuration. And I do not remember what debian sends to /var/log/syslog
Kathy Lyons
07/11/2023, 9:35 AM