Hey @its-ogawa,
Rocky linux is not officially supported at the moment, you can find the supported operating systems in Support Matrix | Elastic.
But other similar systems as RHEL and CentOS are supported, so I guess it should also work in Rocky Linux.