Splunk Cloud Platform

How to eliminate multiple time entries?

chinmay25
Path Finder

Hello, 

This is the query that I am working on. Its showing multiple time entries. How do we get it to filter down to single entry?

(index=xyz source=abc) SMF30JBN=MC2DC03D SMF30JNM=JOB* SMF30STP=5

| table DATETIME SMF30JBN SMF30STP SMF30JNM SMF30STM

 

Thank you,

Chinmay.

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| sort 1 -DATETIME

Assuming DATETIME is an epoch time and you want just the latest event

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Sometimes deduct with sortby can also help you. https://docs.splunk.com/Documentation/Splunk/8.2.1/SearchReference/Dedup
r. Ismo

0 Karma
Get Updates on the Splunk Community!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...