Splunk Search

How to split only alphanumeric strings in line of data with separated by "-"

asplunk789
Loves-to-Learn Everything

Hi ,

How to get the alphanumeric string from below data.

inputs :

  1. ABCD-47440c7534d1a13d7d462860-90d2aa5bb3b20184-1541977534244
  2. NBAD-POK-7B847D0C-4F4B-4494-982E-AE20F184CABC-1541977639.233428
  3. 000a1360-e607-11e8-ab12-4b69800c33ea

I want to get the output of alphanumeric strings which is including "-" .

Tags (1)
0 Karma

harishalipaka
Motivator

hi @asplunk789

try with split("-")

Thanks
Harish
0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...