I would like to create a horizontal bar visualization in Kibana with API endpoints (methods) use. Most of those endpoints are parameterized and I would like to count unique endpoints.
When you say "one bar for each unique entry", are you referring to:
a) One bar for each unique endpoint, with the aggregated count?
b) One bar for each request, which is not aggregated?
If you are referring to a), then you need to increase the size of the Terms aggregation you're using. If you are referring to b), then that is only supported using the Vega visualization type.
I think what I am looking if for the point (a) One bar for each unique endpoint, with the aggregated count. When you say "then you need to increase the size of the Terms aggregation you're using." it means that I need to include one term entry for each value? Keep in mind that I could have 1000s of values.
Is there a general way to define filtering with value 'GET http://xyz.com/user/{{value}}/profile' and use it for the bar chart?
You are past the limits of Elasticsearch and Kibana if you want to show thousands of unique strings in a visualization. The Terms aggregation which you are using is limited by the search.max_buckets Elasticsearch setting, and none of our visualizations support the composite aggregation which can be paginated over the limit.
The only option that exists if you want to show thousands of unique values is:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.