8/14/2023 0 Comments Splunk call rest api from searchUsage scope is inherited from the secrets used in the settings. If you are going to use multiple providers of the same type, ensure you give each provider a different name. Step 5: Display Name Įnter a display name for the provider. A user role that is not authenticated with SAML is required. Step 4: Username and Encrypted Password įor secrets and other sensitive settings, select or create a new Harness Encrypted Text secret.Enter the account credentials to authenticate with the server. For example: more information, see Using the REST API with Splunk Cloud from Splunk. Include the port number in the format The default port number is 8089.The port number is required for hosted Splunk, also. The Add Splunk Verification Provider dialog has the following fields.Įnter the URL for accessing the REST API on the Splunk server. ![]() The Add Splunk Verification Provider dialog appears. To add Splunk as a verification provider, do the following:Ĭlick Add Verification Provider, and select Splunk. Step 2: Add Splunk Verification Provider However, we could restrict the access to only the few relevant indexes: We've given this role access to All non-internal indexes. Here, we've created a new Splunk role named Harness User, and assigned it search capability: Custom REST endpoints are user-defined endpoints that let you extend the Splunk platform REST API in your app. Access to the indexes you want to search.For information on Splunk self-service accounts, see Using the REST API with Splunk Cloud.Įnsure that the Splunk user account used to authenticate Harness with Splunk is assigned to a role that contains the following REST-related capabilities: For self-service deployments, Splunk Support defines a dedicated user and sends you credentials that enable that user to access the REST API. You can specify a range of IP addresses to control who can access the REST API. For managed deployments, Splunk Support opens port 8089 for REST access. ![]() To access your Splunk Cloud deployment using the Splunk REST API and SDKs, submit a support case requesting access on the Support Portal. Splunk APIs require that you authenticate with a non-SAML account. Step 1: Assign Permissions for API Connection Once Harness is connected, you can use Harness 24/7 Service Guard and Deployment Verification with your Splunk data and analysis.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |