influxdata / influxdata/kapacitor

kapacitor event format

Open
#1,835 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

is there any way, I can translate or edit a kapacitor event :

what am getting :

{"id":"KAPHOST","message":"{\"EventType\" : \"Service\",\"TicketingInstance\":\"ServiceName\",\"Source\":\"Influx\",\"Host\":\"HOSTNAME\",\"NetworkDevice\":\"HOSTNAME\",\"Summary\":\"KAPHOST :: OK :: ServiceName Status of service, current value is: 4.00 \",\"Severity\":}","details":"","time":"2018-03-06T16:05:58Z","duration":119000000000,"level":"OK","data":{"series":[{"name":"NAME","tags":{"host":"HOSTNAME"},"columns":["time","S1","S2","S3","S4","S5","S6","S7","last"],"values":[["2018-03-06T16:05:58Z",4,4,4,4,4,4,4,4]]}]},"previousLevel":"CRITICAL"}

looking for :
{\"EventType\" : \"Service\",\"TicketingInstance\":\"ServiceName\",\"Source\":\"Influx\",\"Host\":\"HOSTNAME\",\"NetworkDevice\":\"HOSTNAME\",\"Summary\":\"KAPHOST :: OK :: ServiceName Status of service, current value is: 4.00 \",\"Severity\":}

anyway to change to this format?

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by tracing how Kapacitor constructs and emits the event payload, then determine whether the requested reduced format is supported; done requires a documented or implemented way to produce that format.

Written by the indexing model from the issue text.

Assessment

Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.