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

unrecognized parameter: [source] #66

Open
morfie78 opened this issue Feb 25, 2021 · 1 comment
Open

unrecognized parameter: [source] #66

morfie78 opened this issue Feb 25, 2021 · 1 comment

Comments

@morfie78
Copy link

Greetings.
When I perform a curl:
curl -u usernamehere -o /tmp/data.csv -XGET -k "https://elasticiphere:9200/indexnamehere/_doc/_data?format=csv&source=%7B%22query%22%3A%7B%22wildcard%22%3A%7B%22token%22%3A%7B%22value%22%3A%22%2A%22%7D%7D%7D%7D"

It doesn't seem to know what "source" is in the param:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/indexnamehere/_doc/_data] contains unrecognized parameter: [source] -> did you mean [_source]?"}],"type":"illegal_argument_exception","reason":"request [/indexnamehere/_doc/_data] contains unrecognized parameter: [source] -> did you mean [_source]?"},"status":400}

What is the appropriate way to run the utility?
Thanks!

@emmanuel-h
Copy link

Hello,
I faced the same issue than you, and it was because dataformat plugin wasn't well installed. Check that you installed it correctly.

Regards

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

2 participants