Help installing logstash plugins offline

On CentOS6.x running LS 6.7

So following directions here: https://www.elastic.co/guide/en/logstash/current/offline-plugins.html

I get:

# /usr/share/logstash/bin/logstash-plugin prepare-offline-pack --overwrite  logstash-output-syslog 
ERROR: Cannot create the offline archive, message: Cannot find plugins matching: `logstash-output-syslog`

Yet: https://github.com/logstash-plugins/logstash-output-syslog

Also:

# /usr/share/logstash/bin/logstash-plugin prepare-offline-pack  logstash-filter-tld
ERROR: Cannot create the offline archive, message: Cannot find plugins matching: `logstash-filter-tld`

Yet: https://github.com/logstash-plugins/logstash-filter-tld

Am I doing something wrong? Wrong syntax?

Finally I need to reinstall the rest filter plugin, but it seems to be gone from github since that functionality was incorporated into 7.0. But as I'm still on 6.7, what now?

# /usr/share/logstash/bin/logstash-plugin prepare-offline-pack  logstash-filter-rest
ERROR: Cannot create the offline archive, message: Cannot find plugins matching: `logstash-filter-rest`

Thanks.

So this issue was related to the fact that my logstash was not stable (see Logstash crashes on mutate filter). Once logstash became stable, all the plugin install commands worked.