Splunk Search

How to adjust table alignment

x05311
Explorer

Can some one pls advice how i can do alignment my table display, in the snap shot column "1" has error code is not displaying in single line -Actual results. I'm expecting display in single line - Green color

Tags (3)
0 Karma

s2_splunk
Splunk Employee
Splunk Employee

Haven't tested it myself, but try specifying the list.wrap or table.wrap options as documented here; set it to false.

0 Karma

x05311
Explorer

need help on this, provided info is not helping. Thanks

0 Karma

somesoni2
Revered Legend

(To test this) You need to update the XML source code (On top right corner of dashboard, Edit -> Edit Source) of the dashboard to include those options OR update the Panel Visualization element (Edit -> Edit Panel, go to the panel and right most brush type icon) to not do the wrap. Find the <table> element and add options like this

...some code....
 <panel>
      <table>
        <title>..some title...</title>
        <search>
          <query>
      ......
          </query>
          <earliest>....</earliest>
          <latest>....</latest>
        </search>
        <option name="wrap">false</option>
      </table>
    </panel>
  </row>
0 Karma

x05311
Explorer

Thanks for your response, to meet my requirement column 1 with wrap =false ; column 2 wrap = true ; column 3 wrap = true.; else to see count i need to move my courser to right most.

example: three fields like below
errorCode error Desc count

GEN-ERR-0023 GEN-ERR-0023 Initially, in data source type(s) '', the function 'providerQuery' is not supported in 'ReporterModeProvider'. After decomposition, the function 'ces_currentmeasure' is not supported in 'RelationalQueryProvider'.GEN-ERR-0009 Data source type(s) '' - Function 'rxxxxx is not supported in 'NoDataModeProvider'.GEN-ERR-0009 Data source type(s) 'bb' - Function 'xxxxxis not supported in 'OlapQueryProvider'.GEN-ERR-0019 Data source type(s) 'PC' - Function in 'NoDataModeProvider'.GEN-ERR-0009 Data source type(s) 'bb' - Function 'xxxxxis not Function 'realDataMode' is not supported in 'NoDataModeProvider'.GEN-ERR-0009 Data source type(s) '' - in 'NoDataModeProvider'.GEN-ERR-0009 Data source type(s) 'bb' - Function 'xxxxxis not type(s) '' - Function 'oneDimension' is not supported in 'CubeBuildProvider'.GEN-ERR-0009 Data source in 'NoDataModeProvider'.GEN-ERR-0009 Data source type(s) 'bb' - Function 'xxxxx'. 8

0 Karma

x05311
Explorer

Can some one pls advice how i can do alignment on my table display, in the snap shot column "1" has error code is not displaying in single line -Actual results. I'm expecting display in single line - Green color

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...