How To Enable Verbose Logging for Linux Sensor
book
Article ID: 292326
calendar_today
Updated On:
Products
Carbon Black Cloud Enterprise EDR (formerly Cb Threathunter)
Carbon Black Cloud Endpoint Standard
Issue/Introduction
How to enable Verbose Logging on Carbon Black Cloud EEDR Component for Linux Sensor
Environment
- Carbon Black Cloud Linux Sensor: All Supported Versions
- RHEL: All Supported Versions
Resolution
Verbose Logging should not be turned on unless directly by Carbon Black Engineering
- Stop the sensor (cbagentd):
$sudo systemctl stop cbagentd
- Edit the follow file:
/var/opt/carbonblack/psc/blades/E51C4A7E-2D41-4F57-99BC-6AA907CA3B4/th.ini
- Add a LogLevel=4 line to the th.ini file under the [ThreatHunter] section:
[ThreatHunter]
LogLevel=4
- Save and close file
- Start the sensor (cbagentd):
$sudo systemctl start cbagentd
- To disable verbose logging, remove the value from the th.ini and restart cbagentd
- Logs can be collected via these steps
Additional Information
The log level is configurable
Error = 1
Warning = 2
Info = 3 (Default)
Verbose = 4
Location of the CBTH log file
/var/opt/carbonblack/psc/log/blades/E51C4A7E-2D41-4F57-99BC-6AA907CA3B40/threat_hunter_log.txt
Feedback
thumb_up
Yes
thumb_down
No