Splunk Search

Count is different for a timespan when additional time is in the span

kulo
Engager

I have a search statement as follows

index=test1 sourcetype=test1 |join type=left filed [search index=test2] | table _time filed filed1 | timechart span=d count
I have a count of 1000 when I choose the time for the day,
When I choose the time for two days, the results obtained with the choice of time for the day count results are not the same
I do not know how to solve this problem,
I hope you can help me solve the problem,
tk

0 Karma

cmerriman
Super Champion

are you getting any type of warning in the job inspector for your subsearch when doing more than one day? or even just one day? subsearches have limitations. By default, they can only run for 60 seconds and/or bring back 10,000 results. I'm not sure if you stripped out anything in your subsearch for simplicity sake, but just searching an index could bring back a lot of lines. if you're only trying to join filed, perhaps try search index=test2|stats count by filed|fields - count

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