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

SELKS + WAZUH error #240

Closed
naal71 opened this issue Jun 24, 2020 · 7 comments
Closed

SELKS + WAZUH error #240

naal71 opened this issue Jun 24, 2020 · 7 comments

Comments

@naal71
Copy link

naal71 commented Jun 24, 2020

Hello,

Cloud you help me, please... I'm desperated
I'm trying to use WAZUH but it is becoming impossible...

I'm getting the same error always when try to load on kibana:

Request failed with status code 404 (/hosts/apis)

Cannot initialize Settings

I tried to use https with stamus self signed certificates.

And in this is the menu:
image

This seems normal
image

Maybe something in nginx?

Thanks in advance!!!

@naal71
Copy link
Author

naal71 commented Jun 24, 2020

Two more images explaining:

image
image

@pevma
Copy link
Member

pevma commented Jun 24, 2020

I think you might need to add
'/hosts/apis' tot he nginx config and restart nginx - as explained here - #238 (comment)

@naal71
Copy link
Author

naal71 commented Jun 29, 2020

I write this in the sites-enabled/selks6.conf
image

And now Im getting this error:

image

@naal71
Copy link
Author

naal71 commented Jun 29, 2020

Wow!!!! I did nothing and now Its working:

image

Thanks

@naal71
Copy link
Author

naal71 commented Jun 29, 2020

Hello again,

The problem is not resolved....

I think that is working partialy... I think that wazuh Its not conecting to elastic index...

@naal71
Copy link
Author

naal71 commented Jun 29, 2020

Hey I solved the problem.

I updated the system to 7.8.0 version.

Then I modify /etc/nginx/sites-enabled/selks6.conf

location /hosts {
proxy_pass http://127.0.0.1:5601/hosts;
proxy_redirect off;
}

location /app/kibana {
proxy_pass http://127.0.0.1:5601/app/kibana;
proxy_redirect off;
}

location /utils/configuration {
proxy_pass http://127.0.0.1:5601/utils/configuration;
proxy_redirect off;
}

location /31997 {
proxy_pass http://127.0.0.1:5601/31997;
proxy_redirect off;
}

location /app/wazuh {
proxy_pass http://127.0.0.1:5601/app/wazuh;
proxy_redirect off;
}

location /elastic {
proxy_pass http://127.0.0.1:5601/elastic;
proxy_redirect off;
}

Check the brackets if you are doing copy & paste....

Then restart nginx & kibana and the magic will work...

@naal71 naal71 closed this as completed Jun 29, 2020
@pevma
Copy link
Member

pevma commented Jun 29, 2020

Thank you for the feedback !

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

No branches or pull requests

2 participants