Getting Data In

passing of events field with spaces

swetar
New Member

Hi,
I wanted to display Message in message field value. I wanted to do the set up in prof.conf. Can anyone please help me in this?
MESSAGE=PPQR14142 PghZDxfscbn :ascasc12 are the code
MESSAGE=JKhjagsdh QSL:ghjgfhs :XXXXX101 are the next code

Thanks

Tags (2)
0 Karma

jplumsdaine22
Influencer

The best way to handle this is to have double quotes in your event. IE make it something like

MESSAGE="PPQR14142 PghZDxfscbn :ascasc12"

Otherwise build a regex extraction with the field extractor: http://docs.splunk.com/Documentation/Splunk/7.1.2/Knowledge/ExtractfieldsinteractivelywithIFX

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...