Disable query unless user specifies index and a field

In my org, each team is creating ES index so the number of index grows very
quickly. Usually users are interested only in their 'product' data.
Currently, users execute query using Kibana w/o specifying index(it takes
_all'). To force user to specify index, what are my options? At the same
time, i would like users to specify field as well so query performance
improves. Appreciate quick help since ES cluster comes down very frequently
because of 'bad' queries. Thank you!

--
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/40afbfa6-aa5e-4419-8829-db53b0e94b4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You'll want aliases with a routing query here, but to get the full benefit
you'll have to reindex your data.

Sorry term, use aliases and consider setting up multiple KB instances.
On 24/03/2015 1:03 pm, "Andy" abordia@gmail.com wrote:

In my org, each team is creating ES index so the number of index grows
very quickly. Usually users are interested only in their 'product' data.
Currently, users execute query using Kibana w/o specifying index(it takes
_all'). To force user to specify index, what are my options? At the same
time, i would like users to specify field as well so query performance
improves. Appreciate quick help since ES cluster comes down very frequently
because of 'bad' queries. Thank you!

--
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/40afbfa6-aa5e-4419-8829-db53b0e94b4a%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/40afbfa6-aa5e-4419-8829-db53b0e94b4a%40googlegroups.com?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/CAEYi1X-XG78aXD5nODDX_XYzmHzg%3DHjUPUZ%2BKAXrNeLq4Tc5zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Mark,
Very thanks for your answer. I am new to ES. Can i get implementation
instruction or detailed answer? Thanks,
Andy

On Monday, March 23, 2015 at 9:11:18 PM UTC-7, Mark Walkom wrote:

You'll want aliases with a routing query here, but to get the full benefit
you'll have to reindex your data.

Sorry term, use aliases and consider setting up multiple KB instances.
On 24/03/2015 1:03 pm, "Andy" <abo...@gmail.com <javascript:>> wrote:

In my org, each team is creating ES index so the number of index grows
very quickly. Usually users are interested only in their 'product' data.
Currently, users execute query using Kibana w/o specifying index(it takes
_all'). To force user to specify index, what are my options? At the same
time, i would like users to specify field as well so query performance
improves. Appreciate quick help since ES cluster comes down very frequently
because of 'bad' queries. Thank you!

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/40afbfa6-aa5e-4419-8829-db53b0e94b4a%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/40afbfa6-aa5e-4419-8829-db53b0e94b4a%40googlegroups.com?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/80cd42a8-68ed-4515-8d9e-12cf53fba5b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.