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!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...