Splunk 凭据(Splunk credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
先决条件(Prerequisites)#
- 下载并安装 Splunk Enterprise。
- 在 设置 > 令牌 中启用令牌认证。
免费试用的 Splunk Cloud 平台账户无法访问 REST API
免费试用的 Splunk Cloud Platform 账户无法访问 REST API。请确保你拥有必要的权限。有关详细信息,请参阅 Splunk Cloud Platform REST API 的访问要求和限制。
支持的身份验证方法(Supported authentication methods)#
- API 身份验证令牌
相关资源(Related resources)#
有关该服务的更多信息,请参阅 Splunk 企业 API 文档。
🌐 Refer to Splunk's Enterprise API documentation for more information about the service.
使用 API 身份验证令牌(Using API auth token)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 一个授权令牌:启用令牌认证后,在设置 > 令牌中创建一个授权令牌。更多信息请参考创建认证令牌。
- A 基础 URL:用于你的 Splunk 实例。它应包括协议、域名和端口,例如:
https://localhost:8089。 - 允许自签名证书:如果启用,即使 SSL 验证失败,n8n 也会进行连接。
必填功能(Required capabilities)#
你的 Splunk 平台账户和角色必须具有创建身份验证令牌的特定权限:
🌐 Your Splunk platform account and role must have certain capabilities to create authentication tokens:
edit_tokens_own:如果你想为自己创建代币,则为必填项。edit_tokens_all:如果您想为实例上的任何用户创建令牌,则此项为必填。
有关更多信息,请参阅 在 Splunk 平台上使用权限定义角色。
🌐 Refer to Define roles on the Splunk platform with capabilities for more information.