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.
Questions tagged [access-log]
238 questions
1
vote
1 answer
Spring Boot, Tomcat Access Log with Logback config file in a packaged application
How do I properly configure my LogbackValve in the EmbeddedServletContainerCustomizer-Bean to read a File on the class path?
Right now I have the following Configuration in place, which works perfectly on my localhost (logging.accessLogConfig:…

Alex
- 101
- 1
- 1
- 8
1
vote
2 answers
Remove the following ips in a log file using unix
I have the access.log file with more than 1000 X-Forwarded-For log entries like the following
142.245.59.16, 67.69.175.224, 69.31.97.126 - - [22/Sep/2015:20:00:02 -0400] "GET /company-information/cs/null?path=%
157.55.39.76, 184.27.179.176,…

thamizhinian
- 83
- 1
- 11
1
vote
0 answers
SQL Determining the length of a unique visit from access log
I have a table that has access log records and I want to know the average time of a visit. I'm using sqlite with JDBC to populate the table. The table could be potentially a few 100 million rows large. I don't have much SQL experience.
The table is…

Mic
- 11
- 1
1
vote
0 answers
logback-access %b output is weird
I use logback-access instead of tomcat default valve.
I used %b pattern, but output is so weird.
First, i use class "ch.qos.logback.access.tomcat.LogbackValve"
I wrote this pattern.
[%t]\t%U\t%s\t%D\t%b
Second, i use class…

Aristein
- 41
- 4
1
vote
2 answers
StrongLoop's LoopBack.io: How to turn on HTTP access log?
I searched the docs, but found no answer. What is the preferred way of turning on access logging?
I expect HTTP verb, requested path, source IP address,... printed to either standard output or a log file.
All I got so far is:
Browse your REST API at…

ideaboxer
- 3,863
- 8
- 43
- 62
1
vote
1 answer
Openldap : overlay accesslog not found
I am trying to configure accesslog. I have changed the slapd.conf file and trying to test using slaptest but i am getting error while executing slaptest -f /etc/openldap/slapd.conf.
slapd.conf configuration:
# See slapd.conf(5) for details on…

user3345390
- 421
- 2
- 6
- 14
1
vote
1 answer
How to use RRDTool/Cacti to count "user activities" in apache access logs?
Goal
I wish to use RRDTool to count logical "user activity" from our web application's apache/tomcat access logs.
Specifically we want to count, for a period, occurrences of several url patterns.
Example
We have two applications (call them 'foo'…

user331465
- 2,984
- 13
- 47
- 77
1
vote
1 answer
Is it possible to log the first line of the response in apache?
We have an Tomcat server where we're trying to log the HTTP version which the response is sent with. We've seen a few times that it seems to be HTTP/0.9, which kills the content (not supported I guess?). We would like to get some stats on this by…

Jeppe Mariager-Lam
- 966
- 7
- 14
1
vote
1 answer
How to get data from regularly appended log file in Apache Spark?
I have one Apache access log file which has some data and it is continuously increasing. I want to analyze that data using Apache Spark Streaming API.
And Spark is new for me and i created one program in which ,i use jssc.textFileStream(directory)…

Kaushal
- 3,237
- 3
- 29
- 48
1
vote
1 answer
Apache2 access log 404 480
when open access.log on the server i see this message
POST "//162.243.67.47:8145/Notification/notifi.php HTTP/1.0" 404 480 "-" "-"
anyone know what is it about and what 404 480 "-" "-" ????

Alaa Kanaan
- 21
- 4
1
vote
0 answers
Nginx status=ok with chunked loading
I want to check if a download of a file is finished or cancelled, so i found out that nginx has the option
$request_completion which will give OK or an empty status
I edited the access.log that way that it will log the status parameter.
This…

mjx649
- 81
- 2
- 9
1
vote
2 answers
check every request coming to apacheweb server
I have a weird requirement asked , to check time difference between each request and response
I have a PHP file (request.php) serving a image as it's response, so i have to check time difference between GET request.php and GET image request. for…

saikiran
- 2,247
- 5
- 27
- 42
1
vote
3 answers
Separate date and time with a comma
I have access log with lines
http://***.com ,**.**.**.**,2013-06-07 12:03:58 ,Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0.
I need the date and time to be separated by a comma using sed

Manoj
- 13
- 3
1
vote
0 answers
Set rotating threhsold on AccessLogValve
Can we set up size based log rotation on AccessLogValve rather day/time based ?
Additional question :
I am looking for some thing like max back up index flag in RollingFileAppender of log4j.
Should we monitor externally to delete the access_log*…

Balaji Boggaram Ramanarayan
- 7,731
- 6
- 43
- 46
1
vote
1 answer
Search Spiders Crashing Apache
My webserver is frequently crashing, and I've noticed that it always occurs after this error log entry:
[Sun Jun 22 00:41:41 2014] [error] [client 207.46.13.71] File does not exist: C:/*directory*/robots.txt
I know this IP belongs to a Bing spider.…

Nathan Wiles
- 841
- 10
- 30