Splunk Search

Why is stats count by sourcetype missing some sourcetypes?

dilpreetsingh
Engager
index=app_xxxxxxxxx_products cluster_name=dxx-exx-awslab sourcetype=xxxxxxx:deployment-info | stats count by sourcetype

Returns count for the sourcetype but when ran as :

index=app_xxxxxxxxx_products cluster_name=dxx-exx-awslab  | stats count by sourcetype

The results don't include the sourcetype mentioned in firsts search.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi dilpreetsingh,
do events with sourcetype=xxxxxxx:deployment-info continously arrive or not?
did you used the same time period (e.g. earliest=-2h@h latest=-h@h)? don't use latest=now.

Bye.
Giuseppe

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 ...