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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...