Splunk Search

Why is there no link between the two data points in Splunk trendline line chart?

CodingMaestro
Path Finder

So i have a trendline like below:

CodingMaestro_0-1682930328040.png

I dont know why is there no link between the two data points between april and may and may and june.

Here is the query i have:
| inputlookup category
| eval _time=strptime(_time, "%m/%d/%Y")
| search envcor="$env$"
| eval group=envcor."_"
| timechart sum(Total_Number_Unique_Names) sum(Total_Number_Shops) by group

 

Please help. Thanks.

 

Labels (1)
0 Karma
1 Solution

rut
Path Finder

Have you looked at the underlying data to validate there's (consistent) data for April? If you want to connect the lines you can try setting null values to "Connect" in the visualization settings:

rut_0-1682938200192.png

Or you could use the filldown command, which replaces null values with the last non-null value.

 

| filldown <fields>

 

https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Filldown

View solution in original post

rut
Path Finder

Have you looked at the underlying data to validate there's (consistent) data for April? If you want to connect the lines you can try setting null values to "Connect" in the visualization settings:

rut_0-1682938200192.png

Or you could use the filldown command, which replaces null values with the last non-null value.

 

| filldown <fields>

 

https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Filldown

CodingMaestro
Path Finder

Perfect, This solution worked perfectly. Thanks alot. @rut 

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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI &#43; Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...