Skip to content

unrecognized parameter: [source] #66

@morfie78

Description

@morfie78

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions