Dashboards & Visualizations

Documentation Error in Chart command?

padala
New Member

New to splunk - was running examples on the sample data provided with splunk Fundamentals 1

Documentation - Splunk® Enterprise Search Manual 6.4.8 - Page 110 - Example 1
Search command - sourcetype=access_* | chart sum(kb) over clientip by host - Formatted as stacked bar chart

When I execute this command on the sample data - I do see 131K events. However no visualization shows up. Am I missing anything?

I did try to format as bar chart - but still nothing shows up on visualization tab.

0 Karma
1 Solution

cmerriman
Super Champion

it is because kb is not a field in the access_combined sourcetype, which I'll assume is where the sample data is going to come from. Do you have kb,clientip,host in your data? I'm going to assume it's bytes you need to change the sum command to.
http://docs.splunk.com/Documentation/Splunk/6.4.8/Search/Createnontimebasedcharts

you can submit doc feedback at the bottom of the page with your email address and mark if it was helpful or not and add any comments on questions/concerns/improvements to the doc. the doc team is extremely responsive and helpful.

View solution in original post

padala
New Member

that was it..issue resolved

0 Karma

cmerriman
Super Champion

it is because kb is not a field in the access_combined sourcetype, which I'll assume is where the sample data is going to come from. Do you have kb,clientip,host in your data? I'm going to assume it's bytes you need to change the sum command to.
http://docs.splunk.com/Documentation/Splunk/6.4.8/Search/Createnontimebasedcharts

you can submit doc feedback at the bottom of the page with your email address and mark if it was helpful or not and add any comments on questions/concerns/improvements to the doc. the doc team is extremely responsive and helpful.

lstewart_splunk
Splunk Employee
Splunk Employee

And the docs have been fixed. Changed "kb" to "bytes".

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...