3 ms·
His description sounded like it would do joins across different hosts. Osquery looks to be single host at a time only.
by tyingq 10y ago
His description sounded like it would do joins across different hosts. Osquery looks to be single host at a time only.
- bpchaps 10y agoYep. I'm specifically writing it to find any log file that isn't being pushed into our third party logging service. It's a surprisingly difficult problem, especially considering the amount of tech sprawl that's accumulated. Since it's also a relatively low latency environment, it has to be written in a way that doesn't add too much load (without core isolation..).
- tyingq 10y agoYou could use the audit subsystem. https://www.linux.com/learn/customized-file-monitoring-auditd https://www.linux.com/learn/customized-file-monitoring-audit...
- bpchaps 10y agoDefinitely crossed my mind, but I'm working on hosts where installing auditd isn't really easy. Broken yum and apt all over the place makes installing new packages almost impossible. Same goes for lsof, but its installed in "enough" places. Kinda nightmarish, but it gives me a chance to write some fun code ;). Also, thanks for the article! Super interesting. Think that'd be better than implementing something on top of sysdig?
- tyingq 10y agoAuditd has the advantage of not being intermittent polling, which could miss something. Sounds like it isn't an option though.
- tyingq 10y agoAnother non polling option: http://www.brendangregg.com/blog/2014-07-25/opensnoop-for-linux.html http://www.brendangregg.com/blog/2014-07-25/opensnoop-for-li...
- bpchaps 10y ago+1 for anything by Brendan Gregg. I wasn't aware of the polling limitations of sysdig, but it definitely explains some things I've seen in the past. This is definitely going in my toolkit. Cheers! Edit: dammit, spelled his name wrong.