No data on graphs

My marvel plugin was working fine until the license was 2 days from expiring. I installed the trial license from the web page and everything was great. Then I noticed the graphs were no longer generating and I was not getting any data on index rate. I sent a request for a new basic license and uploaded the downloaded json file as per the instructions and still no info on the displays. See below:

Does the trial version not generate graph info or index rate information?

The trial version has extra features that do not exist with the basic version. However, it should still collect and draw data.

Because the trial license actually allows more functionality than the basic license, it is necessary to acknowledge the license change when you submit the license update.

It's the difference between:

curl -XPUT host:9200/_license -d @license.json

and

curl -XPUT host:9200/_license?acknowledge -d @license.json

Can you verify that you have installed the basic license by fetching your license and checking its "type":

curl -XGET host:9200/_license

My assumption is that the trial license is still installed, but it has expired.

Hope that helps,
Chris

should I just issue "/bin/logstash-plugin remove license"

I already uploaded and acknowledged the license on my master node and restarted every node in the cluster

should I just issue "/bin/logstash-plugin remove license"

No. Logstash shouldn't be involved with or impacting Marvel.

I already uploaded and acknowledged the license on my master node and restarted every node in the cluster

You don't actually need to restart your cluster after updating your license for Marvel. Downgrading the license does impact other plugins, like Watcher, Shield, and Graph, but not Marvel.

What's the output of this command against your host?

$ curl -XGET host:9200/_license

Feel free to exclude the uid field, but it should look something like this:

{
  "license" : {
    "status" : "active",
    "uid" : "0a98411f-73f4-4c67-954c-724874ed5488",
    "type" : "trial",
    "issue_date" : "2015-10-13T18:18:20.709Z",
    "issue_date_in_millis" : 1444760300709,
    "expiry_date" : "2015-11-12T18:18:20.709Z",
    "expiry_date_in_millis" : 1447352300709,
    "max_nodes" : 1000,
    "issued_to" : "elasticsearch",
    "issuer" : "elasticsearch"
  }
}

Let me know,
Chris

Sorry i know it has nothing to do with logstash I've been doing updates all day and logstash was on the brain.

As requested
{
"license" : {
"status" : "active",
"uid" : "XXXXXXXXXXXXXXXXXXXXXXXXXx",
"type" : "basic",
"issue_date" : "2016-04-27T00:00:00.000Z",
"issue_date_in_millis" : 1461715200000,
"expiry_date" : "2017-06-23T23:59:59.999Z",
"expiry_date_in_millis" : 1498262399999,
"max_nodes" : 100,
"issued_to" : "XXXXXXXXXXXXXX",
"issuer" : "Web Form"
}
}

should I remove the trial license. I didn't remove the plugin I installed when I first installed marvel

Interesting. You definitely have a Basic license installed. I wonder, which version of Kibana are you running? Kibana 4.2 - 4.4 by chance?

should I remove the trial license. I didn't remove the plugin I installed when I first installed marvel

No, the license plugin is what enables licensing -- regardless of the license.

I have kibana 4.5

Anything further to check. I know data is going into the cluster but I don't get any details on the graphs. Is there any other way to see indexing speed?

Hi Tim,

Sorry, yes. Let's check the version of the Marvel plugin within Kibana itself. Unfortunately until the next release it won't actually report it anywhere, so you have to check a file manually.

Check the file at

${KIBANA_HOME}/installedPlugins/marvel/package.json

The version field should be the same as your ES cluster ("2.3.3"). Let me know what you find here.

Let me know,
Chris

sorry for the delay:

here is the verion block from the file you asked for:

 "name": "marvel",
 "version": "2.3.3",
 "repository": {
  "type": "git",
  "url": "http://github.com/elasticsearch/elasticsearch-marvel.git"

And this mornig I just received this error:

Marvel: Cannot read property 'license' of undefined
Version: 4.5.0
Build: 9889
TypeError: Cannot read property 'license' of undefined
    at http://localhost/bundles/marvel.bundle.js?v=9889:93852:31
    at processQueue (http://localhost/bundles/commons.bundle.js?v=9889:41836:29)
    at http://localhost/bundles/commons.bundle.js?v=9889:41852:28
    at Scope.$eval (http://localhost/bundles/commons.bundle.js?v=9889:43080:29)
    at Scope.$digest (http://localhost/bundles/commons.bundle.js?v=9889:42891:32)
    at Scope.$apply (http://localhost/bundles/commons.bundle.js?v=9889:43188:25)
    at done (http://localhost/bundles/commons.bundle.js?v=9889:37637:48)
    at completeRequest (http://localhost/bundles/commons.bundle.js?v=9889:37835:8)
    at XMLHttpRequest.requestLoaded (http://localhost/bundles/commons.bundle.js?v=9889:37776:10)

Hi Tim,

No worries. This is definitely unusual. I have never seen issues with this part of Marvel. I wonder if somehow its installation got corrupted?

From Kibana, can you remove it / reinstall it?

$ cd ${KIBANA_HOME}
# stop Kibana
$ bin/kibana plugin --remove marvel
$ bin/kibana plugin --install elasticsearch/marvel/2.3.3
# start Kibana

If that doesn't fix it, then I have a more complicated idea of what might be happening, but I'm hopeful that it was just a simple corrupted download.

Let me know

I have to do offline installs because the network has no internet connections. I will download a fresh copy and give it a shot

I think you must have been right with the corrupted download. I deleted the plugin, downloaded and installed a new one, and now all graphs are working again.

Thank you for your time. I really appreciate the assistance.

1 Like