Getting Data In

xml file : grouping in a column

LauraBre
Communicator

Hello,

I want to put several single in a same column so I add the attribut grouping in my xml file but I have a problem when I look my view because my button aren't on the same line as you can see on the picture.

alt text

This is my xml file:

<?xml version='1.0' encoding='utf-8'?>
<dashboard>
  <label>Tokenizer Monitoring</label>
  <row>
    <html>
      <center>
        <font face="Arial" size="+1" color="orange">TLC : Flow by Host</font>
      </center>
    </html>
  </row>
  <row grouping="4">

    <single>
      <searchString>source="tcp:5543" Requester="uka*" hostname="L05236" | stats count | rangemap field=count severe=0-0 elevated=1-50 default=low</searchString>
      <title>L05236 : Nb requested services(1 week ago)</title>
      <earliestTime>-7d</earliestTime>
      <option name="beforeLabel">L05236 : </option>
      <option name="classField">range</option>
    </single>


    <single>
      <searchString>source="tcp:5543" Requester="uka*" hostname="W856932"|stats count | rangemap field=count severe=0-0 elevated=1-50 default=low</searchString>
      <title>W856932 : Nb requested services(1 week ago)</title>
      <earliestTime>-7d</earliestTime>
      <option name="beforeLabel">W856932 : </option>
      <option name="classField">range</option>
    </single>


    <single>
      <searchString>source="tcp:5543" Requester="uka*" hostname="L856947"|stats count | rangemap field=count severe=0-0 elevated=1-50 default=low</searchString>
      <title>L856947 : Nb requested services(1 week ago)</title>
      <earliestTime>-7d</earliestTime>
      <option name="beforeLabel">L856947 : </option>
      <option name="classField">range</option>
    </single>


    <single>
      <searchString>source="tcp:5543" Requester="uka*" hostname="W60080"|stats count | rangemap field=count severe=0-0 elevated=1-50 default=low</searchString>
      <title>W60080 : Nb requested services(1 week ago)</title>
      <earliestTime>-7d</earliestTime>
      <option name="beforeLabel">W60080 : </option>
      <option name="classField">range</option>
    </single>

  </row>


...

</dashboard>

How can I align my button???

Thx by advance,

Laura

Tags (1)
0 Karma

juanxiayan
Explorer

You have to convert simple xml to advanced xml.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How to Break a Kubernetes Pod on Purpose and Let the AI Troubleshooting Agent Find ...

Let's say I've just rolled out a Kubernetes Deployment with a typo in the image tag. Nothing explodes. The pod ...

Splunk Add-on for Microsoft Windows 11.0.3: Parse Once, Search Faster

The updated Splunk Add-on for Microsoft Windows helps customers search Windows events faster by reducing ...

What's New in Splunk Enterprise Security 8.8 and Beyond

Threats move at machine speed. Keeping up should not depend on having the biggest budget, the largest team, or ...