Custom Queries in Kibana Panels

What I'm looking for, is a way to add custom query parameters to some
panels in Kibana.

For instance, I want to restrict the _type on my date histogram. My user
can still do a * search from the search bar, but I'd like to 'append' the
_type:'something' query to one specific panel... in a way that's hard coded
in the configuration/dashboard.json file, and not something the user can
override.

Anyone know if that's possible?

--
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/2885a9fa-855f-4530-8851-b0a63058bc69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

If you can get the dashboard to show what you want, you can export the json
and then put it under $KIBANA_HOME/app/dashboards and call it via
http://KIBANA_URL/index.html#/dashboard/file/$FILE.json.

As these are on the filesystem, they are read only from the users
perspective.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 30 April 2014 07:08, Chris F. chris.fauerbach@gmail.com wrote:

What I'm looking for, is a way to add custom query parameters to some
panels in Kibana.

For instance, I want to restrict the _type on my date histogram. My user
can still do a * search from the search bar, but I'd like to 'append' the
_type:'something' query to one specific panel... in a way that's hard coded
in the configuration/dashboard.json file, and not something the user can
override.

Anyone know if that's possible?

--
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/2885a9fa-855f-4530-8851-b0a63058bc69%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/2885a9fa-855f-4530-8851-b0a63058bc69%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/CAEM624ZZnhHmVFJp12XUcXxhMgRUp%3DpsZCOe66gC1N-dgfT9xg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Use multiple queries. Make one query that is the _type:"sometype" and pin
it. Leave the other unpinned so it's easy to hack in any old value.

Then in the panel select the free form query and the pinned one for the
type.

Here is what it would look like http://d.pr/i/FXHL

cheers,
Rob

On Tuesday, April 29, 2014 2:08:14 PM UTC-7, Chris F. wrote:

What I'm looking for, is a way to add custom query parameters to some
panels in Kibana.

For instance, I want to restrict the _type on my date histogram. My user
can still do a * search from the search bar, but I'd like to 'append' the
_type:'something' query to one specific panel... in a way that's hard coded
in the configuration/dashboard.json file, and not something the user can
override.

Anyone know if that's possible?

--
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/b41f3f79-fa58-45ff-b217-22422bbe4f36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adding another shot showing setting up the "selected" queries in the Table
(Panel) Settings

http://d.pr/i/JDej

cheers,
Rob

On Tuesday, April 29, 2014 2:08:14 PM UTC-7, Chris F. wrote:

What I'm looking for, is a way to add custom query parameters to some
panels in Kibana.

For instance, I want to restrict the _type on my date histogram. My user
can still do a * search from the search bar, but I'd like to 'append' the
_type:'something' query to one specific panel... in a way that's hard coded
in the configuration/dashboard.json file, and not something the user can
override.

Anyone know if that's possible?

--
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/88bbcac3-018c-4e1d-84a0-2967fbff3156%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.