-
Notifications
You must be signed in to change notification settings - Fork 11
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
[BUG] cannot add account into instance configuration #97
Comments
Hello, Thank you |
Hello |
Hello,
Because the platform is one of those I don´t have admin permission, so I am
asking for the internal logs about this addon´s errors or warnings, so I
could give you a feedback.
With best regards
…On Sat, Sep 14, 2024 at 8:04 AM LmR ***@***.***> wrote:
Hello
Any update on your side ?
—
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3WILUXB3U3SZBPVKJGU47DZWPGVVAVCNFSM6AAAAABMX6O4DGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJQHA3DGNRZGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello, |
Hello, The instance still not added into the table. When we searched the errors for this TA, we got following error message: ERROR AdminManagerExternal [1837517 TcpChannelThread] - Stack trace from python handler:\nTraceback (most recent call last):\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunktaucclib/rest_handler/handler.py", line 117, in wrapper\n for name, data, acl in meth(self, *args, **kwargs):\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunktaucclib/rest_handler/handler.py", line 172, in all\n **query\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunklib/binding.py", line 291, in wrapper\n return request_fun(self, *args, **kwargs)\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunklib/binding.py", line 72, in new_f\n val = f(*args, **kwargs)\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunklib/binding.py", line 697, in get\n response = self.http.get(path, all_headers, **query)\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunklib/binding.py", line 1230, in get\n return self.request(url, { 'method': "GET", 'headers': headers })\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunklib/binding.py", line 1302, in request\n raise HTTPError(response)\nsplunklib.binding.HTTPError: HTTP 404 Not Found -- b'{"messages":[{"type":"ERROR","text":"Not Found"}]}'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/opt/splunk/lib/python3.7/site-packages/splunk/admin.py", line 114, in init_persistent\n hand.execute(info)\n File "/opt/splunk/lib/python3.7/site-packages/splunk/admin.py", line 647, in execute\n if self.requestedAction == ACTION_LIST: self.handleList(confInfo)\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunk_aoblib/rest_migration.py", line 39, in handleList\n AdminExternalHandler.handleList(self, confInfo)\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunktaucclib/rest_handler/admin_external.py", line 51, in wrapper\n for entity in result:\n File "/opt/splunk/etc/apps/TA-thehive-cortex/bin/ta_thehive_cortex/aob_py3/splunktaucclib/rest_handler/handler.py", line 122, in wrapper\n raise RestError(exc.status, str(exc))\nsplunktaucclib.rest_handler.error.RestError: REST Error [404]: Not Found -- HTTP 404 Not Found -- b'{"messages":[{"type":"ERROR","text":"Not Found"}]}'\n |
We saved the account, but cannot correctly use the button "add an instance" into lookup table. |
I don’t get what you mean |
Hello, some points found for this addon:
|
Hello Lookups are forbidden by Splunkbase in applications so we can't create this upfront. If the file doesn't exist, the python script will be creating it. Thanks for the 3rd comment, I'll check that. |
Hello |
Thank you for your comment, I found why the record not inserted into lookup. The comment field was missing, so the lookup table never there. |
Request Type
Bug
Work Environment
Problem Description
Describe your problem here
Steps to Reproduce
Possible Solutions
Logs (issued from the search.log with logging mode set to DEBUG under Settings/Configuration)
The text was updated successfully, but these errors were encountered: