Skip to content

Commit

Permalink
Update Ubiquiti test to include search for host
Browse files Browse the repository at this point in the history
* Update Ubiquiti test to include search for host
  • Loading branch information
Mark Bonsack committed Mar 11, 2020
1 parent 6fdbeb0 commit 9fc968b
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 9fc968b

Please sign in to comment.