wazuhapp dashboards "Not found" error

483 views
Skip to first unread message

Diego Arranz

unread,
Mar 8, 2017, 7:40:33 AM3/8/17
to Wazuh mailing list
Hi all,


 I have a wazuh 2.0 +ELK installation and all look ok. But i have this error on wazuhapp over Kibana when i try to see Dashboards:
{"statusCode":404,"error":"Not Found","message":"Unknown app {{dashboardURL}}"}

Any idea??

Regards

Pedro Sanchez

unread,
Mar 8, 2017, 8:24:19 AM3/8/17
to Diego Arranz, Wazuh mailing list
Hi Diego,

Could you write here what is the exact URL on your browser when accessing Dashboard tab? It's seem related with the URL location we used to load Kibana iframe, if you are using Nginx, SSH Tunnel or some kind of proxy pass maybe the URL at Controller level is wrong.

I have just fixed how we load the iframe, please re-install the App and give us some feedback, we really appreciate it.

Reinstalling App

service kibana stop &&
/usr/share/kibana/bin/kibana-plugin remove wazuh  || true
rm -rf /usr/share/kibana/optimize/* &&
/usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-2.0_5.2.2.zip &&
service kibana start


Thanks for using the App and give us the feedback, we keep working hard every day to improve our ecosystem.


Regards,
Pedro Sanchez. 

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/50ea1f11-37de-4e7f-aeb0-4eb3ff7cdc23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Diego Arranz

unread,
Mar 9, 2017, 2:41:15 AM3/9/17
to Wazuh mailing list
Hi Pedro,

The URL in the browser is:


and the nginx config is:

server {
   listen 80;
   listen [::]:80;
   return 301 https://$host$request_uri;
}

server {
   listen *:443;
   listen [::]:443;

   server_name "xxxx.local";

   ssl on;
   ssl_certificate /etc/ssl/certs/kibana-access.pem;
   ssl_certificate_key /etc/ssl/private/kibana-access.key;

   access_log /var/log/nginx/kibana.access.log;
   error_log /var/log/nginx/kibana.error.log;

   location ~ (/|/app/kibana|/bundles/|/kibana4|/status|/plugins) {
       proxy_pass http://localhost:5601;
       auth_basic "Restricted";
       auth_basic_user_file /etc/nginx/conf.d/kibana.htpasswd;
   }
}


With the 2.0_5.2.2 version run well. No errors at the moment.

Thank you.

Regards,


Pedro Sanchez

unread,
Mar 9, 2017, 8:06:14 AM3/9/17
to Diego Arranz, Wazuh mailing list
Hi again Diego,

Glad to know your App is properly working, some times when Using Nginx + certs + proxy_pass + App/API the URL's generated by Wazuh app could be tricky, that is why we set up dashboard URL's from absolute to relative to avoid those problems.

Thanks for your feedback.

Regards,
Pedro.

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages