Splunk Search

How to sort the data in a row based on the last word after hyphen?

ashish_khantwal
Engager

How do I sort the data based on the last word after hypen

data_file_hyper_v_server
data_file_linux_server
data_file_vmware_instance
data_file_win_server

Expected output

data_file_hyper_v_server
data_file_linux_server
data_file_win_server
data_file_vmware_instance

Labels (2)
Tags (1)
0 Karma

ashish_khantwal
Engager

Sorry it's not hypen, it's underscore

0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...