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!

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...

Getting Started with Splunk Artificial Intelligence, Insights for Nonprofits, and ...

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