i have an Ubuntu 16.04 VM running ELK stack.
installed an older versions of elastic, kibana, lostash and wrote an index to pull data from a MySQL database. it worked.
updated kibana and elastic to 5.1.2 and logstash to 5. something
added xpack to kibana and elastic
disabled security (this is only a proof of concept)
updated the xpack license
now the graph plugin doesnt work; its not present in Kibana UI.
logstash logs show no errors and that data is being pulled from the database.
i have the free BASIC license: no sure if this is a problem:
ubuntu@ubuntu-VirtualBox:~$ curl -XGET localhost:9200/.monitoring-es-2-2017.01.17?pretty
{
"error" : {
"root_cause" : [
{
"type" : "index_not_found_exception",
"reason" : "no such index",
"resource.type" : "index_or_alias",
"resource.id" : ".monitoring-es-2-2017.01.17",
"index_uuid" : "na",
"index" : ".monitoring-es-2-2017.01.17"
}
],
"type" : "index_not_found_exception",
"reason" : "no such index",
"resource.type" : "index_or_alias",
"resource.id" : ".monitoring-es-2-2017.01.17",
"index_uuid" : "na",
"index" : ".monitoring-es-2-2017.01.17"
},
"status" : 404
}
from the elasticsearch log:
[2017-02-03T09:56:20,470][ERROR][o.e.x.m.AgentService ] [v2HOWFX] exception when exporting documents
org.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flush export bulks
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk$Compound.doFlush(ExportBulk.java:148) ~[x-pack-5.1.2.jar:5.1.2]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk.close(ExportBulk.java:77) ~[x-pack-5.1.2.jar:5.1.2]
at org.elasticsearch.xpack.monitoring.exporter.Exporters.export(Exporters.java:183) ~[x-pack-5.1.2.jar:5.1.2]
at org.elasticsearch.xpack.monitoring.AgentService$ExportingWorker.run(AgentService.java:208) [x-pack-5.1.2.jar:5.1.2]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: org.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flush export bulk [default_local]
at org.elasticsearch.xpack.monitoring.exporter.local.LocalBulk.doFlush(LocalBulk.java:114) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk.flush(ExportBulk.java:62) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk$Compound.doFlush(ExportBulk.java:145) ~[?:?]
... 4 more
Caused by: org.elasticsearch.xpack.monitoring.exporter.ExportException: bulk [default_local] reports failures when exporting documents
at org.elasticsearch.xpack.monitoring.exporter.local.LocalBulk.throwExportException(LocalBulk.java:121) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.local.LocalBulk.doFlush(LocalBulk.java:111) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk.flush(ExportBulk.java:62) ~[?:?]
at org.elasticsearch.xpack.monitoring.exporter.ExportBulk$Compound.doFlush(ExportBulk.java:145) ~[?:?]
... 4 more