Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

GCP PubSub data input configuration fields

Description of the fields on the GCP PubSub data input configuration form.

Basic configuration

FieldDescription
NameName of the new data input. This field is required.
PortThe port for the MID Server. Select a unique port from the array. The placeholder shows the range of ports from which to choose. Make sure that your organization’s security team opens the selected port. This field is required.
Execute onOption to select whether to use a specific MID Server or a MID Server cluster. This field is required.
MID

(Only when the Execute on field is set to Specific MID Server)

The MID Server to which the logs are streamed. Note:

  • You can select only MID Servers with log ingestion capability that support basic authentication. MID Servers that support mTLS are not listed.
  • The default maximum number of data inputs streaming logs to a single MID Server is 10. You can modify this number in the MID Server properties.
  • If log ingestion is not enabled for the selected MID Server, Health Log Analytics enables it automatically.

This field is required.

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:

  • Health Log Analytics supports only failover MID Server clusters. In these clusters, multiple MID Servers are grouped together for failover protection. When selecting a cluster from the data input or integration form, the MID Server clusters list displays only failover clusters.
  • The MID Server cluster must include only MID Servers that support basic authentication. mTLS is not supported for log ingestion.
  • Log ingestion must be enabled for each MID Server in the cluster. If log ingestion is not enabled for the active MID Server, Health Log Analytics enables it automatically.
  • The default maximum number of data inputs or integrations streaming logs to a single MID Server is 10. A cluster passes capacity validation if it contains at least one MID Server with fewer than 10 data inputs or integrations running on it, even when that MID Server is down.

For more information about MID Server clusters, see Configure a MID Server cluster.

Service instanceThe service instance to which to bind the log data. This field is required.Note: If no relevant service instance exists, Create an service instance and add CIs to it. Set the status of the new service instance to Operational.

The fields in the following table show read-only information.

FieldDescription
TransportProtocol used to send the log data: PubSub.
Sources countThe number of log sources this data input has created.
StatusStatus of the data input.
Disabled sinceThe time when the data input stopped or failed.
Last log timeThe time when the last log streamed in the data input.
FieldDescription
Project IDThe project ID of the Google Cloud project. For example, my-project-id.
Topic NameThe Google Cloud Pub/Sub topic to which to subscribe Health Log Analytics. For example, my\_topic.
GCP Credential Alias

The credential alias to be used. Specify one GCP credential alias by selecting the magnifying glass icon and then either selecting an existing credential alias from the Connection & Credential Aliases list, or selecting New to create a new record. The default is sn_occ.HLA_Credential_Alias.

For information about creating a credential alias, see Credential aliases for Discovery.

Subscription NameThe subscription Health Log Analytics uses to receive log data that is published on the Google Cloud Pub/Sub topic.If you leave this field blank, Health Log Analytics uses ServiceNow-Subscription.

Advanced configuration

FieldDescriptionDefault value
Subscriber Thread Pool SizeThe number of concurrent threads that are downloading files from the Google Cloud Pub/Sub topic.1
Default timezoneThe default time zone of events. The system uses this default when the log does not specify a time zone.GMT
Max length in bytesThe maximum length of log messages, in bytes.32,766
Character encoding(Read-only) The character encoding for this data input.UTF-8
Sub sample drop ratioThe ratio of events to drop.-1
Sub sample receive ratioThe ratio of events to receive.-1
Rate limitThe maximum number of events per second that this data input processes.-1
Drop if queue is fullOption to discard logs if many processes are waiting in the queue to access the MID Server.Clear

Parent Topic:Data input configuration fields