GoAccess (A Real-Time Apache and Nginx) Web Server Log Analyzer

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

14 Responses

  1. rlinux57 says:

    How it can be work in cpanel server, getting below error ?
    #goaccess -f /usr/local/cpanel/logs/access_log

    GoAccess – version 0.9.8 – May 20 2016 13:21:04
    Config file: /usr/local/etc/goaccess.conf

    Fatal error has occurred
    Error occured at: src/parser.c – verify_formats – 2215
    No time format was found on your conf file.

  2. Jalal Hajigholamali says:

    Thanks a lot
    very nice article…

  3. bheema says:

    Hi Ravi,

    I am getting the below error, please let me know where i have to make changes and I am not able to find out .goaccessrc file.

    [root@nagios goaccess-0.5]# goaccess -f /var/log/httpd/

    GoAccess – version 0.5 – Oct 16 2015 02:38:28

    An error has occurred
    Error occured at: goaccess.c – render_screens – 239
    Message: Nothing valid to process.

    • Ravi Saive says:

      @Bheema,
      Change the format as shown in the configuration it should work..

      date_format %d/%b/%Y
      log_format %^, %h %^[%d:%^] "%r" %s %b "%R" "%u"
      
  4. Devakumar says:

    Hi,

    i’ve installed goaccess on my apache machines.. would it be possible to send notification/alert email from goaccess ? .. if not could you suggest me any product (freeware).

  5. Pierre says:

    Hello, I just start with Goaccess, is there a way to know pageviews per mouth?
    I can’t find info?

    merci

  6. anand vamsi says:

    Hi

    Is it possible to parse the logs from remote server ie. if i have apache server running in 192.168.1.2 and logs placed in /var/log/apache.log in the same server .is it possible to watch the stats from 192.168.1.3(where go access is installed)

    Please help me

    • Ravi Saive says:

      Anand, I never tried on the remote machine, but you should give a try, if it works for you then it definitely works others too and don’t forget to post your output here, if you’ve tried.

  7. Samson Mugo says:

    Yea, Version 0.6 fixed the F10 key binding issue. Great post Ravi, just what I needed. Very cool that it is real time.

  8. Lance says:

    This is works awesome on my nginx server. Version 0.6 just came out which fixed the F10 key in gnome term.

  9. James says:

    I had the same issue, however, I configured my log format/date in my: ~/.goaccessrc

    color_scheme 1
    date_format %d/%b/%Y
    log_format %h %^[%d:%^] %^ “%r” %s %b “%R” “%u”

  10. nobicycle says:

    Interesting, but the terminal I use captures F10, which prevents specifying the log format. Log format cannot be specified on the command line either.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?