Splunk Search

Joining of two fields order by

swetar
New Member

2018/17/25 19:37:27 Field1="0" FIELD_TEXT="Select"
2018/17/25 10:30:17 Field1="0" FIELD_TEXT="name"
2018/17/25 06:9:00 Field1="2" FIELD_TEXT="from "
2018/17/25 00:00:00 Field1="4" FIELD_TEXT="table"
2018/17/25 00:00:00 Field1="4" FIELD_TEXT="table2"

Required o/p
FIELD_TEXT
Select name from table table2

I wanted to display the FIELD_TEXT value order by Field1
CAn any one suggest me, how can I achieve this

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps this will help.

... | sort Field1 | table FIELD_TEXT
---
If this reply helps you, Karma would be appreciated.
0 Karma

renjith_nair
Legend

@swetar,

Are you looking for

"Your search " | fields FIELD_TEXT,Field1|sort Field1|fields - Field1
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

swetar
New Member

Thanks! it worked

0 Karma

renjith_nair
Legend

@swetar, glad to know. Please accept as answer to close the thread

---
What goes around comes around. If it helps, hit it with Karma 🙂
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...