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!