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 (3)
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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...