Skip to content

Commit

Permalink
Change to 3000ms to allow for fuller batches
Browse files Browse the repository at this point in the history
* Change to 3000ms to allow for fuller batches; preference is for full batches over latency
  • Loading branch information
mbonsack authored and GitHub committed Jan 20, 2020
1 parent ba1d03f commit 03aff7d
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" "1000"}})
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 03aff7d

Please sign in to comment.