Syntax to use max_snapshot_bytes_per_sec in snapshot api

I want to use the max_snapshot_bytes_per_sec to throttle the speed of the Elastic search snapshot. Checked the documentation, could not find an example on how to specify the limit.

Which one of the below value is correct to limit the speed to 10mb.

{"type":"fs","settings":{"location":"/var/ESBackup/snapshot_test","max_restore_bytes_per_sec":"10m"}}

or

{"type":"fs","settings":{"location":"/var/ESBackup/snapshot_test","max_restore_bytes_per_sec":"10mb"}}

or should the value be specified in bytes as the name indicates?

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