Skip to content

Commit

Permalink
Merge pull request #344 from splunk/fix/lp-startup
Browse files Browse the repository at this point in the history
Startup log path `splunk_indexes.conf` fix
  • Loading branch information
Ryan Faircloth authored and GitHub committed Mar 12, 2020
2 parents 6fdbeb0 + 4da7ae8 commit 3ed1d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/etc/conf.d/log_paths/lp-sc4s_startup.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
log {
source(s_startup_out);

rewrite { r_set_splunk_dest_default(sourcetype("sc4s:events"), index("main"))};
parser {p_add_context_splunk(key("sc4s_events:startup:out")); };
rewrite { r_set_splunk_dest_default(sourcetype("sc4s_events:startup:out"), index("main"))};
parser {p_add_context_splunk(key("sc4s:events")); };

{{- if or (conv.ToBool (getenv "SC4S_DEST_SPLUNK_HEC_GLOBAL" "yes")) (conv.ToBool (getenv "SC4S_DEST_INTERNAL_EVENTS_HEC" "no")) }}
destination(d_hec_internal);
Expand Down

0 comments on commit 3ed1d6a

Please sign in to comment.