elasticsearch-head插入数据报错,es版本8.2.3

问题遇到的现象和发生背景

在自己的虚拟机上安装了一个elasticsearch,安装启动均正常,可以使用elasticsearch-head正常创建查看索引,但是往索引里面添加数据报错。
虚机是centOS7
elasticsearch是8.2.3

运行结果及报错内容

使用POST:"error": "no handler found for uri [/my_test_index/doc] and method [POST]"
使用PUT:"error": "Incorrect HTTP method for uri [/my_test_index/doc] and method [PUT], allowed: [POST]",
"status": 405

img

img

我的解答思路和尝试过的方法

指定type,id插入仍然失败

img


切换过POST\PUT\GET这几种方式的组合
使用postman调用仍然失败

img

另外:用elasticsearch-head删除索引也是失败,但是用postman就成功了

望各位帮忙解答!感谢!