Why did "some" ElasticSearch Dashboards disappeared after upgrade?


(Sabyasachi Ruj) #1

I am using ElasticSearch for indexing logs. I have configured few Kibana
dashboards to periodically check the health of the logs.

I upgraded the ElasticSearch nodes from "" to "". Some of the dashboards in
Kibana have stopped working since the upgrade. The error following error is
shown:

Error Could not find . If you are using a proxy, ensure it is

configured correctly.

Strangely, many other dashboards are working fine. I also noticed if I
search directly in ElasticSearch using query API, all dashboards are being
listed, even those which are throwing 404. But when I try to access them
using the get api, they throw 404.

Example query api where the dashboard is being listed:

curl -XPOST 'https://localhost:9200/kib-int/dashboard/_search' -d 

'{"query":{"bool":{"must":[{"term":{"dashboard.title":"health"}}],"must_not":[],"should":[]}},"from":0,"size":10,"sort":[],"facets":{}}'

Example get api where the document throws 404:

curl -XGET 'https://localhost:9200/kibana-int/dashboard/Log health'

Any idea, what is going wrong?

  • the version of your JVM: java version "1.7.0_55"
  • your local configuration: your operating system: Amazon Linux
  • how many nodes and indices you have: 3 nodes, 15 indices
  • what gateway you are using (eg local, fs, s3 etc): local

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a568355f-9828-407f-8fc2-aa426a24ec02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Sabyasachi Ruj) #2

Sorry. Missed the versions. We upgraded from 1.2.0.1 to 1.3.1.

On Monday, August 11, 2014 5:20:58 PM UTC+5:30, Sabyasachi Ruj wrote:

I am using ElasticSearch for indexing logs. I have configured few Kibana
dashboards to periodically check the health of the logs.

I upgraded the ElasticSearch nodes from "" to "". Some of the dashboards
in Kibana have stopped working since the upgrade. The error following error
is shown:

Error Could not find . If you are using a proxy, ensure it

is configured correctly.

Strangely, many other dashboards are working fine. I also noticed if I
search directly in ElasticSearch using query API, all dashboards are being
listed, even those which are throwing 404. But when I try to access them
using the get api, they throw 404.

Example query api where the dashboard is being listed:

curl -XPOST 'https://localhost:9200/kib-int/dashboard/_search' -d 

'{"query":{"bool":{"must":[{"term":{"dashboard.title":"health"}}],"must_not":[],"should":[]}},"from":0,"size":10,"sort":[],"facets":{}}'

Example get api where the document throws 404:

curl -XGET 'https://localhost:9200/kibana-int/dashboard/Log health'

Any idea, what is going wrong?

  • the version of your JVM: java version "1.7.0_55"
  • your local configuration: your operating system: Amazon Linux
  • how many nodes and indices you have: 3 nodes, 15 indices
  • what gateway you are using (eg local, fs, s3 etc): local

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a383e8bd-bee9-426b-948c-5fba8651d95a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Sabyasachi Ruj) #3

I just tried
this: http://www.elasticsearch.org/blog/tool-help-routing-issues-elasticsearch-1-2-0/

This tool fails with the following error:

$ java -jar elasticsearch-fix-routing-1.0.jar localhost 9300 grafana
copy_if_missing
Aug 11, 2014 1:46:38 PM org.elasticsearch.plugins
INFO: [Donald Pierce] loaded [], sites []
Index: grafana, number of shards: 5
Shard 1/5:
Exception in thread "main"
org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to
execute phase [init_scan], all shards failed; shardFailures
{[OOiRSfRZQweq1HGk8y8G8Q][grafana][0]:
QueryPhaseExecutionException[[grafana][0]:
query[ConstantScore(ScriptFilter(bad-routes))],from[0],size[200]: Query
Failed [Failed to execute main query]]; nested:
PropertyAccessException[[Error: unresolvable property or identifier: bad]
[Near : {... bad-routes ....}]
^
[Line: 1, Column: 1]]; }
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:233)
at
org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.onFailure(TransportSearchTypeAction.java:179)
at
org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:523)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)

On Monday, August 11, 2014 5:31:36 PM UTC+5:30, Sabyasachi Ruj wrote:

Sorry. Missed the versions. We upgraded from 1.2.0.1 to 1.3.1.

On Monday, August 11, 2014 5:20:58 PM UTC+5:30, Sabyasachi Ruj wrote:

I am using ElasticSearch for indexing logs. I have configured few Kibana
dashboards to periodically check the health of the logs.

I upgraded the ElasticSearch nodes from "" to "". Some of the dashboards
in Kibana have stopped working since the upgrade. The error following error
is shown:

Error Could not find . If you are using a proxy, ensure it

is configured correctly.

Strangely, many other dashboards are working fine. I also noticed if I
search directly in ElasticSearch using query API, all dashboards are being
listed, even those which are throwing 404. But when I try to access them
using the get api, they throw 404.

Example query api where the dashboard is being listed:

curl -XPOST 'https://localhost:9200/kib-int/dashboard/_search' -d 

'{"query":{"bool":{"must":[{"term":{"dashboard.title":"health"}}],"must_not":[],"should":[]}},"from":0,"size":10,"sort":[],"facets":{}}'

Example get api where the document throws 404:

curl -XGET 'https://localhost:9200/kibana-int/dashboard/Log health'

Any idea, what is going wrong?

  • the version of your JVM: java version "1.7.0_55"
  • your local configuration: your operating system: Amazon Linux
  • how many nodes and indices you have: 3 nodes, 15 indices
  • what gateway you are using (eg local, fs, s3 etc): local

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ab480ba3-5864-4d5a-8372-c410c93a089a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4