You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Tim Vaillancourt <ti...@elementspace.com> on 2013/04/10 21:53:49 UTC
/admin/stats.jsp in SolrCloud
Hey guys,
This feels like a silly question already, here goes:
In SolrCloud it doesn't seem obvious to me where one can grab stats
regarding caches for a given core using an http call (JSON/XML). Those
values are available in the web-based app, but I am looking for a http call
that would return this same data.
In 3.x this was located at /admin/stats.php, and I used a script to grab
the data, but in SolrCloud I am unclear and would like to add that to the
docs below:
http://wiki.apache.org/solr/SolrCaching#Overview
http://wiki.apache.org/solr/SolrAdminStats
Thanks!
Tim
Re: /admin/stats.jsp in SolrCloud
Posted by Tim Vaillancourt <ti...@elementspace.com>.
There we go, Thanks Stefan!
You're right, 3.x has this as well, I guess I missed it. I'll add this to
the docs for SolrCaching.
Cheers!
Tim
On 10 April 2013 13:19, Stefan Matheis <ma...@gmail.com> wrote:
> Hey Tim
>
> SolrCloud-Mode or not does not really matter for this fact .. in 4.x (and
> afaik as well in 3.x) you can find the stats here: http://host:port/solr/admin/mbeans?stats=true
> in xml or json (setting the responsewriter with wt=json) - as you like
>
> HTH
> Stefan
>
>
>
> On Wednesday, April 10, 2013 at 9:53 PM, Tim Vaillancourt wrote:
>
> > Hey guys,
> >
> > This feels like a silly question already, here goes:
> >
> > In SolrCloud it doesn't seem obvious to me where one can grab stats
> > regarding caches for a given core using an http call (JSON/XML). Those
> > values are available in the web-based app, but I am looking for a http
> call
> > that would return this same data.
> >
> > In 3.x this was located at /admin/stats.php, and I used a script to grab
> > the data, but in SolrCloud I am unclear and would like to add that to the
> > docs below:
> >
> > http://wiki.apache.org/solr/SolrCaching#Overview
> > http://wiki.apache.org/solr/SolrAdminStats
> >
> > Thanks!
> >
> > Tim
>
>
Re: /admin/stats.jsp in SolrCloud
Posted by Stefan Matheis <ma...@gmail.com>.
To complete my "as well in 3.x" phrase - what i wanted to say is: it was already there in the times of 3.x - but because there was stats.jsp .. you know :)
On Wednesday, April 10, 2013 at 10:19 PM, Stefan Matheis wrote:
> Hey Tim
>
> SolrCloud-Mode or not does not really matter for this fact .. in 4.x (and afaik as well in 3.x) you can find the stats here: http://host:port/solr/admin/mbeans?stats=true in xml or json (setting the responsewriter with wt=json) - as you like
>
> HTH
> Stefan
>
>
> On Wednesday, April 10, 2013 at 9:53 PM, Tim Vaillancourt wrote:
>
> > Hey guys,
> >
> > This feels like a silly question already, here goes:
> >
> > In SolrCloud it doesn't seem obvious to me where one can grab stats
> > regarding caches for a given core using an http call (JSON/XML). Those
> > values are available in the web-based app, but I am looking for a http call
> > that would return this same data.
> >
> > In 3.x this was located at /admin/stats.php, and I used a script to grab
> > the data, but in SolrCloud I am unclear and would like to add that to the
> > docs below:
> >
> > http://wiki.apache.org/solr/SolrCaching#Overview
> > http://wiki.apache.org/solr/SolrAdminStats
> >
> > Thanks!
> >
> > Tim
>
Re: /admin/stats.jsp in SolrCloud
Posted by Stefan Matheis <ma...@gmail.com>.
Hey Tim
SolrCloud-Mode or not does not really matter for this fact .. in 4.x (and afaik as well in 3.x) you can find the stats here: http://host:port/solr/admin/mbeans?stats=true in xml or json (setting the responsewriter with wt=json) - as you like
HTH
Stefan
On Wednesday, April 10, 2013 at 9:53 PM, Tim Vaillancourt wrote:
> Hey guys,
>
> This feels like a silly question already, here goes:
>
> In SolrCloud it doesn't seem obvious to me where one can grab stats
> regarding caches for a given core using an http call (JSON/XML). Those
> values are available in the web-based app, but I am looking for a http call
> that would return this same data.
>
> In 3.x this was located at /admin/stats.php, and I used a script to grab
> the data, but in SolrCloud I am unclear and would like to add that to the
> docs below:
>
> http://wiki.apache.org/solr/SolrCaching#Overview
> http://wiki.apache.org/solr/SolrAdminStats
>
> Thanks!
>
> Tim
Re: /admin/stats.jsp in SolrCloud
Posted by Alan Woodward <al...@flax.co.uk>.
It's under /admin/mbeans.
Alan Woodward
www.flax.co.uk
On 10 Apr 2013, at 20:53, Tim Vaillancourt wrote:
> Hey guys,
>
> This feels like a silly question already, here goes:
>
> In SolrCloud it doesn't seem obvious to me where one can grab stats
> regarding caches for a given core using an http call (JSON/XML). Those
> values are available in the web-based app, but I am looking for a http call
> that would return this same data.
>
> In 3.x this was located at /admin/stats.php, and I used a script to grab
> the data, but in SolrCloud I am unclear and would like to add that to the
> docs below:
>
> http://wiki.apache.org/solr/SolrCaching#Overview
> http://wiki.apache.org/solr/SolrAdminStats
>
> Thanks!
>
> Tim