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
1
vote
1 answer

Change access log time zone in nginx

I am running nginx with default log format log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent"…
Shashwat Kumar
  • 5,159
  • 2
  • 30
  • 66
1
vote
1 answer

Undertow access log skipping time (%D)

I'm Configuring access log format for undertow. what I configured in application.properties is this server.undertow.accesslog.pattern=%h %l %u %t \"%r\" %s %b %D But i'm gettin a "-" in place of %D example 127.0.0.1 - - [26/Feb/2021:11:11:26 +0530]…
Binil Anto
  • 97
  • 1
  • 11
1
vote
1 answer

Log the video duration of a mp4 file in NGINX access log

I am trying to log the video duration of a mp4 file in NGINX access log, which should happen when a client 'GET' a mp4 file from the server. I have configured a custom log format as follows: log_format nginx_custom_log '$remote_addr ... $request_uri…
ac97cd
  • 11
  • 2
1
vote
1 answer

How to get list of users who are accessing the objects in S3 Buckets?

Scenario: My client have 80+ S3 Buckets and 1000+ applications is running in their AWS account. I want to get the list of IAM users/roles who are accessing the objects in all the S3 Buckets. Method 1: Initially I tried to fetch it from CloudTrail…
1
vote
0 answers

Wordpress GET requests ending with .jp

All: Recently, my aws hosted bitnami wordpress server seem to hang for no reason after a period of time. After some investigation, I found a lot of GET requests with .jp extension (See below entries from access_log) and eventually web server just…
Willy
  • 11
  • 1
1
vote
1 answer

How to disable management context access log in Spring Boot using undertow

I'm using Spring Boot 2.2.4 with embedded Undertow. I've enabled the access log using server.underdow.accesslog.enabled=true and everything works as expected. I'm utilizing the actuator endpoints on a different port which sets up a child context. I…
1
vote
1 answer

Seeing GET /server-status every 10 seconds from localhost in access log

I'm using nginx for a reverse proxy in a lab environment for a POC. While looking through the nginx access.log file I see this entry every 10 seconds 127.0.0.1 - - [06/Aug/2019:02:16:50 +0000] "GET /server-status HTTP/1.1" 404 152 "-"…
1
vote
1 answer

do not log particular url pattern for tomcat localhost_access_log

I would like to know if there any way by which we can do conditional logging in apache access logs. AccessLogValve from $CATALINA_HOME/conf/server.xml
Raghu K Nair
  • 3,854
  • 1
  • 28
  • 45
1
vote
0 answers

Can Laravel read and/or store nginx access logs to display potential unwanted web scans?

I built and deployed a Laravel application on an NGINX server, on a vps. I wanted to know if there is a way to leverage the access logs from nginx within Laravel, so that I can display the requests to the server on a dashboard for an admin to see.…
AnthonyC
  • 11
  • 8
1
vote
0 answers

Running tomcat behind multiple httpd proxy, how to log the IP of which proxy server the request goes through

My system is running as architecture below clients -> physical LB -> httpd reverse proxy (multiple servers) -> tomcat (multiple servers) my question is how I could log the IP of the proxy server that the request goes through into the tomcat access…
zadops
  • 506
  • 1
  • 3
  • 10
1
vote
2 answers

IIS access log to SQL normalization

I am looking for insert IIS 6.0 access log ( 5 servers, and over 400MB daily ) to SQL database. What scares me is the size. There is a lot of information you are duplicating (i.e. site name, url, referrer, browser) and could be normalized by index…
Joanna
1
vote
1 answer

Spring boot application with embedded tomcat, send access logs to syslog

I have a spring boot application, which runs on AWS EC2 instances. The deployable is just a jar that has tomcat embedded in it. I am trying to get the application to send its access log to syslog so that I can use AWS CloudWatch to collect logs from…
Cui Pengfei 崔鹏飞
  • 8,017
  • 6
  • 46
  • 87
1
vote
0 answers

How does a "POST / HTTP/1.1" request referred from wp-admin succeed when I don't have Wordpress installed?

I was checking the access logs for my site and found several of the following requests (site name, IP addresses, and other general info removed for clarity): IP - - [Date/time] "POST / HTTP/1.0" 200 1815 "http://SITENAME.com//wp-admin/" "Browser" IP…
1
vote
0 answers

nginx/gunicorn log initial request on receive not after processing?

Both Nginx & gunicorn log requests AFTER they have processed them. Two questions, is the timestamp then related to when the response is finalised and sent back and if so is there a way to log initial request received time in either server log?
user1561108
  • 2,666
  • 9
  • 44
  • 69
1
vote
0 answers

Access log shows higher response time with inbuilt tomcat using Spring Boot

I am using Spring Boot 1.5.6.RELEASE which contains the Servlet Engine: Apache Tomcat/8.5.16. I am getting a very weird issue while working on performance tuning on one of our high performing APIs. My resource endpoint e.g. /test takes 0…
Sanjay Chandak
  • 61
  • 1
  • 1
  • 4