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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...