Skip to content

Increase HEC request timeout from 60s to 300s#1130

Closed
amit-sll wants to merge 3 commits intosplunk:masterfrom
SeamlessLabs:fix/increase-hec-timeout
Closed

Increase HEC request timeout from 60s to 300s#1130
amit-sll wants to merge 3 commits intosplunk:masterfrom
SeamlessLabs:fix/increase-hec-timeout

Conversation

@amit-sll
Copy link

@amit-sll amit-sll commented Feb 3, 2026

Summary

  • Increased Splunk HEC request timeout from 60 seconds to 300 seconds (5 minutes)
  • Fixes timeout errors when uploading large attack data files (e.g., 24MB)

Test plan

  • Run python3 total_replay.py -g '9364ee8e-a39a-11eb-8f1d-acde48001122' -i attack_data and verify the 24MB file uploads successfully
  • Verify smaller files still work as expected

🤖 Generated with Claude Code

amit-sll and others added 3 commits February 3, 2026 09:39
* add splunk detection query runner and related updates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* add uv.lock and update gitignore to exclude output dir

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* update readme with run_detections.py documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Move Splunk credentials to .env file for security

- Remove hardcoded credentials from config.yml
- Add .gitignore with .env and common Python patterns
- Credentials should now be set via environment variables or .env file

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add python-dotenv to load .env file automatically

- Import and call load_dotenv() in run_detections.py
- Add python-dotenv dependency to pyproject.toml

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add dotenv support to total_replay.py

- Import and call load_dotenv() to load .env file

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Update uv.lock with python-dotenv dependency

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Large attack data files (e.g., 24MB) were timing out during upload
to Splunk HEC. Increased timeout to 5 minutes to accommodate larger
payloads over higher-latency connections.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@amit-sll amit-sll closed this Feb 3, 2026
@amit-sll
Copy link
Author

amit-sll commented Feb 3, 2026

unintended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant