Configure the Splunk platform as an Open Authorization version 2.1 server
Safely unlock the full value of your machine data across your ecosystem, fostering innovation while maintaining enterprise-grade security and granular control over data access.
You can configure the Splunk platform as an Open Authorization version 2.1 (OAuth 2.1) server to let external OAuth 2.1 client applications connect to and access data that is stored on the Splunk platform.
For example, you can connect an external OAuth client application to the Splunk OAuth server such that the client can run reusable tasks, known as skills, on the Splunk server on behalf of existing Splunk users. When you connect the OAuth application to the Splunk platform, users of the application can then consent to connecting their Splunk account and accessible data to the application. The application can then collect information from the Splunk platform on behalf of the user, using the user role-based access control for the requests.
Define an OAuth 2.1 client on the Splunk platform
Set up an Open Authorization version 2.1 server on your Splunk platform instance to let OAuth clients access it using Model Context Protocol (MCP)
-
An OAuth 2.1 client application that you want to connect to your Splunk platform instance for the purposes of retrieving Splunk data
-
The redirect URI for the client application, which you provide to the Splunk platform instance as a callback during the client authorization flow
-
A Splunk user that the OAuth client application acts as when it connects to retrieve Splunk data.
-
Administrator access to your Splunk platform instance
Connect and use an OAuth 2.1 client on the Splunk platform OAuth server
After setting up an Open Authorization (OAuth) version 2.1 client on the Splunk platform, you can connect an OAuth application to the Splunk server and authorize it to collect and use your Splunk data.
- Log into your OAuth client application.
- From the client application, initiate a connection to the Splunk platform OAuth Server.
- If you have configured everything correctly, the application loads the Splunk platform instance login page. Enter the username under which you created the Splunk OAuth client.
- The Splunk platform presents an Authorize Application? page. It provides information on which client is attempting to connect to your Splunk platform OAuth server. It attempts to connect as the user you used to create the Splunk OAuth client.
- If you want to let the OAuth client application connect to the Splunk OAuth client, select Allow access. If you are not sure or do not want to do this, select Deny Access.
- If you selected Allow access, your OAuth client application alerts you to the fact that the transaction was successful. It will present the tokens that the Splunk platform sent to the application as part of the authorization flow. You can now make calls to your Splunk platform instance as the user under which you configured the Splunk OAuth client, with whatever permissions that user has on the Splunk platform instance.