Back to HabeSec
How to Export Your Logs
HabeSec accepts CSV, JSON, JSONL, TXT, Excel, PCAP, and Zeek log files.
Use these guides to export logs from your existing security tools.
Download sample files to test first
🔵 Microsoft Sentinel
- Open Microsoft Sentinel in Azure Portal
- Go to Logs in the left menu
- Run your KQL query e.g.
SecurityEvent | take 1000
- Click Export then Export to CSV
- Upload the downloaded CSV to HabeSec
Tip: Include columns for IP addresses, timestamps, and event types for the best assessment results.
🟢 Splunk
- Run your Splunk search query
- Click Export above search results
- Select Export as CSV
- Set row limit 1,000 to 10,000 rows recommended
- Upload the downloaded CSV to HabeSec
Tip: Use | head 5000 in your Splunk query to limit results before exporting.
🟠Cloudflare
- Go to Cloudflare Dashboard and select your domain
- Go to Analytics and Logs then Logs
- Use Logpush to export to storage, or use HTTP Log Retention
- Export as JSON and upload to HabeSec
Tip: Cloudflare logs export as JSON by default HabeSec reads these natively.
🟡 AWS CloudWatch
- Open AWS CloudWatch console
- Go to Log groups and select your log group
- Click Actions then Export data to Amazon S3
- Download from S3 and upload to HabeSec
Tip: Use aws logs filter-log-events in AWS CLI to export a manageable sample.
⚪ Nginx / Apache Web Server Logs
- Access your server via SSH
- Nginx:
/var/log/nginx/access.log
- Apache:
/var/log/apache2/access.log
- Export a sample:
sudo tail -n 5000 /var/log/nginx/access.log > sample.log
- Upload the .log file to HabeSec
Tip: HabeSec reads standard Apache and Nginx combined log format automatically.
🔴 Wireshark PCAP Files
- Open Wireshark and capture or open an existing capture
- Go to File then Export Specified Packets
- Save as
.pcap format
- Upload directly to HabeSec PCAP files are natively supported
Tip: Keep PCAP files under 10MB. Use display filters to export a representative
sample. Select All Packets or a specific time range to ensure sufficient data volume.
🟣 Zeek / Bro Network Logs
- Locate your Zeek log directory (typically
/opt/zeek/logs/current/)
- Select a log file:
conn.log, http.log, dns.log, etc.
- Upload the .log file directly HabeSec detects Zeek format automatically
Tip: Zeek conn.log and http.log provide the richest data for adversarial analysis.
Format not listed? HabeSec auto-detects most log formats. Contact us at
habesec.research@proton.me with your format and we will add support.
Back to HabeSec