Osquery everywhere: What I learned from deploying osquery at scale
summary
Company deploys osquery with fleet to manage ad-hoc and scheduled queries across macOS, Linux, and Windows and scales to about 30,000 hosts. Load testing uses Docker to simulate 10k→30k clients, uncovering DB sizing and ad-hoc query limits. A Lambda-based osquery auditor checks asset inventory and Splunk logs to measure coverage and drive dashboards. Process auditing causes resource spikes so it is rolled back and replaced with planned bpf process events work; CI query profilers enforce performance budgets.
AI-written summary · about
chapters (13)
- 0:00Introduction and project goals
- 2:00Initial deployment challenges
- 4:39Security incident lessons
- 5:47Implementing automated alerts
- 7:43Adopting a fleet manager
- 8:59Process documentation and scaling
- 10:24Load testing at scale
- 11:47Prioritizing deployment areas
- 14:01Resource utilization issues
- 15:06Measuring performance
- 16:11Automated testing in CI/CD
- 17:32Auditing and health checks
- 19:55Future directions and summary
