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]400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type] #4904

Closed
suresh-iitr opened this issue Oct 25, 2022 · 1 comment
Labels
bug Something isn't working untriaged

Comments

@suresh-iitr
Copy link

Hello, team! I am trying to send cpu metrics from fluentbit to opensearch. Getting error: [2022/10/25 16:10:07] [error] [output:opensearch:opensearch.0] HTTP status=400 URI=/_bulk, response:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"}],"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"},"status":400} (edited)
4:15
Fluentbit command is : ./fluent-bit -i cpu -t cpu -o opensearch -p Host=10.12.3.193 -p Port=9200 -p Index=my_index -m '' -o stdout -m '' -f 5 (edited)
4:18
I tried to configure the opensearch using "compatibility.override_main_response_version" : true; ref: #3484; still no use. I am getting the error. Please help me

@suresh-iitr suresh-iitr added bug Something isn't working untriaged labels Oct 25, 2022
@dblock
Copy link
Member

dblock commented Oct 25, 2022

This is a dup, see #4864 (comment) for details and next steps.

@dblock dblock closed this as completed Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants