Skip to content

Commit

Permalink
Merge pull request #277 from splunk/fix/batch_timeout
Browse files Browse the repository at this point in the history
Update batch_timeout to reflect ms units
  • Loading branch information
Ryan Faircloth authored and GitHub committed Jan 20, 2020
2 parents e10b49b + 03aff7d commit d024b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/etc/conf.d/destinations/splunk_hec.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ destination d_hec {
workers({{- getenv "SC4S_DEST_SPLUNK_HEC_WORKERS" "10"}})
batch-lines({{- getenv "SC4S_DEST_SPLUNK_HEC_BATCH_LINES" "1000"}})
batch-bytes({{- getenv "SC4S_DEST_SPLUNK_HEC_BATCH_BYTES" "4096kb"}})
batch-timeout({{- getenv "SC4S_DEST_SPLUNK_HEC_BATCH_TIMEOUT" "1"}})
batch-timeout({{- getenv "SC4S_DEST_SPLUNK_HEC_BATCH_TIMEOUT" "3000"}})
timeout({{- getenv "SC4S_DEST_SPLUNK_HEC_TIMEOUT" "30"}})
user_agent("sc4s/1.0 (events)")
user("sc4s")
Expand Down Expand Up @@ -45,4 +45,4 @@ destination d_hec {
event="$MSG"
fields.*)')
);
};
};

0 comments on commit d024b95

Please sign in to comment.