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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...