Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Histograms and hits config query rewriten #81

Closed
Lins59 opened this issue May 14, 2013 · 3 comments
Closed

Histograms and hits config query rewriten #81

Lins59 opened this issue May 14, 2013 · 3 comments

Comments

@Lins59
Copy link

Lins59 commented May 14, 2013

Hi,

I have configured two histograms and one hits widgets.
For example, one of the labels is : GET and the related query is : @fields.method=GET.
This is quite the same config for the widget.
Everything works fine, the data displayed are ok.
But, when I enter a query via stringquery (e.g. @fields.geoip.country_code2:"US"), all my registered queries in histograms and hits are replaced by "@fields.geoip.country_code2:"US""

Am I doing wrong or is it an issue ?

To keep the ability to change queries, one solution can be to append registered queries (histograms, hits, etc.) with the entered query in stringquerry.

Thanks,
Lins59

@rashidkpc
Copy link
Contributor

If you want a histogram to be unaffected by the stringquery panel, you can put the in a different group. Just make sure you add that group to your timepicker panel as well. For example, says you have 4 panels: timepicker, stringquery, histogram and table. Your groups might look like this:

timepicker: default,chart
stringquery: default
table: default
histogram: chart

In this setup, the timepicker would control the time for the table and the histogram. The stringquery would only affect the table, as the histogram is in a different group

@Lins59
Copy link
Author

Lins59 commented May 14, 2013

Thank you for your message.
Let's say I want to know how much GET and POST I have in access logs.
It's ok with histogram, I can get the info.
Now, when I click on the map displayed (for example on the USA), I want the number of GET and POST made in the USA.
That's why differents groups don't answer fully to my question.

Does Kibana have a behaviour like facets in Solr or ElasticSearch (when you make a request, all facets count change accordingly to these request) ?

Thanks

@rashidkpc
Copy link
Contributor

Unfortunately this is not currently implemented. I do plan to make this available in the future.

faxm0dem pushed a commit to ccin2p3/kibana that referenced this issue Feb 17, 2014
…logpipe-constructor

3.6/f/add globalconfig to logpipe constructor
harper-carroll referenced this issue in harper-carroll/kibana Jul 11, 2016
liza-mae added a commit to liza-mae/kibana that referenced this issue Feb 21, 2019
orouz added a commit to orouz/kibana that referenced this issue Jan 13, 2022
ari-aviran pushed a commit to ari-aviran/kibana that referenced this issue Feb 7, 2022
rockdaboot pushed a commit that referenced this issue Jul 4, 2022
* Normalize TopN charts

* Use correct stack accessor for bar chart

* Simplify sample ordering

* Rename variables for clarity

* Refactor sample normalization
rockdaboot pushed a commit that referenced this issue Jul 4, 2022
* Normalize TopN charts

* Use correct stack accessor for bar chart

* Simplify sample ordering

* Rename variables for clarity

* Refactor sample normalization
rockdaboot pushed a commit that referenced this issue Jul 5, 2022
* Normalize TopN charts

* Use correct stack accessor for bar chart

* Simplify sample ordering

* Rename variables for clarity

* Refactor sample normalization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants