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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...