Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
fix(splunk): Update source type
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 3, 2021
1 parent 13375ef commit 6308857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splunk_connect_for_snmp_traps/manager/hec_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def post_data_to_thread_pool(self, variables_binds):
headers = {
"Authorization": f"Splunk {self._hec_config.get_authentication_token()}"
}
data = {"sourcetype": "trap-server", "event": variables_binds}
data = {"sourcetype": "sc4snmp:traps", "event": variables_binds}
try:
session = self.get_session()
for endpoint in self._hec_config.get_endpoints():
Expand Down

0 comments on commit 6308857

Please sign in to comment.