-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 get the public ip on my Apache Amazon EC2 logs #417
Comments
Hello, please try this, it should do it:
|
ok sir, let met try first will update once its success |
hi sir i got this error below : /log/httpd# goaccess -f access_log -a > testing.html
|
Can you please post your config file. Also where is your config file located? You may need to use |
hi sir here's the configuration file , and also i put the config file in zip file
the config of goaccess.conf was location on below path
|
Thanks, you will need to remove the leading whitespace on line 82. That should fix the issue. BTW, I have pushed a commit that will automatically trim leading spaces when parsing the config file. Feel free to rebase from master, otherwise it will be pushed out in the upcoming release. |
will try it , will update it |
You must be missing a command line option or adding an invalid command line option while outputting to a file. Please, first try to output to a terminal (without > /path/report.html). Once everything looks right, then you may output to a file. Also, try this:
|
That's great! Closing this. Feel free to reopen it if needed. |
hi sir ,
how to get the format logs in below sample , i have tried generate to html file but the ip public (112.215.63.145)) didnt show up only the private ip (172.100.1.170) , i just change my gooacces.conf with different schema but still only i get the private ip , could u pls help me which the format time n date i should custom ,
thx u
lukman
The text was updated successfully, but these errors were encountered: