Skip to content

Commit

Permalink
Merge pull request #343 from splunk/fix/ubiquity_test
Browse files Browse the repository at this point in the history
Update Ubiquiti test to include search for host
  • Loading branch information
Ryan Faircloth authored and GitHub committed Mar 12, 2020
2 parents 3ed1d6a + 9fc968b commit 184bf76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ubiquiti_unifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_ubiquiti_unifi_us8p60(record_property, setup_wordlist, setup_splunk, se
sendsingle(message, setup_sc4s[0], setup_sc4s[1][514])

st = env.from_string("search _time={{ epoch }} index=netops sourcetype=ubnt:switch \"{{key}}\"")
search = st.render(epoch=epoch)
search = st.render(epoch=epoch, key=host)

resultCount, eventCount = splunk_single(setup_splunk, search)

Expand Down

0 comments on commit 184bf76

Please sign in to comment.