Kibana dashboard fails

Hi,

I'm installing ELK by following this tutorial and this one.

I try to use Elasticsearch as search engine by syncing my MySQL and my Mongo DBs to Logstash and then index databases in Elasticsearch. If I use Logstash as intermediate, this is for creating a admin panel where I could see logs and also specific informations about the systems (as CPU, RAM, users per day, etc).

However, I downloaded beats-dashboards-1.3.1, I unzipped it, and I tried to launch it via ./load.sh. And I got this error,

Loading dashboards to http://localhost:9200 in .kibana
{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication token for REST request [/.kibana]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}],"type":"security_exception","reason":"missing authentication token for REST request [/.kibana]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}},"status":401}{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}Loading search Cache-transactions:

Followed by a list of errors like this one (all the JSON files listed in /beats-dashboards-1.3.1/dashboards/visualization),

Loading search DB-transactions:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}

I also verified my kibana's user and password by using curl -XGET -u kibana 'http://localhost:9200/'

Can anyone help me ?

Thanks for the help !

Did you configure the Elasticsearch authentication in Beats before importing the dashboards?

Hi thank you for your reply. Yes I did it and I found the solution. I had to launch via ./load.sh -u usr:pass

Also, I didn't realise that beats-dashboards is obsolete. I followed an old tutorial (2016) which is incompatible with the new version (6.2.0). So I installed Beats with Metricbeat and everything seems fine.

Thank you for your interest

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.