Dashboards & Visualizations

data missing in chart dashboard view

miguel1423
Explorer

data missing in chart dashboard view

Hi, I created a chart view with multiple values to show how many users are connected per months through the current year.

My problem is when I select an year period some data are missing because the value per month is not the same if I select only th month.

this my command for the chart

| eval mois=strftime(_time, "%m")
| dedup user
| chart count(eval(source_user="external" AND user_ecole="false")) AS external  count(eval(source_user="internal")) AS internal count(eval(source_user="external" AND user_ecole="true")) AS external_ecole by mois | rename mois AS "Mois"

I show you the screen shot it will be more easy to understand

capture with an period set for 1 year, per example the january month (01) show

 internal=6

external=1

splunkk_chart_1.png

theses results are false.

 

And if I select only the january month the result is right

splunk_chart_2.png

internal=42

external=41

Are there an limitation with the amoun of data to analyse ? why the result is not complete when I select an time value of 1 year ?

thank you for your help

 

regards,

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

dedup will only keep the first unique value for the field so what your results are effectively showing is users in month 06, users in month 05 who weren't in month 06, users in month 04 who weren't in month 05 nor month 06, and so on. By the time you look at month 01 you only have a few users who haven't returned in subsequent months

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...