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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...