Warning

This app is archived. App archiving documentation

wc - word count app icon

wc - word count

Built for GovHack Perth, 2013, 'wc' is a search command for Splunk that takes a textual field and counts the number of words. It contains a list of English stop words that can be optionally ignored. This is a pretty basic app. Use it in a search like this: search some_string |wc fieldname The 'fieldname' is optional, if supplied then the words in 'fieldname' will be counted. If omitted then _raw will be used. To create a table / chart, use stats. search some_string |wc fieldname |stats sum(count) by word By default, a list of (English) stop words are filtered & not counted in stats. To disable the stop words (and get a full count of words) add 'usestopwords=f' to the command: search some_string |wc usestopwords=f |stats sum(count) by word The screenshot is slightly cropped, so check out the full picture here: http://splunkbase.splunk.com/apps:screenshot/original/wc%20-%20word%20count/screenshot.jpg

Built by
splunk product badge
screenshot

Latest Version 1.0
June 4, 2013
Compatibility
Splunk Enterprise
Rating

0

(0)

Log in to rate this app
Support
wc - word count support icon
Not Supported
Built for GovHack Perth, 2013, 'wc' is a search command for Splunk that takes a textual field and counts the number of words. It contains a list of English stop words that can be optionally ignored. This is a pretty basic app. Use it in a search like this: search some_string |wc fieldname The 'fieldname' is optional, if supplied then the words in 'fieldname' will be counted. If omitted then _raw will be used. To create a table / chart, use stats. search some_string |wc fieldname |stats sum(count) by word By default, a list of (English) stop words are filtered & not counted in stats. To disable the stop words (and get a full count of words) add 'usestopwords=f' to the command: search some_string |wc usestopwords=f |stats sum(count) by word The screenshot is slightly cropped, so check out the full picture here: http://splunkbase.splunk.com/apps:screenshot/original/wc%20-%20word%20count/screenshot.jpg

Categories

Utilities

Created By

Mark McDonald

Type

addon

Downloads

597

Resources

Log in to report this app listing