From 222febaf480ffe1d354499c8086ba2c57509125d Mon Sep 17 00:00:00 2001 From: rfaircloth-splunk Date: Wed, 17 Jun 2020 15:59:42 -0400 Subject: [PATCH] Update test_common.py --- tests/test_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_common.py b/tests/test_common.py index 625d374..b0b65b1 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -144,7 +144,7 @@ def test_fix_dns(record_property, setup_wordlist, setup_splunk, setup_sc4s): sendsingle(message, setup_sc4s[0], setup_sc4s[1][514]) - st = env.from_string("search _time={{ epoch }} host=dns.google index=osnix \"[{{ pid }}]\" {{ host }} sourcetype=\"nix:syslog\"") + st = env.from_string("search _time={{ epoch }} host=dns index=osnix \"[{{ pid }}]\" {{ host }} sourcetype=\"nix:syslog\"") search = st.render(epoch=epoch, pid=pid, host=host) resultCount, eventCount = splunk_single(setup_splunk, search)