This app is archived. App archiving documentation
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
(0)
Categories
Created By
Type
Downloads
Splunk Answers
Ask a question about this app listing(Opens new window)Resources