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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

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