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!

Enterprise Security Content Update (ESCU) | New Releases

In September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...