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

[BUG][opensearch-dashboards] mapper_parsing_exception - tried to parse field [app] as object, but found a concrete value #628

Open
ainthapanya-sqc opened this issue Dec 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ainthapanya-sqc
Copy link

ainthapanya-sqc commented Dec 5, 2024

Describe the bug
The Helm chart for OpenSearch Dashboards uses the app label, which causes object mapping issues in Fluent Bit. Fluent Bit expects the app field to be an object, but a simple value is provided instead. This conflict results in errors during log processing and indexing in OpenSearch Dashboards.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy the Helm chart for OpenSearch Dashboards.
  2. Configure Fluent Bit to forward logs to OpenSearch.
  3. Observe the logs in Fluent Bit.

Expected behavior

  • Fluent Bit should correctly process and forward logs without any object mapping conflicts.
  • The app label should not cause any issues with log processing.

Chart Name
opensearch-dashboards

Screenshots
If applicable, add screenshots to help explain your problem.

{
    "type": "mapper_parsing_exception",
    "reason": "object mapping for [kubernetes.labels.app] tried to parse field [app] as object, but found a concrete value"
}

Host/Environment (please complete the following information):

  • Helm Version: 2.24.1
  • Kubernetes Version: v1.29.3

Additional context
Add any other context about the problem here.

@prudhvigodithi
Copy link
Member

[Triage]
Thanks @ainthapanya-sqc I will take a look at the PR that can fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants