Elasticsearch data input configuration fields
- UpdatedFeb 1, 2024
- 5 minutes to read
- Washington DC
- Health Log Analytics
Description of the fields on the Elasticsearch connector configuration forms for Health Log Analytics.
Field | Description |
---|---|
Integration name | Unique name of this connector. This field is required. Note: When you fill in this field, the generic name displayed on the form adjusts automatically to match the name you entered. |
Description | Option to add a brief description of the connector to help identify it. |
Execute on | Option to determine whether to use a specific MID Server or a MID Server cluster. |
MID Server | (Only when the Execute on field is set to Specific MID Server) The MID Server to which log data from Elasticsearch indices is pulled. This field is required. |
MID Server Cluster | (Only when the Execute on field is set to MID Server Cluster) The MID Server cluster to which the log data is pulled. This field is required.When you select a cluster, the MID Servers in the selected cluster and their status are displayed. The connector runs on a single MID Server in the cluster until that MID Server fails. The system then moves all the connector tasks to the next available MID Server in the cluster according to the configured order. Note:
|
Service instance | The service instance to which to bind the log data. This field is required. Note: If no relevant service instance exists, Create an application service and add CIs to it. Set the status of the new service instance to Operational.
|
Field | Description |
---|---|
Server URL | The URL used to access the cluster. This field is required. |
Authentication method | The authentication method used to authenticate the connector to Elasticsearch. Default is none. When you select the authentication method, the corresponding credentials fields display on the form. Note: As an admin, you can create an authentication method by
navigating to All > Health Log Analytics > Authentication Methods and selecting New. |
Index prefix | Prefix prepended to the names of the Elasticsearch indices from which you want to read data. The connector only reads data from indices that match the configured prefix. For example: network-logs-* matches indices such as
network-logs-2024.01.01. This setting ensures that HLA only ingests data from the relevant indices. This field is required. |
Document timestamp field | Timestamp field in documents stored in the read indices. This field is required. |
Term filter | JSON map of the terms to filter. Note: Avoid using the term query for text fields. If the target field is mapped as both text and keyword, reference the keyword by using fieldname.keyword. |
Field | Description |
---|---|
Max connections per route | The maximum number of connections to be opened per node. |
Max scroll slices | The number of shards configured for the relevant index in Elasticsearch. This number tells Elastic how many parallel queries to execute in each polling request. |
Proxy host | Host name of the HTTP proxy through which requests are sent. |
Proxy port | Port of the HTTP proxy through which requests are sent. |
Use MID certificate policy check | Option to enable the MID certificate policy check. Select this option if you want to ship your logs encrypted using SSL TLS. Then navigate to All > MID Server > MID Security Policy and add the MID certificate policy check to the table. For more information, see MID Server certificate check policies. |
Use cross-cluster search | Option for searching for data across Elasticsearch clusters. When this check box is selected, the Clusters to search field displays. Note: Your settings in the Use minimal privileges check box and the Delay in reading current timestamp (seconds) field on the Advanced
configuration form affect how data is collected across multiple clusters.
|
Use minimal privileges | Option for reading log data directly from the Elasticsearch indices with the configured prefix.
For additional information about streaming logs using the Elasticsearch connector, see the Stream logs using Elasticsearch data input - Advanced guide [KB1080162] article in the Now Support Knowledge Base. |
From | Starting date for reading the data. Data older than this date is not read. This field is required. Note: Setting this value to a past date might require the system to read large amounts of data, causing
congestion. |
Timestamp field format | Format of the timestamp field in the documents. If no format is specified, the default Unix epoch time format is used, in milliseconds. For example: 1684168407 (May 15, 2023 4:33:27 PM) |
Term filters | JSON map of the terms to filter. Note: Avoid using the term query for text fields. If the target field is mapped as both text and keyword, reference the keyword by using fieldname.keyword. For example: {"severity": ["error", "warning"]} |
Sliced-scrolling tie breaker | Value used to slice the data. Each slice is scrolled in parallel. Default: _id |
Search-after tie breaker | Unique value per document to use as tiebreaker when sorting log entries by timestamp. |
Max documents per query | Maximum number of documents fetched in a single query. |
Proxy port | Port of the HTTP proxy through which requests are sent. |