Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use different options when generating report #1555

Open
runar opened this issue Sep 28, 2019 · 0 comments
Open

How to use different options when generating report #1555

runar opened this issue Sep 28, 2019 · 0 comments

Comments

@runar
Copy link

@runar runar commented Sep 28, 2019

Version details:

GoAccess - 1.3.
For more details visit: http://goaccess.io
Copyright (C) 2009-2016 by Gerardo Orellana

Build configure arguments:
  --enable-utf8
  --enable-geoip=mmdb
  --enable-tcb=btree
  --with-openssl

I store data daily in an on-disk database, and generate a HTML report shortly after. What I want is to store all data, including crawlers and all, in the database, and ignore these when generating the report. I use a command similar to this, without any ignore or exclude options:

$ goaccess access.log --db-path /var/log/goaccessdb/ --keep-db-files --load-from-disk --process-and-exit --log-format=COMBINED

But with the following command, the --exclude-ip and --ignore-crawlers options are ignored:

$ goaccess --db-path /var/log/goaccessdb/ --keep-db-files --load-from-disk --log-format=COMBINED --anonymize-ip --exclude-ip [IP] --ignore-crawlers -o report.html

The report includes hits from the excluded IP address as well as thousands of crawlers.

The --anonymize-ip option, however, is not ignored, so it seems only some options are ignored. Is this intentional?

@runar runar changed the title Use different options when generating report How to use different options when generating report Sep 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.