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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...