Getting Data In

EXTRACT repeatable values from 1 event

sadon
Explorer

I have an event in follow format:

param_c="%s"
param_b="%d"
param_c="intrested data"
param_b="1200"

When in insert
KV_MODE=MULTI into props.conf
i have get:

FIELD: PARAM_C___C
VALUE: PARAM_C="intersted data" 

KV_MODE=auto:

PARAM_C="%C"

How i can get my "intrested" data in search-time index?

Tags (2)
0 Karma

sadon
Explorer

Oh! great!
sed is a very usefull command

I add to sourcetype in props.conf

SEDCMD = s/PARAM_.*="%.*"//g

and template values has been deleted!

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...