CometD input

edit

Use the https://docs.cometd.org/[cometd] input to stream the real-time events from a Salesforce generic subscription Push Topic.

This input can, for example, be used to receive Login and Logout events that are generated when users log in or out of the Salesforce instance.

Example configuration:

filebeat.inputs:
- type: cometd
  channel_name: /event/MyEventStream
  auth.oauth2:
    client.id: my-client-id
    client.secret: my-client-secret
    token_url: https://login.salesforce.com/services/oauth2/token
    user: my.email@mail.com
    password: my-password

Configuration options

edit

The cometd input supports the following configuration options.

channel_name

edit

Salesforce generic subscription Push Topic name. Required.

auth.oauth2.client.id

edit

The client ID used as part of the authentication flow. Required.

auth.oauth2.client.secret

edit

The client secret used as part of the authentication flow. Required.

auth.oauth2.token_url

edit

The endpoint that will be used to generate the token during the oauth2 flow. Required.

auth.oauth2.user

edit

The user used as part of the authentication flow. It is required for authentication - grant type password. Required.

auth.oauth2.password

edit

The password used as part of the authentication flow. It is required for authentication - grant type password. Required.