CSV2ELK Why I Built ThisAs a DFIR professional, I constantly deal with:CSV exports from SIEMs, firewalls, and malware analysis toolsTime wasted manually mapping fields to ElasticsearchCredential fatigue from repeated Elasticsearch loginsCSV2ELK v0.1 solves this with:✅ One-click ingestion of forensic data into ELK✅ Automatic timestamp detection (supports 10+ formats)✅ Secure credential storage (no hardcoded passwords)Link here => https://github.com/dfirvault/CSV2ELKHow It Works1. Data Flow Diagram[CSV File] → [CSV2ELK] → (Auto-Detect Fields) → [Elasticsearch Cluster] ↓ [Kibana Dashboard Ready!]2. Key FeaturesA. Smart CSV ParsingHandles malformed CSVs (skips bad lines, preserves data)Auto-converts:Timestamps → @timestampIPs → source.ip (if field matches *ip*)URLs → url.originalB. Secure Authentication[User Input] → [config.txt] → (Encrypted in Transit) → [Elasticsearch HTTPS]C. CLI + GUI Modes# CLI for automation: python CSV2ELK.py --csv iocs.csv --index threat_intel-$(date +%Y%m%d) # GUI for manual analysis:Use Cases1. Malware Log Analysis[VirusTotal CSV] → [CSV2ELK] → [ELK Dashboard] → (Correlate with EDR alerts)2. Firewall/SIEM Data[Palo Alto Log Export] → [CSV2ELK] → [GeoIP Visualizations]Getting StartedInstall: pip install pandas requests tqdmConfigure: Edit config.txt:#NOTE: on first run, this file will be created and managed by the application. If you do not see this, then it will be created on the first run of the application.ELASTICSEARCH_URL=https://your-elk:9200 USERNAME=elastic PASSWORD=YOUR_PASSWORDRun: python CSV2ELK.pyBehind the ScenesTechnical Deep DivePython Libraries Used:pandas → CSV parsingrequests → Elasticsearch API callstqdm → Progress barsError Handling:Retries failed Elasticsearch batches (3x)Validates timestamp formats before uploadDownload & ContributeGitHub: https://github.com/dfirvault/CSV2ELKIssues: Report bugs or feature requests💡 Pro Tip: Use with Elasticsearch’s ILM policies to auto-manage index retention.Final ThoughtsCSV2ELK saves hours per investigation by eliminating manual data wrangling. Try it with:Threat intel feeds (MISP, AlienVault OTX)Cloud audit logs (AWS GuardDuty, Azure Sentinel)Questions? Email me at dfirvault@gmail.com. Tags: CSV2ELKDFIRElasticELK