There is a setting in the configuration template of Packetbeat on Github, where one can instruct Packetbeat to output logs to a local file.
Two questions regarding this setting:
Is it guaranteed to have these logs written to local disk before the HTTP requests reach our application server for processing? We need this for recovery purposes.
What is the difference between the settings for file output and the settings for logging in the Packetbeat configuration template on Github?