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 🙂
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...