Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Splunk unable to detect color codes #269

Description

@manojdevaki

What happened:

I've deployed fluent-plugin-splunk-hec on a Kubernetes cluster and the plugin is adding color codes to the log which is not being detected in Splunk

What you expected to happen: color codes should be removed

Actual Log:
2023-02-08T13:35:44.818Z - info: ::ffff:127.0.0.1 - GET /v4/ping HTTP/1.1 200 578 - 0.953 ms

Log as shown in Splunk:
2023-02-08T13:40:45.697Z - [32minfo[39m: ::ffff:127.0.0.1 - GET /v4/ping HTTP/1.1 200 578 - 1.316 ms

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Ruby version (use ruby --version):
  • OS (e.g: cat /etc/os-release):
  • Splunk version:
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions