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
SplunkTrust
SplunkTrust

(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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...