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!

Index This | Why did the turkey cross the road?

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

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 ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...