Dashboards & Visualizations

How to add flashing or blinking in Trellis View?

maryamchar
Explorer

I have a single value trellis view where it shows the status of items up (Green) and down (Red). When the status is down (Red), i would like to get the trellis view to flash or blink. I added the html code below to my trellis view, however all statues green/red are flashing now. I would like the statuses or red items to flash only. Please let me know if there is a way to achieve this in Splunk dashboard. Thank You!

 

    <panel depends="$alwaysHideCSSPanel$">
      <html>
        <style>
          @keyframes blink {
            100%,
            0% {
              opacity: 0.6;
            }
            60% {
              opacity: 0.9;
            } 
          }
          #singlevalue rect {
            animation: blink 0.8s infinite;
          }
        </style>
      </html>

 

Labels (2)
Tags (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try using a different panel id other than singlevalue as this is used by the dashboard code

    <panel depends="$alwaysHideCSSPanel$">
      <html>
        <style>
          @keyframes blink {
            100%,
            0% {
              opacity: 0.6;
            }
            60% {
              opacity: 0.9;
            } 
          }
          #anythingotherthansinglevalue rect {
            animation: blink 0.8s infinite;
          }
        </style>
      </html>
0 Karma

maryamchar
Explorer

The issue is not the single id that was used in the dashboard. The code i have does work, however it flashes when the status of an item is green and when it's red. I want it to flash when it's red only. Please let me know if it's possible? 

Tags (1)
0 Karma
Get Updates on the Splunk Community!

KVStore failure after upgrade to 9.0

After upgrading to Splunk 9.0 on a single instance, we occasionally get KV Store errors.&nbsp;<span ...

SOAR Tenable.sc scan endpoint with credentials

When scanning an endpoint in SOAR how to you get a credential scan? I can start a scan via SOAR playbook but ...

Is there an add-on for the Cisco Meraki devices?

We have many&nbsp;Cisco Meraki devices sending data via syslog to Splunk. Is there an add-on for ...