Different files are entered into logstash . kibana fields show the same

I have already solved it.
The reason is that logstash.yml has a path.confing which affects it. After it was annotated, everything went well.