Skip to content

Instantly share code, notes, and snippets.

Avatar

Chad Hedstrom Hadlock

View GitHub Profile
@Hadlock
Hadlock / structured-logging.py
Created Dec 30, 2020
Splunk-compatible structured logging python 3
View structured-logging.py
#!/usr/bin/env python3
import datetime
import time
import logging
import sys
import structlog
logging.basicConfig(stream=sys.stdout, format="%(message)s", level=logging.INFO)
View fim checkboxes for demo
1. [ ] secure can talk to fimdozer
2. [ ] fimdozer installed on appliance
3. [ ] fimdozer can return dll to secure
4. [ ] secure can send dll to CM
5. [ ] CM can send dll to node
6. [ ] Service can hotload dll
7. [ ] Whitelist and blacklist work
8. [x] Install works
9. [ ] Uninstall works