Skip to content

Commit 0e61a61

Browse files
amit-sllclaude
andcommitted
Increase HEC request timeout from 60s to 300s
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>
1 parent 2876237 commit 0e61a61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

total_replay/utility/utility_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def send_data_to_splunk(self, file_path, splunk_host, hec_token, event_host_uuid
639639
allow_redirects=True,
640640
headers=headers,
641641
verify=False,
642-
timeout=60
642+
timeout=300
643643
)
644644
res.raise_for_status()
645645
logger.info(f"Successfully sent data to Splunk HEC: {file_path}")

0 commit comments

Comments
 (0)