- Elastic Cloud Serverless
- Elasticsearch
- Elastic Observability
- Get started
- Observability overview
- Elastic Observability Serverless billing dimensions
- Create an Observability project
- Quickstart: Monitor hosts with Elastic Agent
- Quickstart: Monitor your Kubernetes cluster with Elastic Agent
- Quickstart: Monitor hosts with OpenTelemetry
- Quickstart: Unified Kubernetes Observability with Elastic Distributions of OpenTelemetry (EDOT)
- Quickstart: Collect data with AWS Firehose
- Get started with dashboards
- Applications and services
- Application performance monitoring (APM)
- Get started with traces and APM
- Learn about data types
- Collect application data
- View and analyze data
- Act on data
- Use APM securely
- Reduce storage
- Managed intake service event API
- Troubleshooting
- Synthetic monitoring
- Get started
- Scripting browser monitors
- Configure lightweight monitors
- Manage monitors
- Work with params and secrets
- Analyze monitor data
- Monitor resources on private networks
- Use the CLI
- Configure a Synthetics project
- Multifactor Authentication for browser monitors
- Configure Synthetics settings
- Grant users access to secured resources
- Manage data retention
- Scale and architect a deployment
- Synthetics Encryption and Security
- Troubleshooting
- Application performance monitoring (APM)
- Infrastructure and hosts
- Logs
- Inventory
- Incident management
- Data set quality
- Observability AI Assistant
- Machine learning
- Reference
- Get started
- Elastic Security
- Elastic Security overview
- Security billing dimensions
- Create a Security project
- Elastic Security requirements
- Elastic Security UI
- AI for Security
- Ingest data
- Configure endpoint protection with Elastic Defend
- Manage Elastic Defend
- Endpoints
- Policies
- Trusted applications
- Event filters
- Host isolation exceptions
- Blocklist
- Optimize Elastic Defend
- Event capture and Elastic Defend
- Endpoint protection rules
- Identify antivirus software on your hosts
- Allowlist Elastic Endpoint in third-party antivirus apps
- Elastic Endpoint self-protection features
- Elastic Endpoint command reference
- Endpoint response actions
- Cloud Security
- Explore your data
- Dashboards
- Detection engine overview
- Rules
- Alerts
- Advanced Entity Analytics
- Investigation tools
- Asset management
- Manage settings
- Troubleshooting
- Manage your project
- Changelog
Connect to OpenAI
editConnect to OpenAI
editThis page provides step-by-step instructions for setting up an OpenAI connector for the first time. This connector type enables you to leverage OpenAI’s large language models (LLMs) within Kibana. You’ll first need to create an OpenAI API key, then configure the connector in Kibana.
Configure OpenAI
editSelect a model
editBefore creating an API key, you must choose a model. Refer to the OpenAI docs to select a model. Take note of the specific model name (for example gpt-4-turbo
); you’ll need it when configuring Kibana.
GPT-4o
offers increased performance over previous versions. For more information on how different models perform for different tasks, refer to the LLM performance matrix.
Create an API key
editTo generate an API key:
- Log in to the OpenAI platform and navigate to API keys.
- Select Create new secret key.
- Name your key, select an OpenAI project, and set the desired permissions.
- Click Create secret key and then copy and securely store the key. It will not be accessible after you leave this screen.
The following video demonstrates these steps.
Configure the OpenAI connector
editFinally, configure the connector in Kibana:
- Log in to Kibana.
- Find Connectors in the navigation menu or use the global search field. Then click Create Connector, and select OpenAI.
-
Provide a name for your connector, such as
OpenAI (GPT-4 Turbo Preview)
, to help keep track of the model and version you are using. - Under Select an OpenAI provider, choose OpenAI.
- The URL field can be left as default.
- Under Default model, specify which model you want to use.
- Paste the API key that you created into the corresponding field.
- Click Save.
The following video demonstrates these steps.