Send data from Ingest Processor to the Splunk Cloud Platform deployment connected to your tenant
Send data from Ingest Processor to the Splunk Cloud Platform deployment connected to your tenant by creating a connection between your cloud tenant and your Splunk Cloud Platform deployment. You can use this connection to send data from Ingest Processor to the connected Splunk Cloud Platform deployment. To do this, you must create a pipeline that uses a destination that is associated with this connection, and then apply the pipeline. If you want to send data to an index that was created after the Splunk Cloud Platform deployment was connected to the tenant, then you might need to refresh the connection before that index becomes available as a destination.
The specific index that the data from Ingest Processor gets routed to is determined by a precedence order of configurations. For more information, see How does Ingest Processor know which index to send data to?
Prerequisites
Make sure that your Splunk Cloud Platform deployment is connected to your cloud tenant, and that the indexers and indexes from that deployment are available to your tenant.
To verify if this connection has been configured correctly, navigate to the Destinations page and select the Splunk tab. Then, confirm that the indexers from your Splunk Cloud Platform deployment are available as Splunk platform destinations.
If you do not see any Splunk platform destinations, make sure that you have completed the setup process described in First-time setup instructions for the Ingest Processor solution.
Create a pipeline that sends data to the connected Splunk Cloud Platform deployment
- Navigate to the Pipelines page, then select New pipeline and then Ingest Processor pipeline.
- Select Blank pipeline, then select Next.
- On the Define your pipeline's partition page, do the following:
- Select how you want to partition your incoming data that you want to send to your pipeline. You can partition by source type, source, and host.
- Enter the conditions for your partition, including the operator and the value. Your pipeline will receive and process the incoming data that meets these conditions.
- Select Next to confirm the pipeline partition.
- (Optional) On the Add sample data page, enter or upload sample data for generating previews that show how your pipeline processes data.
The sample data must be in the same format as the actual data that you want to process. See Getting sample data for previewing data transformations for more information.
- Select Next to confirm any sample data that you want to use for your pipeline.
- On the Select a metrics destination page, select the name of the destination that you want to send metrics to.
- On the Select a data destination page, select the name of the destination that you want to send logs to.
- (Optional) Configure index routing:
- Select one of the following options in the expanded destinations panel:
Option Description Default The pipeline does not route events to a specific index.
If the event metadata already specifies an index, then the event is sent to that index. Otherwise, the event is sent to the default index of the Splunk Cloud Platform deployment.Specify index for events with no index The pipeline only routes events to your specified index if the event metadata did not already specify an index. Specify index for all events The pipeline routes all events to your specified index. - If you selected Specify index for events with no index or Specify index for all events, then from the Index name drop-down list, select the name of the index that you want to send your data to.
If your desired index is not available in the drop-down list, then confirm that the index is configured to be available to the tenant and then refresh the connection between the tenant and the Splunk Cloud Platform deployment. For detailed instructions, see Make more indexes available to the tenant.
- Select one of the following options in the expanded destinations panel:
- Select Done to confirm the data destination.
After you complete the on-screen instructions, the pipeline builder displays the SPL2 statement for your pipeline. - On the SPL2 editor page, add any desired actions to your SPL2 statement. You can add processing commands to your pipeline by selecting the plus icon () next to Actions and selecting a data processing action, or by typing SPL2 commands and functions directly in the editor. For instructions on creating pipelines for specific use cases, see the following:
If you're sending data to a Splunk Cloud Platform deployment, be aware that the destination index is determined by a precedence order of configurations. See How does Ingest Processor know which index to send data to? for more information
When you are done modifying the pipeline, save and apply the pipeline.
Make more indexes available to the tenant
If any indexes that you want to send data to are not listed in the Index name drop-down list when you're configuring your pipeline, then complete the following steps to make those indexes available.
- In your Splunk Cloud Platform deployment, update the role of the service account so that the account can access your indexes:
- Log in using your admin credentials.
- In the Settings menu, in the Users and authentication section, select Roles.
- In the row that lists the role used by your service account, select Edit > Edit.
The role and service account were created when you configured your Splunk Cloud Platform deployment to receive data.
- On the 3. Indexes tab, select the Included check box for all the indexes that you want to make available.
- Select Save.
- In your cloud tenant, refresh the connection to your Splunk Cloud Platform deployment:
The indexes that you added become available on the Destinations page, and you can now send processed data from Ingest Processor to these indexes.
Sending data from Ingest Processor to Splunk Cloud Platform | Send data from Ingest Processor to your Splunk Observability Cloud deployment |
This documentation applies to the following versions of Splunk Cloud Platform™: 9.1.2308, 9.1.2312, 9.2.2403, 9.2.2406 (latest FedRAMP release)
Feedback submitted, thanks!