Type to search.

CometD input

Serverless

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

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:

YAML
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@example.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.