Introduction to Data Management APIs
Use the Data Management REST APIs to programmatically manage edge processors, data pipelines, datasets, connections, and app configuration on Splunk Cloud Platform.
Alpha features described in this document are provided by Splunk to you "as is" without any warranties, maintenance and support, or service-level commitments. Splunk makes this alpha feature available in its sole discretion and may discontinue it at any time. These documents are not yet publicly available and we ask that you keep such information confidential. Use of alpha features is subject to the Splunk Pre-Release Agreement for Hosted Services.
Overview
The Splunk Data Management app provides a centralized interface for managing how data is collected, processed, and routed across your Splunk environment. The Data Management APIs give you programmatic access to these capabilities through a REST interface, so that you can automate data management workflows without using the Splunk web interface.
With the Data Management APIs, you can integrate Edge Processor management and SPL2 pipeline deployment into CI/CD pipelines, infrastructure-as-code tooling, or custom automation scripts. This is particularly useful to manage data processing at scale and to automate repetitive configuration and deployment tasks.
What you can do with the Data Management APIs
The API reference is organized into the following resource categories:
- Edge Processor
- Create, list, update, and delete Edge Processor. Retrieve processor instances, generate bootstrap tokens and scripts for onboarding new instances, obtain offboard scripts for decommissioning, and configure shared settings such as Splunk-to-Splunk (S2S), HTTP Event Collector (HEC), and syslog source configurations. Edge Processors enable schema-on-write by applying SPL2 pipelines to data at ingest time before it is indexed.
- Pipelines
- Create, list, update, and delete SPL2 data pipelines that define how data is transformed and routed. Deploy pipeline jobs to one or more Edge Processors and manage their lifecycle. Pipelines use SPL2 syntax to define data transformations, field extractions, and routing rules.
- Connections
- Create and list data connections to external storage such as Amazon S3 buckets for use as pipeline destinations.
- Datasets
- Retrieve available datasets and destinations for use in pipeline configuration and data routing.
- Setup
- View and update the Data Management app configuration, including tenant settings and authentication tokens. Retrieve debug information for troubleshooting.
- Actions
- Trigger synchronization operations, such as syncing sourcetypes across your environment.
Base URL
https://your-stack.splunkcloud.com/servicesNS/sc_admin/dmx
Replace your-stack with the hostname of your Splunk Cloud deployment, for example mystack.splunkcloud.com.
Authentication
All API requests require a Bearer token in the Authorization header. Include the token in the following format:
Authorization: Bearer your-auth-token
Before you begin
To use the Data Management APIs, verify that you meet the following prerequisites:
- You have a valid authentication token with admin-level permissions to perform Data Management operations.
- You have access to the Data Management app. From Splunk Home, go to Data Management to verify access.
Alpha release limitations
This API reference covers the alpha release of the Data Management APIs. Be aware of the following limitations:
- API endpoints, request and response schemas, and behavior are subject to change without notice in future releases.
- Not all Data Management app features are available through the API. Some operations, such as custom integration workflows and auto-schematization, are currently available only through the Splunk Cloud Platform interface.
- Automated deployment of SPL2 pipelines requires manual configuration of Edge Processor instances. There is no automated end-to-end deployment.
- Pipeline runtime is limited to
EDGEin this release. - Error responses and status codes might change in future releases.
Endpoint description
-
Datasets