SUSE Support

Here When You Need Us

Logging stack fails to send to splunk with error "Token disabled"

This document (000021262) is provided subject to the disclaimer at the end of this document.

Environment

Rancher-logging chart in RKE/RKE2,  is installed and configured to send logs to Splunk

Situation

Getting the following error in fluentd logs:
#0 [clusterflow:cattle-logging-system:testflow:clusteroutput:cattle-logging-system:testoutput] Fluent::Plugin::SplunkHecOutput: Failed POST to https://X.X.X.X:8088/services/collector, response: {"text":"Token disabled","code":1}

Note: fluentd does not log to stdout, but instead to /fluentd/log/out within the container's filesystem.

Resolution

Re-check the Splunk token to see whether it's correct. You can go to the below path in Splunk admin GUI and confirm whether the token is valid and enabled. You can enable it if it's disabled. 

Settings >> Data Inputs >> HTTP Event Collector >> Global Settings >> All Tokens >> Enabled

Status

Top Issue

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021262
  • Creation Date: 31-Oct-2023
  • Modified Date:27-Mar-2024
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.