This repository has been archived by the owner on Apr 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Unable to store reports http 404 #40
Comments
The 404s you're seeing are normal. It's the add-on checking if some new email has already been imported by checking the KVstore. Since you're looking at the DEBUG log these micro actions show up but are not indicative of failure. Below are INFO-level logs that show a happy path. This is on a clean Splunk install so it will fetch all emails before processing. You can use it to compare to your logs. This will probably help you pinpoint where things stop, slow-down or break so you can look for the real root cause.
After this, the add-on will start process the downloaded attachments. It then starts logging |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I am trying to get dmarc reports from IMAP using the master version (as the current version from splunkbase wasn't working) without any success.
So far, i tried App Version 3.2.4 and App Version 3.2.5, each time trying kv store and json
Splunk HF : 8.2.2.1
TA-dmarc App Version 3.2.5
Here is a quick debug from the log file while trying to get results in json mode :
2021-12-16 16:17:36,746 INFO pid=2559 tid=MainThread file=base_modinput.py:log_info:295 | get_dmarc_messages: 10898 messages in folder INBOX match subject "Report domain:"
2021-12-16 16:17:36,747 INFO pid=2559 tid=MainThread file=splunk_rest_client.py:_request_handler:105 | Use HTTP connection pooling
2021-12-16 16:17:36,747 DEBUG pid=2559 tid=MainThread file=binding.py:get:677 | GET request to https://127.0.0.1:8089/servicesNS/nobody/TA-dmarc/storage/collections/config/TA_dmarc_checkpointer (body: {})
2021-12-16 16:17:36,749 DEBUG pid=2559 tid=MainThread file=connectionpool.py:_new_conn:959 | Starting new HTTPS connection (1): 127.0.0.1:8089
2021-12-16 16:17:36,755 DEBUG pid=2559 tid=MainThread file=connectionpool.py:_make_request:437 | https://127.0.0.1:8089 "GET /servicesNS/nobody/TA-dmarc/storage/collections/config/TA_dmarc_checkpointer HTTP/1.1" 200 5287
2021-12-16 16:17:36,756 DEBUG pid=2559 tid=MainThread file=binding.py:new_f:73 | Operation took 0:00:00.008821
2021-12-16 16:17:36,756 DEBUG pid=2559 tid=MainThread file=binding.py:get:677 | GET request to https://127.0.0.1:8089/servicesNS/nobody/TA-dmarc/storage/collections/config/ (body: {'count': -1, 'offset': 0, 'search': 'TA_dmarc_checkpointer'})
2021-12-16 16:17:36,759 DEBUG pid=2559 tid=MainThread file=connectionpool.py:_make_request:437 | https://127.0.0.1:8089 "GET /servicesNS/nobody/TA-dmarc/storage/collections/config/?count=-1&offset=0&search=TA_dmarc_checkpointer HTTP/1.1" 200 4439
2021-12-16 16:17:36,759 DEBUG pid=2559 tid=MainThread file=binding.py:new_f:73 | Operation took 0:00:00.003181
2021-12-16 16:17:36,760 DEBUG pid=2559 tid=MainThread file=binding.py:get:677 | GET request to https://127.0.0.1:8089/servicesNS/nobody/TA-dmarc/storage/collections/data/TA_dmarc_checkpointer/imaps.XxXxXxX_181196 (body: {})
2021-12-16 16:17:36,763 DEBUG pid=2559 tid=MainThread file=connectionpool.py:_make_request:437 | https://127.0.0.1:8089 "GET /servicesNS/nobody/TA-dmarc/storage/collections/data/TA_dmarc_checkpointer/imaps.XxXxXxX_181196 HTTP/1.1" 404 140
2021-12-16 16:17:36,763 DEBUG pid=2559 tid=MainThread file=binding.py:get:677 | GET request to https://127.0.0.1:8089/servicesNS/nobody/TA-dmarc/storage/collections/data/TA_dmarc_checkpointer/imaps.XxXxXxX_181197 (body: {})
2021-12-16 16:17:36,765 DEBUG pid=2559 tid=MainThread file=connectionpool.py:_make_request:437 | https://127.0.0.1:8089 "GET /servicesNS/nobody/TA-dmarc/storage/collections/data/TA_dmarc_checkpointer/imaps.XxXxXxX_181197 HTTP/1.1" 404 140
2021-12-16 16:17:36,766 DEBUG pid=2559 tid=MainThread file=binding.py:get:677 | GET request to https://127.0.0.1:8089/servicesNS/nobody/TA-dmarc/storage/collections/data/TA_dmarc_checkpointer/imaps.XxXxXxX_181198 (body: {})
2021-12-16 16:17:36,768 DEBUG pid=2559 tid=MainThread file=connectionpool.py:_make_request:437 | https://127.0.0.1:8089 "GET /servicesNS/nobody/TA-dmarc/storage/collections/data/TA_dmarc_checkpointer/imaps.XxXxXxX_181198 HTTP/1.1" 404 140
Thanks for your help
The text was updated successfully, but these errors were encountered: