- Kibana Guide: other versions:
- Introduction
- Get started
- Set Up Kibana
- Discover
- Visualize
- Creating a Visualization
- Saving Visualizations
- Using rolled up data in a visualization
- Line, Area, and Bar charts
- Controls Visualization
- Data Table
- Markdown Widget
- Metric
- Goal and Gauge
- Pie Charts
- Coordinate Maps
- Region Maps
- Timelion
- TSVB
- Tag Clouds
- Heatmap Chart
- Vega Graphs
- Inspecting Visualizations
- Dashboard
- Canvas
- Graph data connections
- Machine learning
- Elastic Maps
- Code
- Infrastructure
- Logs
- APM
- Uptime
- SIEM
- Dev Tools
- Stack Monitoring
- Management
- Reporting from Kibana
- REST API
- Kibana plugins
- Limitations
- Release Highlights
- Breaking Changes
- Release Notes
- Developer guide
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
AggConfig object
editAggConfig object
editThe AggConfig object represents an aggregation search to Elasticsearch, plus some additional functionality to manage data-values that belong to this aggregation. This is primarily used internally in Kibana, but you may find you have a need for it when writing your own visualization. Here we provide short description of some of the methods on it, however the best reference would be to actually check the source code.
- fieldFormatter(<type>) : returns a function which will format your value according to field formatters defined on the field. The type can be either text or html.
- makeLabel() : gets the label for the aggregation
- isFilterable() : return true if aggregation is filterable (you can then call createFilter)
- createFilter(bucketKey) : creates a filter for specific bucket key
- getValue(bucket) : gets value for a specific bucket
- getField() : gets the field used for this aggregation
- getFieldDisplayName() : gets field display name
- getAggParams() : gets the arguments to the aggregation
Was this helpful?
Thank you for your feedback.