Exiting: error initializing publisher: Error loading template /tmp/my_beat.template.json: open /tmp/my_beat.template.json: no such file or directory

I created my own beats 5.4.3, written on the IDE after the completion of the above errors;
1, I check the source code found after the path is Unpack () function set to / tmp, but the source seems to have no relevant settings inside;
2, I use "go build main.go" generated executable file, the implementation does not need / tmp path, only the current project where the directory my_beat.yml

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