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

doesn't work two parameters together #1634

Open
almirus opened this issue Dec 25, 2019 · 3 comments
Open

doesn't work two parameters together #1634

almirus opened this issue Dec 25, 2019 · 3 comments

Comments

@almirus
Copy link

@almirus almirus commented Dec 25, 2019

goaccess /var/tmp/access.log-20191201 /var/tmp/access.log-20191208 -a -o report.html --config-dialog

@allinurl

This comment has been minimized.

Copy link
Owner

@allinurl allinurl commented Dec 26, 2019

When outputting to a file, you can't prompt the config dialog as ncurses is disabled. You will need to specify the log either in your config file or using a CLI option.

@almirus

This comment has been minimized.

Copy link
Author

@almirus almirus commented Dec 26, 2019

I tried using config file, but can't add leading space #1635
log-format [space]%h %^[%d:%t %^] "%r" %s %b "%R" "%u"

@allinurl

This comment has been minimized.

Copy link
Owner

@allinurl allinurl commented Jan 2, 2020

Please try using single quotes. e.g.,

goaccess access.log --log-format=' %h %^[%d:%t %^] "%r" %s %b "%R" "%u"' --date-format=%d/%b/%Y --time-format=%T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.