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

Don't use the reserved host field anymore #26

Closed
widhalmt opened this issue Sep 14, 2018 · 4 comments
Closed

Don't use the reserved host field anymore #26

widhalmt opened this issue Sep 14, 2018 · 4 comments

Comments

@widhalmt
Copy link
Member

In 6.4 versions Elasticsearch invented a reserved nested field host.

When Icingabeat connects directly to Elasticsearch it wants to write into the field host like it has done before. (And like almost any user does :-( ) But Elasticsearch will refuse to write the new data into an index.

Please change icingabeat so it won't write a "host" field anymore.

/ref/NC/558885

@widhalmt
Copy link
Member Author

Here is the interesting part out of the logfile:

"reason":"failed to parse [host]","caused_by":{"type":"illegal_state_exception","reason":"Can't get text on a START_OBJECT at 1:49"}}

Can't paste all of the log because there's some company data in it.

@bobapple
Copy link
Member

This may be related to #25

@5nafu
Copy link

5nafu commented Sep 14, 2018

I had this issue when downgrading to 6.1.1 as well (with Elastic 5.5), but this was due to the fact that there are two field definitions for "host" in the icingabeat template. I first changed only one instance and got this issue.

@bobapple
Copy link
Member

I moved all icinga related fields to an icinga group, this will solve the issue.

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

3 participants