API, Ingestion, and Service Keys

Managing API Keys

API keys are used to connect LogDNA to third-party applications and services. They allow programs such as log collectors to authenticate with LogDNA without requiring you to share your account details.

Note: Anyone who has access to your API keys can send or retrieve logs to or from your account with no additional authentication. Be sure to keep your API keys secret.

To access your API keys, open the Manage Organization page and select API Keys. There are two types of keys you can manage.

  • Ingestion Keys - used for to send data to LogDNA
  • Service Keys - used for accessing the Export API

Ingestion Keys

Ingestion keys are used to send log data to LogDNA. It can be used by log collectors such as the LogDNA agent to send logs to your LogDNA Organization. it is also used for the Ingest API. You can have up to 10 ingestion keys active at a time.

To create an ingestion key, click Generate Ingestion Key. LogDNA automatically generates a new key and adds it to the list of active keys. To remove a key, click the gray “x” next to the key you want to remove. Note that any applications actively using this key will no longer be able to send logs to your Organization.

Service Keys

Service keys are used to consume logs from LogDNA. It’s commonly used to retrieve logs via the export API. You can have up to 20 service keys active at a time.

Managing service keys is similar to managing ingestion keys.

Updated 10 months ago

API, Ingestion, and Service Keys

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.