error":"Content-Type header [application/x-www-form-urlencoded] is not supported"

Hi

I am running a 7.6.0 version of ELK on CentOS Linux release 7.7.1908 (Core). I have downloaded beats-dashboards-1.3.1.zip using wget https://download.elastic.co/beats/dashboards/beats-dashboards-1.3.1.zip cd /root/beats-dashboards-1.3.1 and when i try to do ./load.sh -url "http://localhost:9200". I am facing the below issue

#./load.sh -url "http://localhost:9200"
Loading dashboards to http://localhost:9200 in .kibana_1
{"acknowledged":true,"shards_acknowledged":true,"index":".kibana_1"}{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}Loading search Cache-transactions:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading search DB-transactions:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading search Default-Search:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization DB-transactions:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization Disk-usage:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization Disk-usage-overview:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization Disk-utilization-over-time:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization Errors-count-over-time:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization Errors-vs-successful-transactions:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization Event-Levels:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization Evolution-of-the-CPU-times-per-process:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization HTTP-codes-for-the-top-queries:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading visualization HTTP-error-codes-evolution:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading dashboard Thrift-performance:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading dashboard Topbeat-Dashboard:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading dashboard Winlogbeat-Dashboard:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading index pattern filebeat-*:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading index pattern packetbeat-*:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading index pattern topbeat-*:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
Loading index pattern winlogbeat-*:
{"error":"Content-Type header [application/x-www-form-urlencoded] is not supported","status":406}
# curl -v "http://localhost:9200/_cat/indices"
* About to connect() to localhost port 9200 (#0)
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 9200 (#0)
> GET /_cat/indices HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:9200
> Accept: */*
>
< HTTP/1.1 200 OK
< content-type: text/plain; charset=UTF-8
< content-length: 246
<
green  open .kibana_task_manager_1   I6x5tPpJQEaF7Eq5ubqCBA 1 0 2 2 20.6kb 20.6kb
green  open .apm-agent-configuration czAX-IDGSX2cs5ZksGWgAg 1 0 0 0   283b   283b
yellow open .kibana_1                0rL_7IUsSvacJ8-eyyeUsQ 1 1 0 0   230b   230b
* Connection #0 to host localhost left intact
#

ELK Version
elasticsearch-7.6.0-1.x86_64
logstash-7.6.0-1.noarch
kibana-7.6.0-1.x86_64

OS Version
CentOS Linux release 7.7.1908 (Core)

Any clue?

Hey @kaushalshriyan,

These beats dashboards are for a very old version of the stack, I don't think they can work with recent versions.

What are you intending to do? If you are trying to install beats dashboards in Kibana, please follow the instructions of the beat you are using. For example for Metricbeat 7.6 you can find the instructions here: https://www.elastic.co/guide/en/beats/metricbeat/7.6/load-kibana-dashboards.html

Hi Jaime,

I am trying to setup Elastic Stack Application logging where all system, /var/log/messages and other application related logs which reside in /var/log directory from the remote client running CentOS 7.7 Linux OS are shipped/pushed to Elastic Stack as Centralised Logging. Using Kibana Dashboard i can query for any exceptions or errors occurring from any of the remote clients.

Please suggest further and i look forward to hearing from you.

Best Regards,

Kaushal

For that you can use filebeat, with the system module enabled, and configured with Elasticsearch as output. Using Logstash in this deployment would make it slightly more complex, and it wouldn't be needed in principle, unless you have other needings.

To install the Kibana dashboards, follow the instructions in https://www.elastic.co/guide/en/beats/metricbeat/7.6/load-kibana-dashboards.html

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