Skip to content

issue with raw query #19

Open
Open
@htrmind7

Description

@htrmind7

I've tried the following windows command :
elastic-query-export.exe -c "http://localhost:9200" -i "myindex-*" --start="2022-09-27T00:00:00" --fields="foo,bar" -r '{"bool":{"filter":{"bool":{"must":[{"range":{"date":{"from":"2022-09-27T00:00:00.000","include_lower":true,"include_upper":false,"time_zone":"+02:00","to":"2022-09-28T12:20:00.000"}}}]}}}}' -f "csv" -o "test_export_es.csv"

and got this error in return
Error counting ElasticSearch documents - invalid character '\'' looking for beginning of value
invalid character '\'' looking for beginning of value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions