Splunk Search

How to adjust table alignment

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

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

Explorer

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

0 Karma

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

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

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
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!