Splunk Search

Timechart sum search query

jboustead
Explorer

I am using the same timechart search query:

'search

| timechart span=1d sum(xxx)"

when I set the time range picker to yesterday preset I get a different value to when I change the time to 'week to date' and view the stats table the value for yesterday - could there be a reason for this?

Labels (1)
0 Karma

tscroggins
Influencer

@jboustead 

How is the value of xxx derived? Do you see the same issue using another numeric field with a known derivation, e.g. sum(_time)?

You may be receiving different events each time the search executes, but it's not possible to verify that without an understanding of your deployment.

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