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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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