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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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