Skip to content

Commit

Permalink
Merge pull request #316 from splunk/fix/apic
Browse files Browse the repository at this point in the history
Update test_cisco_apic.py
  • Loading branch information
Ryan Faircloth authored and GitHub committed Feb 10, 2020
2 parents fd050ab + aaaecad commit 59487cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cisco_apic.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_cisco_aci(record_property, setup_wordlist, setup_splunk, setup_sc4s):
host = "{}-{}".format(random.choice(setup_wordlist), random.choice(setup_wordlist))

mt = env.from_string(
"{{ mark }}{% now 'utc', '%b %d %H:%M:%S' %} {{ host }} %LOG_LOCAL0-2-SYSTEM_MSG [F0110][soaking][node-failed][critical][topology/pod-1/node-102/fault-F0110]\n")
"{{ mark }} {% now 'utc', '%b %d %H:%M:%S' %} {{ host }} %LOG_LOCAL0-2-SYSTEM_MSG [F0110][soaking][node-failed][critical][topology/pod-1/node-102/fault-F0110]\n")
message = mt.render(mark="<165>", host=host)
sendsingle(message, setup_sc4s[0], setup_sc4s[1][514])

Expand All @@ -37,7 +37,7 @@ def test_cisco_aci_acl(record_property, setup_wordlist, setup_splunk, setup_sc4s
host = "{}-{}".format(random.choice(setup_wordlist), random.choice(setup_wordlist))

mt = env.from_string(
"{{ mark }}{% now 'utc', '%b %d %H:%M:%S' %} {{ host }} %ACLLOG-5-ACLLOG_PKTLOG unable to locate real message\n")
"{{ mark }} {% now 'utc', '%b %d %H:%M:%S' %} {{ host }} %ACLLOG-5-ACLLOG_PKTLOG unable to locate real message\n")
message = mt.render(mark="<165>", host=host)
sendsingle(message, setup_sc4s[0], setup_sc4s[1][514])

Expand Down

0 comments on commit 59487cd

Please sign in to comment.