- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Display row numbers in output
efelder0
Communicator
02-16-2012
01:33 PM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sanderdenheijer
Explorer
01-17-2016
01:25 PM
Add ... | streamstats count as "Row Count"
to your search
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
efelder0
Communicator
02-16-2012
01:43 PM
Would displayRowNumbers work here? If so, how would it be configured in my search query?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

MuS
Legend
01-17-2016
06:43 PM
Hi efelder0,
you can set this in viewstates.conf
or in your XML with this option:
<option name="displayRowNumbers">true</option>
This will work in the recent Splunk releases.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
wrangler2x
Motivator
01-19-2016
12:29 PM
Adding to /opt/splunk/etc/apps/search/local/viewstates.conf does not seem to do anything in the search app.
