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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...