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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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