-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thousands of duplicate events #50
Comments
This is the output of siem.py while running:
Every time I run, I see the message "No datetime found, defaulting to last 12 hours for results" even though the file The URLs are exactly the same and they continue to appear (about twice per second) until I kill siem.py. My log file (sophos-central-events.txt) grew to 12 gb when running it for the first time because I didn't realize it was duplicating events. |
Thanks @apreheim. We are taking a look at this. Can you please paste the contents of the state JSON file with any sensitive information redacted? |
@RKAMAT Sure thing: siem_sophos.json
|
Notes:
|
@RKAMAT Any other info I can grab for you on this issue? |
Thanks @apreheim. At this point, we are looking at reproducing and debugging the issue. I'll let you know if we need more info from you. Thanks for your patience and cooperation on this! |
This issue can easily be fixed by moving the line |
When I run this script it continually pulls events from the last 12 hours which creates thousands of duplicate events in Splunk. It appears that it's not checking the state file since it shows "No datetime found, defaulting to last 12 hours for results" every time I run it.
I'm running Python 3.8, but I've tried Python 3.6 with the same results.
I'm using the instructions provided here to get this data into Splunk: https://splunkbase.splunk.com/app/4647/#/details
The text was updated successfully, but these errors were encountered: