Up/Down State via Opensearch query

  • What Grafana version and what operating system are you using?
    9.3.4

  • What are you trying to achieve?
    I am trying to create a visualization showing just the Up or Down state for a couple of hosts in colors green or red.

  • How are you trying to achieve it?
    I tried to use the plugin “Status Panel” with an Opensearch query for a parameter, which contains a Value “running”. At this point I do not know how to configure it properly. I need something like “If the value is ‘running’ show green panel, if value is !='running” show red panel.

Is someone able to give me advise on how to configure this properly?