Splunk Search

How to parse my sample raw data to so I can search for Parameter=SomeValue in Splunk?

Stevelim
Communicator

Not exactly sure how to phrase this, but how can I remodel my data input via Splunk?

For example, my raw data looks like this:

Tag= Parameter Value =2 

Parameter = 2 in Splunk such that I can search for Parameter = Some Value

0 Karma

sundareshr
Legend

In your transforms.conf, add this

[unique_stanza_name]
REGEX = Tag=\s?(\w+)\s+Value\s?=(\d+)
FORMAT = $1::$2

Here's more on how that works

0 Karma

Stevelim
Communicator

Hey Sundaresh,

I tried this out with a restart, I didnt notice anything. Also, i added the transforms.conf under etc/system/local

Am I doing this right?

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