How to extract statistics for a period?

Hello all, I try to check statistics of ElasticSearch for a period. I
followed this document :

My test

curl -XGET 'http://XXXXX:9203/_nodes/node_elastic_01/stats?pretty=true'
-d '
{
"query":{
"match_all": {}
},
"facets":{
"histo1":{
"date_histogram":{
"field":"published_date",
"interval":"day"
}
}
}
}
' | less

I would to see search statistics for last 10 minutes. Do you have any idea?

Thank you all.

Alex.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/54573C0B.1080907%40opendoc.net.
For more options, visit https://groups.google.com/d/optout.

I don’t see in nodes stats that you can provide a query: Elasticsearch Platform — Find real-time answers at scale | Elastic http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html

I think that the body is purely ignored here, right?

That said, you could look at Marvel. http://www.elasticsearch.com/products/marvel/ http://www.elasticsearch.com/products/marvel/
Marvel collects data every x seconds and store that in elasticsearch.
Note that it’s free to use in DEV but requires a license for production usage.

HTH

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr https://twitter.com/elasticsearchfr | @scrutmydocs https://twitter.com/scrutmydocs

Le 3 nov. 2014 à 09:25, Alexandre infos@opendoc.net a écrit :

Hello all, I try to check statistics of Elasticsearch for a period. I followed this document :

aggregate - ElasticSearch Date Field Statistics - Stack Overflow

My test

curl -XGET 'http://XXXXX:9203/_nodes/node_elastic_01/stats?pretty=true' -d '
{
"query":{
"match_all": {}
},
"facets":{
"histo1":{
"date_histogram":{
"field":"published_date",
"interval":"day"
}
}
}
}
' | less

I would to see search statistics for last 10 minutes. Do you have any idea?

Thank you all.

Alex.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/54573C0B.1080907%40opendoc.net.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Thank you David, but it is not possible to extract this information
between two dates?

Alex.

On 03/11/14 09:33, David Pilato wrote:

I don’t see in nodes stats that you can provide a query:
Elasticsearch Platform — Find real-time answers at scale | Elastic

I think that the body is purely ignored here, right?

That said, you could look at Marvel.
http://www.elasticsearch.com/products/marvel/
Marvel collects data every x seconds and store that in elasticsearch.
Note that it’s free to use in DEV but requires a license for production
usage.

HTH

--
David Pilato | /Technical Advocate/ | Elasticsearch.com
http://Elasticsearch.com

@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr |@scrutmydocs
https://twitter.com/scrutmydocs

Le 3 nov. 2014 à 09:25, Alexandre <infos@opendoc.net
mailto:infos@opendoc.net> a écrit :

Hello all, I try to check statistics of Elasticsearch for a period. I
followed this document :

aggregate - ElasticSearch Date Field Statistics - Stack Overflow

My test

curl -XGET
'http://XXXXX:9203/_nodes/node_elastic_01/stats?pretty=true' -d '
{
"query":{
"match_all": {}
},
"facets":{
"histo1":{
"date_histogram":{
"field":"published_date",
"interval":"day"
}
}
}
}
' | less

I would to see search statistics for last 10 minutes. Do you have any
idea?

Thank you all.

Alex.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/54573C0B.1080907%40opendoc.net.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/545740F0.6060206%40opendoc.net.
For more options, visit https://groups.google.com/d/optout.

Nodes stats give you a picture of the current status. It does not collect and store data over time.
You need to either build that buy yourself or use another tool like Marvel.

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr https://twitter.com/elasticsearchfr | @scrutmydocs https://twitter.com/scrutmydocs

Le 3 nov. 2014 à 09:46, Alexandre infos@opendoc.net a écrit :

Thank you David, but it is not possible to extract this information between two dates?

Alex.

On 03/11/14 09:33, David Pilato wrote:

I don’t see in nodes stats that you can provide a query:
Elasticsearch Platform — Find real-time answers at scale | Elastic

I think that the body is purely ignored here, right?

That said, you could look at Marvel.
http://www.elasticsearch.com/products/marvel/
Marvel collects data every x seconds and store that in elasticsearch.
Note that it’s free to use in DEV but requires a license for production
usage.

HTH

--
David Pilato | /Technical Advocate/ | Elasticsearch.com
<http://Elasticsearch.com http://elasticsearch.com/>

