Splunk Search

How to lower case the value present inside double quotes (String).

tarunmalhotra79
Engager

Hi Splunker,

I would like to lower the string/value present inside the double quotes and then use as it is.

Values highlighted in red are basically string which I would like to convert it into a lower case.

Actual field value : 

"AWSURLmonitor_" + url

sourcetype + "SystemRestarted"

"Batch_Comm_critical_alert"."_".to_DST_Filename."-".Time

 

Expected field value:

"awsurlmonitor" + url

sourcetype + "systemrestarted"

"batch_comm_critical_alert"."_".to_DST_Filename."-".Time

Similarly, like above  example, I have multiple data in my environment, my task is to lower case whatever the value present inside the double quotes.

Any help would be really appreciated.

Regards,

Labels (3)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Is the text to be down-cased already in its own field or is it part of a field?  If the latter, are the quotes present?

The third example has two sets of quoted characters.  Does only the first one need to be modified?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...