Beats: Heartbeat check custom fields

Created on 20 Feb 2017  路  6Comments  路  Source: elastic/beats

It would be beneficial to support custom fields for individual checks in Heartbeat. For instance, it would be good to be able to have an environment field for the check. Right now we have to stuff this data in the name field which is not convenient for aggregation purposes.

Heartbeat bug

Most helpful comment

TODO: Add support for tags and fields per monitor, as supported by the other beats.

All 6 comments

TODO: Add support for tags and fields per monitor, as supported by the other beats.

@urso, I would be interested into contributing on this issue. Is it possible to mark it as adopt me?

@glefloch no need for the adopt me flag. Just go for it :-D Leave a quick comment here when you start working on it so people know that it's in progress.

ok, then, I start working on it. :)

Any contribution is very welcome ;)

I'd say you want to have a look at the annotated function in util.go.

Note, we're doing some event format update according to #3406 also touching the same function. Just to give you a warning that some merge conflict might come up (easily resolvable via rebase). We can help in PR if this happens.

Great, thank you.

I will be careful when pushing my changes.

Was this page helpful?
0 / 5 - 0 ratings