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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...