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!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...