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!

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...