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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...