Error with curl when trying out _rollover api

Hi,

I'm trying to call the following with CURL in a container:

"curl -g -u admin:password "https://10.233.24.239:9200/logs_write/_rollover" -H 'Content-Type: application/json' -d '{"conditions": {"max_size": "5gb"}}'"

However i get the following error message:

curl: (3) nested brace in URL position 133:
curl -u admin:password "https://10.233.24.239:9200/logs_write/_rollover" -H 'Content-Type: application/json' -d '{"conditions": {"max_size": "5gb"}}'
                                                                                                                                ^

I've tried to alter this in many different way without success. What seems to be the issue here?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.