Splunk Search
Highlighted

What does the 10 do in the XML for my dashboard chart?

Motivator

Just looking through some of my old dashboards and came across the below chart in XML.
I was wondering what does 10 do?

<chart>
  <searchString>index=core ......... </searchString>
  <title>Att Users</title>
  <earliestTime>-1d@m</earliestTime>
  <latestTime>now</latestTime>
  <option name="charting.axisTitleX.text"/>
  <option name="charting.chart">line</option>
  <option name="charting.primaryAxisTitle.text"/>
  <option name="count">10</option>
  <option name="displayRowNumbers">true</option>
</chart>
Tags (3)
0 Karma
Highlighted

Re: What does the 10 do in the XML for my dashboard chart?

Motivator

hi HattrickNZ,

for 10,
10 limits the number of results displayed per page to 10

View solution in original post

0 Karma
Highlighted

Re: What does the 10 do in the XML for my dashboard chart?

Motivator

tks but thats only if i have a stats table selected for the visualisation, but i have it currently set to a line so it probably has no affect? tks

0 Karma
Highlighted

Re: What does the 10 do in the XML for my dashboard chart?

Motivator

I do not understand you very well

0 Karma
Highlighted

Re: What does the 10 do in the XML for my dashboard chart?

Motivator

i am basiacally saying that it is redundant as I have selected line as visualisation as opposed to stats table, not worries thanks. have you tried google transalate 🙂
tks again

0 Karma
Highlighted

Re: What does the 10 do in the XML for my dashboard chart?

Motivator

I'm sorry, that property do not limit the number of results displayed per page. More explicitly, the property charting.data.count represent The number of results to retrieve from events. Set to 0, to get all results and default to 1000. You can decide to retrieve 1000 results from events, and display only 20 with limit, head, .... commands
For more informations concernin charting options, start here: http://docs.splunk.com/Documentation/Splunk/6.0.1/Viz/ChartConfigurationReference

0 Karma
Highlighted

Re: What does the 10 do in the XML for my dashboard chart?

Communicator

i am very sorry what there say above is error 10 is also a dafault number that indicate The maximum number of rows to display

0 Karma