All Apps and Add-ons

sideview utils table module

royimad
Builder

Can i display row number ( line number ) in the module Table that exist in sideview utils ? This option exist in SimpleResultsTable module but i need to use Table module of sideview due to some advanced functionality.

Thanks,
Roy

1 Solution

sideview
SplunkTrust
SplunkTrust

The Sideview Table module does not have any native mechanism to display a column of row numbers. However you can create such a column yourself just by doing:

<module name="PostProcess">
  <param name="search">$postProcess$ | streamstats count as "#" | fields # *</param>

  <module name="Table"></module>
</module>

Note: the $postProcess$ there is just a nice-to-have, in that it will preserve any existing postProcess search that you might have had in your config. Feel free to remove that.

View solution in original post

sideview
SplunkTrust
SplunkTrust

The Sideview Table module does not have any native mechanism to display a column of row numbers. However you can create such a column yourself just by doing:

<module name="PostProcess">
  <param name="search">$postProcess$ | streamstats count as "#" | fields # *</param>

  <module name="Table"></module>
</module>

Note: the $postProcess$ there is just a nice-to-have, in that it will preserve any existing postProcess search that you might have had in your config. Feel free to remove that.

royimad
Builder

Thanks! It's working now.

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, ...