Hi,
For the context, I ve got an Elasticagent on my rsyslog which forwards raw udp log to my Elasticstack (running as standalone).
I've defined a K-V action in the pipeline to split the message and create the different key=value pairs. When I take a document in the pipeline menu, i got no error and all awaited variables are there.
But, when coming back to the observability, the logs with the "data" key are not visible. below a log sample :
LOG NOK :
<14>1 2022-12-30T16:16:57+01:00 wab sshproxy 12283 - - [SSH Session] session_id="185639b138cb0a1c00505683f34b" client_ip="192.168.200.1" target_ip="rsyslog.secnumcloud" user="toto" device="RSYSLOG" service="SSH" account="toto" type="KBD_INPUT" data="sudo -i"
LOG OK :
<14>1 2022-12-30T16:16:25+01:00 wab sshproxy 12283 - - [SSH Session] session_id="185639b138cb0a1c00505683f34b" client_ip="192.168.200.2" target_ip="rsyslog.secnumcloud" user="toto" device="RSYSLOG" service="SSH" account="toto" type="SESSION_ESTABLISHED_SUCCESSFULLY"
If I remove my K-V, I can find all the logs.
The K-V options are the following :
Field split : " (?=[a-z_-]+=)"
value split : "="
I'm wondering if I could have any hidden special character or if having "data" as a key could be forbidden by design. I ve tried to rename the key "data" in "charac", but i still get the same issue.
I'm really confused since when running the pipeline into the pipeline config menu it's working.
Could someone help me please ? I've probably missed something. Thanks
Pierre