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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...