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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...

Index This | How many sevens are there between 1 and 100?

August 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...