Skip to content
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

Error connecting to Wazuh API #956

Closed
spothound opened this issue Mar 11, 2021 · 0 comments · Fixed by #965
Closed

Error connecting to Wazuh API #956

spothound opened this issue Mar 11, 2021 · 0 comments · Fixed by #965
Labels
type/bug Bug issue

Comments

@spothound
Copy link

spothound commented Mar 11, 2021

Wazuh Splunk Rev
v4.0.4 Splunk 8.1.1 (build 08187535c166) 67

Tested on Ubuntu 20

Description
With the current version of the plugin, it is impossible to connect with the Wazuh Manager's

/opt/splunk/var/log/splunk/splunkd.log

03-11-2021 19:34:04.865 +1200 ERROR ExecProcessor - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/SplunkAppForWazuh/bin/check_queue.py"     from ..appserver.controllers import wazuhtoken
03-11-2021 19:34:04.865 +1200 ERROR ExecProcessor - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/SplunkAppForWazuh/bin/check_queue.py" ImportError: attempted relative import with no known parent package
03-11-2021 19:34:19.848 +1200 ERROR ExecProcessor - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/SplunkAppForWazuh/bin/check_queue.py" Traceback (most recent call last):
03-11-2021 19:34:19.848 +1200 ERROR ExecProcessor - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/SplunkAppForWazuh/bin/check_queue.py"   File "/opt/splunk/etc/apps/SplunkAppForWazuh/bin/check_queue.py", line 16, in <module>
03-11-2021 19:34:19.848 +1200 ERROR ExecProcessor - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/SplunkAppForWazuh/bin/check_queue.py"     from ..appserver.controllers import wazuhtoken
03-11-2021 19:34:19.848 +1200 ERROR ExecProcessor - message from "/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/SplunkAppForWazuh/bin/check_queue.py" ImportError: attempted relative import with no known parent package

Steps to reproduce
Just install the plugin and try to connect with the Wazuh Manager's API.

Screenshots
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants