1. Kibana /
  2. Contribute to Kibana /
  3. Key concepts /
  4. Plugin performance and optimization

Case studies

These are case studies of performance optimization in Kibana plugins, based on real-world examples.

  • Case Study - Async too early
  • Case Study - Top level imports
  • Case Study - Uncommon code in common
Warning

The purpose of these case studies is to provide examples of performance optimization, but not to call out individual teams or plugins. Every plugin author should study these and other examples to ensure their plugins are also optimized.

Previous
Server performance
Next
Case Study - Async too early
  • View as Markdown
  • Edit this page
  • Kibana

  • Kibana
    • Accessibility
    • Configuration
      • Elastic Cloud Kibana settings
      • Alerting and action settings
      • APM settings in Kibana
      • Background search settings
      • Banners settings
      • Cases settings
      • Fleet settings
      • General settings
      • Internationalization settings
      • Knowledge base artifact settings for AI Assistants
      • Logging settings
      • Logs settings
      • Map settings
      • Metrics settings
      • Monitoring settings
      • Product intercept settings
      • Reporting settings
      • Automatic Import settings
      • Universal Profiling settings
      • Security settings
      • Security Solution settings
      • Sharing settings
      • Spaces settings
      • Task Manager settings
      • Telemetry settings
      • URL drilldown settings
    • Advanced settings
    • Kibana audit events
    • User activity
    • Connectors
      • GenAI
        • AI Connector
        • Amazon Bedrock
        • Elastic Managed LLMs
        • Google Gemini
        • MCP
        • OpenAI
      • Elastic Stack
        • Cases
        • Index
        • Observability AI Assistant
        • Server log
      • Alerting and cases
        • CrowdStrike
        • D3 Security
        • Email
        • IBM Resilient
        • Jira
        • Jira Service Management
        • Microsoft Defender for Endpoint
        • Microsoft Teams
        • Opsgenie
        • PagerDuty
        • SentinelOne
        • ServiceNow ITSM
        • ServiceNow ITOM
        • ServiceNow SecOps
        • Slack
        • Swimlane
        • TheHive
        • Tines
        • Torq
        • Webhook
        • Webhook - Case Management
        • xMatters
        • XSOAR
      • Data and context sources
        • AbuseIPDB
        • AlienVault OTX
        • Amazon S3
        • Ansible Control Server
        • Argo CD
        • AWS CloudWatch
        • AWS X-Ray
        • Azure Blob Storage
        • Azure Monitor
        • BigQuery
        • Box
        • Brave Search
        • Buildkite
        • Censys
        • Confluence Cloud
        • Databricks
        • Datadog
        • Dropbox
        • Dynatrace
        • Figma
        • Firecrawl
        • Google Cloud IAM
        • Google Cloud Secret Manager
        • GitHub
        • Gmail
        • Google Calendar
        • Google Cloud Monitoring
        • Google Cloud Storage
        • Google Docs
        • Google Drive
        • Grafana
        • GraphQL
        • GreyNoise
        • HubSpot
        • Jenkins
        • Jina Reader
        • Jira Cloud
        • Kubernetes
        • Microsoft Teams
        • Monday.com
        • New Relic
        • Notion
        • Okta
        • OneDrive
        • 1Password
        • OpenSearch (AWS OpenSearch Service)
        • Outlook
        • PagerDuty
        • PostHog
        • Prometheus
        • Rootly
        • Salesforce
        • Sentry
        • ServiceNow
        • SharePoint Online
        • SharePoint Server
        • Shodan
        • Slack (v2)
        • Snowflake
        • Sublime Security
        • Tavily
        • Trello
        • UniFi
        • URLScan.io
        • URLVoid
        • VirusTotal
        • Workday
        • Zabbix
        • Zendesk
        • Zoom
      • Preconfigured connectors
    • Kibana plugins
    • Command line tools
      • kibana-encryption-keys
      • kibana-setup
      • kibana-verification-code
    • Case analytics indices schema
  • Kibana
    • Known issues
    • Breaking changes
    • Deprecations
  • Contribute to Kibana
    • Getting started
      • Set up a Development Environment
      • Hello World
      • Add data
      • Running Elasticsearch during development
      • WSL on Windows Development
      • Local cross cluster search setup
      • Troubleshooting
    • Contributing
      • Principles
        • Security
        • Accessibility
        • Internationalization
        • Performance
        • Standards and guidelines
      • How we use Github
        • Submitting a pull request
        • Pull request review guidelines
        • Effective issue reporting in Kibana
        • Feature development
      • Repository structure
        • TypeScript project references
        • Linting
        • Documentation
        • Managing third-party dependencies
        • Upgrading Node.js
        • Logging
        • Saved objects and migrations
        • Runtime constraints
        • Package design
      • Guidelines for HTTP API design in Kibana
        • Guidelines for Terraform friendly HTTP APIs
      • CI
        • Building a Kibana distributable
        • Debugging in development
        • Debugging FIPS test failures
    • Key concepts
      • Platform architecture
        • Anatomy of a plugin
        • Patterns
        • Routing, Navigation and URL
      • Security overview
        • Kibana API authorization
        • Creating Feature Privileges
        • RBAC and the Saved Objects client
        • Security Kibana System User
        • Encrypted Saved Objects
        • Audit Logging
      • Saved Objects
        • Structure
        • Create a type
        • Update a type
        • Validate type changes
        • Troubleshooting validation
        • Delete a type
        • CRUD operations
        • ES|QL
        • Export and import
        • Share across spaces
        • Migrations
        • Legacy URL Aliases
        • Persistable State
      • Data Views
      • Building blocks
        • Embeddables
        • UI Actions
        • Visualization Framework (Lens)
          • Lens Config API
            • Lens Config Builder API - Metric
            • Lens Config Builder API - Gauge
            • Lens Config Builder API - Pie
            • Lens Config Builder API - Mosaic
            • Lens Config Builder API - TreeMap
            • Lens Config Builder API - Tag Cloud
            • Lens Config Builder API - Region Map
            • Lens Config Builder API - Table
            • Lens Config Builder API - Heatmap
            • Lens Config Builder API - XY Chart
      • Plugin performance and optimization
        • Client performance
        • Server performance
        • Case studies
          • Case Study - Async too early
          • Case Study - Top level imports
          • Case Study - Uncommon code in common
    • Tutorials
      • Access the Elasticsearch Client in a Plugin
      • Saved Object search method
      • Data views API
      • Kibana data.search Services
      • Registering and accessing an endpoint
      • Versioning HTTP APIs
      • Versioning interfaces
      • Generating OAS for HTTP APIs
      • Application service
      • Kibana Page Template
      • Chrome Recently Viewed
      • Kibana Expressions Service
      • Lens Config Builder API Examples
      • Add data tutorials
      • Configuration service
      • UI settings
      • Internationalization (i18n)
      • Logging service
      • Reporting integration
      • Development Telemetry
      • Screenshotting
      • External plugin development
        • Plugin tooling
        • Functional Tests for Plugins outside the Kibana repo
        • Testing Kibana Plugins
    • Testing
      • Unit tests
      • Integration tests
      • Test coverage checklist
      • API and E2E tests
        • Set up plugin
        • Run tests
        • Debugging
        • Logging
        • Best practices
        • Fixtures
        • Page objects
        • API services
        • Parallelism
        • Global setup and teardown
        • Deployment tags
        • Skip tests
        • Feature flags
        • UI testing
          • Write UI tests
          • Best practices
          • Browser auth
          • A11y checks
        • API testing
          • Write API tests
          • Best practices
          • API auth
        • Migrate tests
        • EUI test helpers
      • Functional Test Runner (legacy)
    • List of Kibana plugins
    • List of dependencies
Elastic logo

© 2026 Elasticsearch B.V. All Rights Reserved.

  • Terms of Use
  • Privacy