Splunk Enterprise

Insert hex char in SEDCMD

biagiodipalma
Explorer

Hi there,

I want to append a null frame char (x00) to my raw logs intercepted by props stanza. How can I solve this?

I tried to insert strings like:

  • SEDCMD
  • REGEX = (.*)  followed by FORMAT

Any hints?

 

0 Karma

biagiodipalma
Explorer

This not worked for me, just for explaining: logs are intercepted by stanza in props and sent as syslogs. I need to insert \x00 at the end of each log in order to say to receiver that the log is over and to wait for another one. Now the receiver waits for other logs.. 

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@biagiodipalma 

Are you looking for this?

[YOUR_SOURCETYPE]
SEDCMD-a=s/$/x00/g
.
.
.

Thanks
KV
▄︻̷̿┻̿═━一

If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated. 

0 Karma
Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...