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 Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...