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 ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...