Getting Data In

strip certain data from field

MOHITJOSHI
Engager

my event has a field Transaction:=InpatUPMC_050_Close_WorklistLoad and i am looking to strip the InpatUPMC_050_ part

i tried the rex field=source mode=sed "s/Transaction:=InpatUPMC_050_Close_//g" but does not work.

Tags (1)
0 Karma

manjunathmeti
Champion

Try replace function:

| eval source=replace(source, "Transaction:=InpatUPMC_050_Close_", "")
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 ...