CometD input
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
The cometd
input supports the following configuration options.
Salesforce generic subscription Push Topic name. Required.
The client ID used as part of the authentication flow. Required.
The client secret used as part of the authentication flow. Required.
The endpoint that will be used to generate the token during the oauth2 flow. Required.
The user used as part of the authentication flow. It is required for authentication - grant type password. Required.
The password used as part of the authentication flow. It is required for authentication - grant type password. Required.