cerebro icon indicating copy to clipboard operation
cerebro copied to clipboard

JsonValidationErrors when opening Overview and Nodes views

Open mkatic opened this issue 3 years ago • 0 comments

Greetings,

I get the following JsonValidationError when i try to open the Overview page on an ES cluster managed by a consulting company (actual response truncated for brevity and privacy):

JsResultException(errors:List((,List(JsonValidationError(List('os' is undefined on object: {\"name\":\"node-master-1-1849...

I also get the following JsonValidationError when i try to open the Nodes pages on that same cluster(actual response truncated for brevity and privacy):

JsResultException(errors:List((,List(JsonValidationError(List('jvm' is undefined on object {\"timestamp\":1621412720963,\"name\":\"node-master-1-1849...

Now, it is quite obvious what the issue is here, there's some missing fields (os, and jvm) in the cluster responses, which are expected by the current JSON validation setup in Cerebro.

But the question is, does Cerebro really, actually need os and jvm fields?

mkatic avatar May 19 '21 08:05 mkatic