category: Database provider: Elastic sectionorder: - Connect - Collect commonfields: id: Elasticsearch v2 version: -1 configuration: - display: Server URL name: url required: false type: 0 additionalinfo: The Elasticsearch server to which the integration connects. Ensure that the URL includes the correct Elasticsearch port. The default port for Elasticsearch v7 and below is 9200. Use the Server URL for on-premises deployments. section: Connect - display: Kibana Server URL name: kibana_url required: false type: 0 additionalinfo: The Kibana server used by the es-kibana-* commands and by fetching and mirroring security alerts and cases. Required for on-premises (self-managed) deployments, where Kibana is usually hosted separately from Elasticsearch (for example, https://kibana.example.com:5601). If left empty, the Kibana URL is derived from the Server URL, which is supported only for Elastic Cloud deployments whose hostname contains ".es." (the segment is replaced with ".kb."). section: Connect advanced: true - display: Authorization type defaultvalue: Basic auth additionalinfo: |- Select the authentication type and enter the appropriate credentials: - Basic Auth: Enter Username and Password. - Bearer Auth: Enter Username and Password. - API Key Auth: Enter the API Key ID and API Key. name: auth_type options: - Basic auth - Bearer auth - API key auth type: 15 section: Connect required: true - additionalinfo: Use for API key auth display: API key ID displaypassword: API Key name: api_key_auth_credentials type: 9 section: Connect required: false - additionalinfo: Use for Basic auth. Optionally you can use Username as an API key ID and Password as an API key for API Key auth. display: Username name: credentials type: 9 section: Connect required: false - display: Trust any certificate (not secure) name: insecure type: 8 section: Connect advanced: true required: false - display: Use system proxy settings name: proxy type: 8 section: Connect advanced: true required: false - defaultvalue: Elasticsearch additionalinfo: In some hosted ElasticSearch environments, the standard ElasticSearch client is not supported. If you encounter any related client issues, please consider using the OpenSearch client type. display: Client type name: client_type options: - Elasticsearch - OpenSearch - Elasticsearch_v8 - Elasticsearch_v9 type: 15 section: Connect advanced: true required: false - display: Index to fetch incidents from name: fetch_index type: 0 section: Collect required: false additionalinfo: CSV - display: Query String name: fetch_query type: 0 additionalinfo: |- Query string uses the Lucene syntax. For more information about the Lucene syntax, see the link in the help section. The query will be used when fetching incidents. Index time field will be used as a filter in the query. The integration test button doesn't fully test the fetch incidents validity. To verify that the instance is set up correctly for fetching incidents, run the '!es-integration-health-check' command. section: Collect required: false - display: Fields to Fetch name: fetch_fields type: 0 section: Collect required: false additionalinfo: Comma-separated list of fields to fetch (the `_source` field is always included). - display: Index time field name: fetch_time_field type: 0 section: Collect required: false additionalinfo: The time field used for sorting and limiting results. If using a nested field, separate field names with dot notation. - display: Raw Query name: raw_query type: 12 additionalinfo: |- Raw Query allows raw DSL queries and will override the 'Query String' Lucene syntax string. Results will not be filtered or sorted. Use additional parameters in the raw query for these purposes. For more information see the link in the help section. The integration test button doesn't fully test the fetch incidents validity. To verify that the instance is set up correctly for fetching incidents, run the '!es-integration-health-check' command. section: Collect advanced: true required: false - display: Time field type defaultvalue: 'Simple-Date' name: time_method type: 15 options: - Simple-Date - Timestamp-Seconds - Timestamp-Milliseconds section: Collect advanced: true required: false additionalinfo: For more information see the explanation in the help section. - defaultvalue: 'true' display: Map JSON fields into labels name: map_labels type: 8 section: Collect advanced: true required: false - defaultvalue: '3 days' display: First fetch timestamp name: fetch_time type: 0 section: Collect required: false additionalinfo: