Skip to content

Commit

Permalink
Merge pull request #261 from splunk/fix/zscaler
Browse files Browse the repository at this point in the history
Add timestamp parsing to zscaler log path
  • Loading branch information
Ryan Faircloth authored and GitHub committed Jan 7, 2020
2 parents 277b928 + 51b6e6e commit f860d79
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ log {
source (s_ZSCALER_NSS);
{{- end }}

parser { date-parser(format("%Y-%m-%d %H:%M:%S") template('$(substr "$LEGACY_MSGHDR$MSG" "0" "19")')); };
rewrite {
set("zscaler_nss", value("fields.sc4s_vendor_product"));
subst("^[^\t]+\t", "", value("MESSAGE"), flags("global"));
Expand Down

0 comments on commit f860d79

Please sign in to comment.