Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin does not work with Elasticsearch 5.5 #534

Open
leandrocostam opened this issue Aug 22, 2017 · 2 comments
Open

Plugin does not work with Elasticsearch 5.5 #534

leandrocostam opened this issue Aug 22, 2017 · 2 comments

Comments

@leandrocostam
Copy link

Hi,

I am trying to set up the plugin to monitor a cluster of Elasticsearch (ES). The plugin worked well using Elasticsearch 1.x or 2.x. But when I tried to configure to use ES 5.5, I faced an error:

ERROR      2017-08-22 13:53:25,866 25520  MainProcess     MainThread newrelic_plugin_agent.plugins.base            http_get                  L354   : Error response from http://192.168.29.140:9200/_nodes/stats?all (400): {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/_nodes/stats] contains unrecognized parameter: [all]"}],"type":"illegal_argument_exception","reason":"request [/_nodes/stats] contains unrecognized parameter: [all]"},"status":400}

On my research, I found the new command to execute ES API:

curl -XGET 'http://192.168.29.140:9200/_nodes/stats/_all'

The problem is with ?all and /_all on the end of HTTP request. Is there any plan to correct the plugin to work with ES 5.5?

@marcossegovia
Copy link

Having the same trouble !

@marcossegovia
Copy link

Did you manage to fix it? @leandrocostam ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants