By using parse_key_value the key-values are not getting into the output #21824
Replies: 2 comments 1 reply
-
Hi @uni-pooja-laad, A few things that might help here. The logs intake API expects something like this, specifically this line:
Also, see this playground example:
The JSON sample you provided correctly specifies the
The above allows you to access the individual tags by keys e.g.
|
Beta Was this translation helpful? Give feedback.
-
It worked by assigning parsed values to new variable and then using it:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,


in contineousion of https://discord.com/channels/742820443487993987/1288128207111065650/1295892531246268540
I am using remap with parse_key_value. The vector configuration file attached. The log coming from datadog_agent attached in the file orch_swepper_logs.yaml.
In Datadog it is appearing without tags attached screenshot. (filename: after.png)
Before applying this remap, the tags were getting properly, that Screenshot too attached(filename: before.png)
Why this is happening? I just used it to parse ddtags key and fetch kube_namespace from it to match with the condition.
orch_swepper_logs.json
vector-config-ai.txt
Attaching vector-config-ai as txt as json format not supported here.
Beta Was this translation helpful? Give feedback.
All reactions