Dashboards & Visualizations

Sparklines Going Off the Page

daniel333
Builder

All,

I've been seeing this for a few weeks now. I want to say the problem started with our 6.2 upgrade. But all my sparklines are going off page basically. Forcing me to scroll out. These used to sorta self size.

Checked few browsers on both my Mac and PC. Is there a switch I am missing somewhere for "stay in bounds" Possible bug?

thanks
-Daniel alt text

0 Karma

norbertt911
Communicator

Try:

Your search | chart sparkline(count,1min) count by field 

(more than 1min will generate a shorter sparkline)

 

BR.

Norbert

0 Karma

FanaticWorks
Explorer

Did you find an answer to this?

I can see that the width option might be useful to change the area on dashboards but my sparklines are broken in searches too and in a different way.

It as if the the timeperiod/span of the sparkline has gone all weird. So the longer my search time period the wider the sparkline is. Every point on graph is showing as 0 or 1. No aggregation.

0 Karma

chrisfrigo
Path Finder

Edit the source. adjust the field name accordingly. adjust the width pixels accordingly.

      <option name="height">40</option>
      **<option name="width">150px</option>**
      <option name="colorMap">
        <option name="0:100">blue</option>
        <option name="101:">#9ac23c</option>
      </option>
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...