Apache Kafka integration configuration fields
Summarize
Summary of Apache Kafka Integration Configuration Fields
This document outlines the configuration fields for setting up the Apache Kafka integration with Health Log Analytics in ServiceNow. Proper configuration is essential to ensure effective log data ingestion from Apache Kafka.
Show less
Key Features
- Integration Name: Assign a unique name to the integration. This is a required field.
- Execute On: Choose between a specific MID Server or a MID Server cluster for log ingestion. This field is mandatory.
- MID Server Name: Specify the MID Server for log data retrieval when using a specific MID Server. Only those supporting basic authentication are eligible.
- MID Server Cluster: If selected, log data will be pulled from a designated MID Server cluster, which must consist of failover-enabled MID Servers.
- Service Instance: Bind the log data to the appropriate service instance, a required field.
- Data Source: The source of log data, set to Kafka and read-only.
- Kafka Node Names: Input a comma-separated list of Kafka node addresses, required for connection.
- Topics: Provide a comma-separated list of topics for data input subscription, also required.
- Kafka Credentials: Specify the credentials for accessing Kafka, with options to use existing or create new ones.
- Group ID: Define the name of the Apache Kafka Consumer Group.
Advanced Settings
- Timeout: Default is 500 ms for waiting in the poll for data.
- Default Timezone: Set the timezone for log events, defaulting to GMT.
- Subsample Receive Ratio: Adjust the number of events batched together; default is -1 (no batching).
- Character Encoding: Set to UTF-8, read-only.
- Node Discovery Timeout: Set to 30 ms before timeout occurs.
- Subsample Drop Ratio: Number of events batched with one discarded; default is -1.
- Max Length in Bytes: Set to a maximum of 32766 bytes for event lengths.
- Drop if Queue is Full: Default is set to false, meaning logs will not be discarded under load.
Key Outcomes
By accurately configuring these fields, ServiceNow customers can ensure seamless integration with Apache Kafka for effective log data management, leading to improved analytics and operational efficiency.
Description of the fields on the Apache Kafka integration configuration forms for Health Log Analytics.
For the Apache Kafka integration setup procedure, see Set up an Apache Kafka integration for Health Log Analytics.
| Field | Description |
|---|---|
| Integration Name | Unique name of this integration. For example: My Kafka integration. 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. |
| Execute on | Option to select whether to use a specific MID Server or a MID Server cluster. This field is required. |
| MID server name | (Only when the Execute on field is set to Specific MID Server) MID Server to which log data from Apache Kafka is pulled. This field is required.Note:
|
| MID Server Cluster | (Only when Execute on is set to Specific MID Server cluster.) The MID Server cluster to which the log data is pulled. This field is required.The data input runs on a single MID Server in the cluster until that MID Server fails. The system then moves all the data input tasks to the next available MID Server in the cluster according to the configured order. Note: For more information about MID Server clusters, see Configure a MID Server cluster.
|
| Service instance | The service instance (formerly the application service) to which to bind the log data. This field is required. |
| Data source | The source of the log data that the integration pulls to your ServiceNow instance: Kafka. This field is read-only. |
| Description | Option to add a brief description of the integration to help identify it. |
| Field | Description |
|---|---|
| Kafka node names | A comma-separated list in the format HOST:PORT,HOST:PORT. This field is required. The list does not have to include all the Apache Kafka Cluster servers. |
| Topics | A comma-separated list of topics to which the data input must subscribe. This field is required. |
| Kafka credentials | The Apache Kafka credentials. You can select existing Kafka SSL credentials, or create new ones by selecting Create Kafka credentials from the drop-down list. For a description of the fields on the Kafka SSL credentials form, see Kafka SSL credentials fields. |
| Group ID | The name of the Apache Kafka Consumer Group. |
| Field | Description | Default value |
|---|---|---|
| Timeout | The time, in milliseconds, spent waiting in the poll if data is not available in the topics. | 500 |
| Default timezone | The time zone of events that the system will use if a log does not specify the time zone. By default, the system uses GMT in such cases, but you can specify a different time zone. |
GMT |
| Sub sample receive ratio | The number of events to batch together, out of which all but one will be discarded. This setting is used to decrease the number of received events. | -1 |
| Character encoding | The character encoding for this data input. This field is read-only. | UTF-8 |
| Node discovery timeout | The time, in milliseconds, before node discovery times out. | 30 |
| Sub sample drop ratio | The number of events to batch together, out of which one will be discarded. This setting is used to reduce the number of fetched events. | -1 |
| Max length in bytes | The maximum length, in bytes, of events. | 32766 |
| Drop if queue is full | Option to discard logs if there is a load on the MID Server. | False |