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