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!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

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

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...