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!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...