Add new comment

Try if the following will output something:

  
zcat -f /var/log/nginx/error.log*.gz | grep "2017/04/27"
  

If there's output, then try:

  
zcat -f /var/log/nginx/error.log*.gz | grep "2017/04/27" | goaccess -p /opt/goaccess-errorlog.conf -a > /tmp/fe1_error.html
  

If ever there's still no output, try adjusting the date (your cron script might already deleted logs dated you are trying to access).

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.