Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Output file not created when using tail #1636
When I use "tail", pipe and "--output" the output file is not created. Not while goaccess is running and not after I signal it to stop (Ctrl+C).
I tried with "--output=/tmp/report.json" but same result. The output file wasn't created.
I saw that you have an example with tail and an output file so from that I understand it is a supported option (https://github.com/allinurl/goaccess/blame/master/README.md#L390)
Without an output file (interactive) it works properly:
With an input file (without tail) it works properly:
With tail and --real-time-html it works properly:
Can I ask you to try adding the additional single dash to the pipe? e.g.,
Thanks for replying. The dash did not help. I also tried
I am OK with closing the stream into goaccess in order to gracefully shut it down and have the output file but if you want to pursue this, I will be happy to help if I can.