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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...