@dadoonet <https://twitter.com/dadoonet https://twitter.com/dadoonet> | @elasticsearchfr
<https://twitter.com/elasticsearchfr https://twitter.com/elasticsearchfr> |@scrutmydocs
<https://twitter.com/scrutmydocs https://twitter.com/scrutmydocs>

Le 3 nov. 2014 à 09:25, Alexandre <infos@opendoc.net mailto:infos@opendoc.net
<mailto:infos@opendoc.net mailto:infos@opendoc.net>> a écrit :

Hello all, I try to check statistics of Elasticsearch for a period. I
followed this document :

aggregate - ElasticSearch Date Field Statistics - Stack Overflow http://stackoverflow.com/questions/23015308/elasticsearch-date-field-statistics

My test

curl -XGET
'http://XXXXX:9203/_nodes/node_elastic_01/stats?pretty=true' http://xxxxx:9203/_nodes/node_elastic_01/stats?pretty=true' -d '
{
"query":{
"match_all": {}
},
"facets":{
"histo1":{
"date_histogram":{
"field":"published_date",
"interval":"day"
}
}
}
}
' | less

I would to see search statistics for last 10 minutes. Do you have any
idea?

Thank you all.

Alex.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/54573C0B.1080907%40opendoc.net https://groups.google.com/d/msgid/elasticsearch/54573C0B.1080907%40opendoc.net.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com
<mailto:elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr
<https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr?utm_medium=email&utm_source=footer https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/545740F0.6060206%40opendoc.net https://groups.google.com/d/msgid/elasticsearch/545740F0.6060206%40opendoc.net.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1E04C889-FBC7-4682-A794-0B37B53B1B97%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Thank you all for information.

Have a nice day.

Alex.

On 03/11/14 09:51, David Pilato wrote:

Nodes stats give you a picture of the current status. It does not
collect and store data over time.
You need to either build that buy yourself or use another tool like Marvel.

--
David Pilato | /Technical Advocate/ | Elasticsearch.com
http://Elasticsearch.com

@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr |@scrutmydocs
https://twitter.com/scrutmydocs

Le 3 nov. 2014 à 09:46, Alexandre <infos@opendoc.net
mailto:infos@opendoc.net> a écrit :

Thank you David, but it is not possible to extract this information
between two dates?

Alex.

On 03/11/14 09:33, David Pilato wrote:

I don’t see in nodes stats that you can provide a query:
Elasticsearch Platform — Find real-time answers at scale | Elastic

I think that the body is purely ignored here, right?

That said, you could look at Marvel.
http://www.elasticsearch.com/products/marvel/
Marvel collects data every x seconds and store that in elasticsearch.
Note that it’s free to use in DEV but requires a license for production
usage.

HTH

--
David Pilato | /Technical Advocate/ | Elasticsearch.com
<http://Elasticsearch.com http://elasticsearch.com/>

@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr |@scrutmydocs
https://twitter.com/scrutmydocs

Le 3 nov. 2014 à 09:25, Alexandre <infos@opendoc.net
mailto:infos@opendoc.net
mailto:infos@opendoc.net> a écrit :

Hello all, I try to check statistics of Elasticsearch for a period. I
followed this document :

aggregate - ElasticSearch Date Field Statistics - Stack Overflow

My test

curl -XGET
'http://XXXXX:9203/_nodes/node_elastic_01/stats?pretty=true'
http://xxxxx:9203/_nodes/node_elastic_01/stats?pretty=true' -d '
{
"query":{
"match_all": {}
},
"facets":{
"histo1":{
"date_histogram":{
"field":"published_date",
"interval":"day"
}
}
}
}
' | less

I would to see search statistics for last 10 minutes. Do you have any
idea?

Thank you all.

Alex.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email toelasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/54573C0B.1080907%40opendoc.net.
For more options, visithttps://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email toelasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/6445D292-702D-4DA1-A4F7-437C9F75E0AB%40pilato.fr?utm_medium=email&utm_source=footer.
For more options, visithttps://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email toelasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web
visithttps://groups.google.com/d/msgid/elasticsearch/545740F0.6060206%40opendoc.net.
For more options, visithttps://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearch+unsubscribe@googlegroups.com
mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1E04C889-FBC7-4682-A794-0B37B53B1B97%40pilato.fr
https://groups.google.com/d/msgid/elasticsearch/1E04C889-FBC7-4682-A794-0B37B53B1B97%40pilato.fr?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/545777B4.6090801%40opendoc.net.
For more options, visit https://groups.google.com/d/optout.