Skip to content

Commit

Permalink
Merge pull request #474 from splunk/fix/cisco-bad-host
Browse files Browse the repository at this point in the history
Fix incorrect population of host in cisco_syslog sourcetype when host is not in the event
  • Loading branch information
Ryan Faircloth authored and GitHub committed May 19, 2020
2 parents 220c37b + e483a89 commit c102bb7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package/etc/conf.d/filters/cisco/cisco_syslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ parser cisco-parser-ex{
"${6}",
value("MESSAGE")
);
set(
"${HOST_FROM}"
value("HOST")
condition(not host("."))
);
};
} else {
# All other cisco syslog
Expand Down

0 comments on commit c102bb7

Please sign in to comment.