Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod annotation splunk.com/index not working #858

Open
wrahmann opened this issue May 9, 2023 · 0 comments
Open

Pod annotation splunk.com/index not working #858

wrahmann opened this issue May 9, 2023 · 0 comments

Comments

@wrahmann
Copy link

wrahmann commented May 9, 2023

What happened:
I have added the following annotation in pods and even in namespace but all the logging events are being written to default index define int he values file:

Annotations: checksum/config: d007ccc031b60011e59e6396042fc4e3e09e9d7536e851cca13c6d72a4171799
splunk.com/index: ocs-cgf-caf
splunk.com/sourcetype: sjy9-sba

What you expected to happen:
Logs should be written to the index specified in the annotation.

How to reproduce it (as minimally and precisely as possible):
I just define this config and it is not working.

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):v1.23.6"
  • Ruby version (use ruby --version):
  • OS (e.g: cat /etc/os-release):SUSE
  • Splunk version: Splunk Enterprise Version: 8.2.2.1
  • Splunk Connect for Kubernetes helm chart version: SCK 1.5.3 helm 3.8.1
  • Others:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant