Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Conversation

@mhenderson-so
Copy link
Contributor

Elastic 5.x route of /_nodes/_local/stats emits a single IP address,
such as

"ip": "10.7.1.74:9300"

However prior to v5 this is an array:

"ip": [
	"10.7.1.74:9300"
],

We do not use the IP address attribute from this route anywhere in the
collector, so removing it from the JSON decoding stops the error, and has no
impact on the collectors functionality (apart from making it work again).

Elastic 5.x route of `/_nodes/_local/stats` emits a single IP address,
such as

```
"ip": "10.7.1.74:9300"
````

However prior to v5 this is an array:

```
"ip": [
	"10.7.1.74:9300"
],
```

We do not use the IP address attribute from this route anywhere in the
collector, so removing it from the JSON decoding stops the error, and has no
impact on the collectors functionality (apart from making it work again).
@captncraig captncraig merged commit 7d5f9ef into bosun-monitor:master Aug 31, 2017
@mhenderson-so mhenderson-so deleted the Elastic5Bugfix branch September 22, 2017 15:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants