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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...