Splunk Search

How to display events which has logged at the same time as different events using tstats



There are 3 events that have been logged exactly at the same time say 2020-04-28 15:39:34.
When the search query is using index, the 3 events get displayed separately. But when I am using tstats command, it is combining all the 3 events as all of them have logged at the same time.

Is there any way to show these events as separate events while using tstats command?

Queries that I have used for fetching the data.

| tstats count values(Authentication.action) as Authentication.action values(Authentication.src) as Authentication.src values(Authentication.signature_id) as Authentication.signature_id values(Authentication.signature) as Authentication.signature from datamodel=Authentication where (Authentication.action=success OR Authentication.action=failure ) by _time Authentication.user Authentication.dest span=1s

The count column shows me exactly how many times the event has occurred at that particular time. So instead of this, is there any way all the events get displayed separately?

Thanks in advance.

0 Karma

Ultra Champion

use list instead of values for your stats command?
you can also add _raw to the split by arguments

0 Karma


list is not supported in tstats and split by _raw is not working.

0 Karma
Get Updates on the Splunk Community!

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

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

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

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...