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
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...