Splunk Search

Dynamically sort field by specific order?

boxmetal
Path Finder

Hi Splunk community,

I have an excel file that sorts a field at certain order and possibly changes over time
The excel file look something like this
field1
AS
AC
RO
BE
..

Is it possible for me to sort with that particular field order in a search ? Thanks for your help.

 

Labels (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @boxmetal,

have you seen the sort command (https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Sort)?

<your_search>
| sort field1

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @boxmetal,

have you seen the sort command (https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Sort)?

<your_search>
| sort field1

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...