Questions tagged [access-log]

A list of all the requests for individual files that people have requested from a Web site. The server access log records all requests processed by the server.

238 questions
0
votes
1 answer

Tomcat access log records future date

Tomcat access log is printing timestamp as “30/Dec/2020” instead of “30/12/2019” from yesterday. We are using the Timestamp format as “[%{dd/MMM/YYYY HH:mm:ss.SSS}t]” in AccessLogValve. This has been the format for our project and working…
lambodar
  • 3,495
  • 5
  • 34
  • 58
0
votes
1 answer

how do I use logback-access for capturing the HTTP logs with weblogic server

I have followed the logback-access documentation https://logback.qos.ch/access.html and able to customize the http access logs in tomcat server. similarly how do I use logback-access with web logic server?
0
votes
1 answer

How to export nginx access log to a socket, instead of a file?

I want to push logs, produced by nginx to influxdb. To handle this, I have an agent, which can format it, extract some geodata, produce geohash, etc.. The problem is that nginx and agent are running in separate docker containers, and nginx is a…
xakepp35
  • 2,878
  • 7
  • 26
  • 54
0
votes
0 answers

Log files not showing access to a jpeg, but the access happened

I put a jpeg on a webpage, now I want to see who did access it. I know that at least 40 people must have seen it according to a counter. I looked through /var/www/vhosts with grep jpeg.jpg -r /var/www/vhostsyet I could only find a few accesses by my…
Alex
  • 117
  • 11
0
votes
1 answer

Nginx access_log size limit is needed

nginx v 1.13.0 (windows) OS WS 2012 R2 I want to limit the size of the access log to 10MB. What are the parameters for that on Windows nginx 1.13.0?
David Ringsmuth
  • 325
  • 1
  • 12
0
votes
1 answer

RewriteRule creates 404 in SSL access log

I'm trying to get some nice URLs. I want to use https://sub.domain.edu/fs/7356 for https://sub.domain.edu/fs/index.php?ind=7356 My .htaccess for this directory is: RewriteEngine On RewriteBase /fs/ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule…
ABraut
  • 133
  • 1
  • 8
0
votes
1 answer

How to Change Access log From Hourly to Daily or Weekly?

I try to follow the instructions in https://cloud.google.com/storage/docs/access-logs to create access log for my bucket in Google Cloud Platform. The problem is that the access log is created hourly, which means in one day, there will be 24 files…
alancc
  • 487
  • 2
  • 24
  • 68
0
votes
1 answer

How to Get Access Log of Google Bucket via Console?

I create a Bucket in Google Cloud Platform and publicly share some files. I want to know the download log for these public files. However, in this document https://cloud.google.com/storage/docs/access-logs , there are only 3 methods to get the…
alancc
  • 487
  • 2
  • 24
  • 68
0
votes
0 answers

How to sort output based on first column and merge the second column?

I have an output of the access log and I need to get the Ip address plus the date/time of it. The problem I am facing is when I need to filter the output mainly on the IP address and count the occurrence of it , I am having a duplicate of the IP if…
user3210456
0
votes
0 answers

springboot2.0 undertow1.4.x configure property 'server.undertow.accesslog.pattern' using %D print time of processing request failed

My Springboot version is 2.0.6 and my configuration is as follows: server.undertow.accesslog.pattern=%t [%I] %{i,X-Forwarded-For}: %m %U%q status:%s spent:%Dms However the log is as follows [08/Nov/2018:18:53:40 +0800] [XNIO-5 task-22]…
doki
  • 85
  • 5
0
votes
0 answers

java code to extract requests from access_log file to sql database

How can I extract requests from access_log file to sql database (Oracle). If I didn't ask the question correctly this is what the file looks like: 64.242.88.10 - - [07/Mar/2004:16:05:49 -0800] "GET…
Raywando
  • 129
  • 5
0
votes
1 answer

Entry in httpd's access_log as soon as the API is hit

In httpd's access logs, I want to get a log as soon as an API is hit. With the current access log configuration in httpd.conf(below), the API logs come in only when the response comes # # The following directives…
Ouroboros
  • 1,432
  • 1
  • 19
  • 41
0
votes
2 answers

Monitoring website visit length with Nginx logs

I am trying to build a solution to monitor my website visits without relying on cookies and third parties. Currently, by monitoring the access logs I can get enough and useful information but I am missing the length of the visits (i.e. to check…
Aquiles Carattino
  • 910
  • 1
  • 10
  • 23
0
votes
1 answer

Lighttpd mod_accesslog pipe process

I serve static files with Lighttpd and on every request I would like to log the MAC address of the client. For this I have been trying to use the mod_accesslog with a pipe logger, like this on the lighttpd.conf: accesslog.filename =…
0
votes
1 answer

Nginx conditional access log not working

I am trying to make nginx's access log conditional using an if statement but its not working. This is the relevant code from the configuration file. map $uri $log_access { /.lb-check 0; default 1; } server { ... access_log…
ArthurGuy
  • 1,459
  • 4
  • 13
  • 25