Splunk Search

Value pairs are not automatically being parsed.

hjs123
New Member

Hey guys,

Splunk value pairs are not being automatically parsed. for example

USER=obama
AGE=18

should automatically fieldify "USER", "AGE". but not doing that. I check different conf for any changes in default/props.conf & default/transforms.conf, but can't find any issues.

Any ideas? gurus?

Tags (1)
0 Karma

vidda42
Explorer

Hey !

You can deal with Transforms/Extract.

1) Create a Transform with :

- Regex : (\w+)=([\w\d]+)
- Source Key : _raw
- Format : $1::$2

2) Associate that Transform with an Extract pointing to your source.

& you're done ! 🙂

David

0 Karma

sdaniels
Splunk Employee
Splunk Employee

Can you post the full event? Splunk will automatically parse out fieds with the '=' sign only. You could easily make a config change to get comma delimited fields though.

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...