File output overwrite?

I would like to use the file output to overwrite an existing file. Right now the new content is appended at the end of the existing file which keeps this file growing

This is implemented in https://github.com/logstash-plugins/logstash-output-file/pull/50 which hasn't been merged and therefore isn't available in a release of the plugin, but you can build a gem locally and install it if you like (or what until it does get merged and released).

1 Like

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