Dashboards & Visualizations

gaps in dashboard graph

webantsug
Explorer

Dear all,

I have been creating a dashboard graph, displaying a database calculation as block diagram.
Basically on my DB server runs a script every 15 minutes, checking some stats and writes the values to a log file.
That log file is indexed and provides the data for my diagram. 🙂
So far so good, this ran fine for several months now. Today morning, I noticed that there are free spaces in my diagram, so no entries, which is pretty odd. Meanwhile I checked the connectivity and saw that all data is there when I just query that log file. So the values are existent but Splunk will not draw the diagram????

Would somebody please make a suggestion what that can be and how I can debug it?

Right now I have no clue...

Thanks so much

Best regards

Tags (2)
0 Karma

woodcock
Esteemed Legend

First of all, I would use a search like this instead (it will make a much nicer X-axis) and may change whether you see any gaps or not.

source="/opt/webants-dns/logs/ddnscount.log" | timechart span=15m avg(UserCount)
0 Karma

webantsug
Explorer

Good morning,

Looks like some delays but values are there. :S

0 Karma

woodcock
Esteemed Legend

Show us what the graphs look like and what your props.conf is (i.e. how are you doing your timestamping). We are getting closer.

0 Karma

webantsug
Explorer

Okay, the graph looks more nice. But what about the gaps???

0 Karma

woodcock
Esteemed Legend

Do this search for the last 24 hours to see the latency, number and alignment of events:

source="/opt/webants-dns/logs/ddnscount.log" | eval lagSecs=(_indextime - _time) | timechart span=15m avg(UserCount) count AS ThisShouldAlwaysHaveValueEqualToOne avg(lagSecs)

My guess is that the events are there, but they are mis-aligned so they are falling into the wrong interval. Do these lines look very flat?

0 Karma

woodcock
Esteemed Legend

Without more details (the search would help), I would guess clock drift is causing some of your intervals to have extra events and some to have none. Are all.of your servers (especially Indexers and this forwarder) using NTP to stay true and in sync?

0 Karma

webantsug
Explorer

Hi there,

thanks for your reply.
My search query is this one: source="/opt/webants-dns/logs/ddnscount.log" | stats avg(UserCount) by _time

And I verified that my NTP config is working fine 🙂

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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...