【问题标题】:Getting "Invalid client secret is provided" error while setting up Splunk with Azure Event Hub使用 Azure 事件中心设置 Splunk 时出现“提供了无效的客户端密码”错误
【发布时间】:2021-05-06 04:36:43
【问题描述】:

在使用 Azure 事件中心配置 Splunk 时出现以下错误。

2021-04-23 10:12:17,141 级别=警告 pid=xxxxxxx tid=Thread-2 记录器=azure.eventhub._eventprocessor.event_processor pos=event_processor.py:_load_balancing:281 |事件处理器实例 eventthub 的“2ea6353e-ee45-4a4e-b173-5f82ae79707c” 'insights-activity-logs' 消费者组 '$Default'。发生错误 同时进行负载平衡和声明所有权。例外是 EventHubError("意外响应'{'error': 'invalid_client', 'error_description': 'AADSTS7000215: 无效的客户端密码是 提供。\r\n跟踪 ID:xxxxxxx-c913-420f-8dfb-5169faed3800\r\n相关 ID: xxxxxxxx-81b2-4436-9d25-13e38ec15d9d\r\n时间戳:2021-04-23 02:12:10Z','error_codes':[7000215],'timestamp':'2021-04-23 02:12:10Z','trace_id':'xxxxxxxxx-c913-420f-8dfb-5169faed3800', 'correlation_id':'xxxxxxxx-81b2-4436-9d25-13e38ec15d9d','error_uri': 'https://login.microsoftonline.com/error?code=7000215'}'\n意外 响应'{'错误':'invalid_client','error_description': 'AADSTS7000215: 提供的客户端密码无效。\r\n跟踪 ID: xxxxxxx-c913-420f-8dfb-5169faed3800\r\n相关 ID: xxxxxxx-81b2-4436-9d25-13e38ec15d9d\r\n时间戳:2021-04-23 02:12:10Z','error_codes':[7000215],'timestamp':'2021-04-23 02:12:10Z','trace_id':'xxxxxxxxx-c913-420f-8dfb-5169faed3800', 'correlation_id': 'xxxxxxxxxx-81b2-4436-9d25-13e38ec15d9d', 'error_uri': 'https://login.microsoftonline.com/error?code=7000215'}'")。重试 10.408012031827356 秒后

我指的是以下教程:

https://www.splunk.com/en_us/blog/tips-and-tricks/splunking-microsoft-azure-monitor-data-part-1-azure-setup.html

https://www.splunk.com/en_us/blog/tips-and-tricks/splunking-microsoft-azure-monitor-data-part-2-splunk-setup.html

据我了解,我们必须生成一个 Azure AD 应用程序并设置其资源管理权限,在这里,我利用它来启用 Splunk 访问我的事件中心的活动日志。我已经完成了 AD 应用程序的设置并将角色分配添加到 AD 应用程序,然后生成了本教程中提到的客户端密码。我正在订阅 Azure for Student,由于我的权限有限,这会是导致此错误的原因吗?

【问题讨论】:

    标签: splunk azure-eventhub


    【解决方案1】:

    我遇到了您描述的相同错误,事实证明,Microsoft 云服务版本 4.1.2 的 Splunk 插件存在发行说明中所述的已知问题。 enter image description here

    下载 4.1.1 版并强制安装解决了我的问题

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-02-23
      • 2021-06-17
      • 2021-03-12
      • 2021-05-23
      • 1970-01-01
      • 2022-11-04
      相关资源
      最近更新 更多