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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...