Dashboards & Visualizations

How to split strings with -?

KalebeRS
Explorer

Hello,

I have this strings, each of one different one of another.

KalebeRS_1-1688995474674.png

How can I split this lines just to get the values with "FEA_" and remove everything else after the "-"?

 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @KalebeRS,

could you share a sample of your logs replacing the contents with other letters in text format (not screenshot)?

only to be sure about the data structure.

And highlight in bold the part to leave.

Then, must the second part of the events be removed before indexing or do you want to remove only in dashboards?

could you share a full events (obviously masked!)?

Ciao.

Giuseppe

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