Configuring cipher_suites works but ssl.cipher_suites not working

I want to configure particular cipher suites to be used by filebeat to connect with logstash. While using ssl.cipher_suites I was getting below error log

{"log.level":"error","@timestamp":"2024-05-28T06:28:10.029Z","log.origin":{"function":"github.com/elastic/beats/v7/libbeat/cmd/instance.handleError","file.name":"instance/beat.go","file.line":1312},"message":"Exiting: error initializing publisher: could not setup output certificates reloader: unpacking 'ssl' config: invalid tls cipher suite 'TLS_AES_128_GCM_SHA256' accessing 'output.logstash.ssl.cipher_suites.0' (source:'/opt/filebeat/filebeat.yml')","service.name":"filebeat","ecs.version":"1.6.0"}

And with all same setup I tried with cipher_suites then it worked.
Is there any specific configuration I missed or suggestions to check?