Osquery is an operating system instrumentation framework for Linux that exposes this operating system as a high-performance relational database so that SQL queries can explore the operating system data. With osquery, SQL tables represent abstract concepts such as running processes, loaded kernel modules, open network connections, browser plugins, hardware events, or file hashes. LevelBlue recommends that you use osquery to collect data and send them to USM Anywhere through syslog. Alternatively, you can install the LevelBlue Agent on your Linux hosts outside of the network to monitor endpoints and collect logs.Documentation Index
Fetch the complete documentation index at: https://docs.levelblue.com/llms.txt
Use this file to discover all available pages before exploring further.
Note: Do not run osquery in parallel with the LevelBlue Agent because it will interfere with the agent and cause USM Anywhere not to parse the data it receives.
- If you do not yet have osquery, download it and follow the instructions appropriate for your operating system.
-
Create a text file called
osquery.confand copy-paste the contents of this file into it. -
Save
osquery.confand copy it to/etc/osquery/.Note: We recommend leaving the queries created by default, but you can create your own osquery configuration. -
Start the osquery daemon:
- If you have not already done so, configure syslog to send data to the USM Anywhere Sensor. See Linux Log Collection with Syslog for instructions. This should include restarting the syslog service.
-
Verify that you can see osquery events in USM Anywhere.
