Any suggestions for creating logstash pipeline by REST APIs

platform: es/logstash 7.17.5 on centos 7
I intend to create a logstash pipeline, named test, by REST APIs

curl -XPUT localhost:9600/_logstash/pipeline/test?pretty -H "content-type:application/json" -d '{"pipeline": "input { stdin{} } output { stdout{} }" '

the generated result is:

"path": "/_logstash/pipeline/test",
"status": 404,
"error": {
"message":"Not Found"

Any suggestions? thanks!

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