Sometimes we need to provide the logs to the vendors / Service Providers for further analysis (for analyzing performance issues or intermittent issues).
We can't give them access to kibana.
So was thinking of options to get those dumped in the text file.