Splunk Search

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

gndivya
Explorer

Hi,

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

adonio
Ultra Champion

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

0 Karma

gndivya
Explorer

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

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...