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

Remove apache access_log daily

The size of my Apache access_log file is getting out of hand. So I've decided to write a script which runs every 24 hours that just removes it, I know it would have to run a command similar to. rm /var/log/httpd/access_log-2* I know this is a bit…
Jordan Wells
  • 101
  • 14
0
votes
1 answer

Does Facebook prefetch linked urls when shown on userwall?

I have a blog article published on our website and i posted a link to it on our facebook site. Lot of people click this article on their facebook-wall. Now there is a big difference when comparing the number of requests of this article between…
Martin Bauer
  • 71
  • 1
  • 1
  • 4
0
votes
1 answer

Strange entry in LAMP server access_log -- what does this PHP do?

I am not sure, maybe this question is more appropriate for Server Vault, but I thought the PHP makes it relevant... ? I see strange entries in my access log of an AWS EC2 instance I set up about a week ago to serve a custom API to an e-commerce…
Andre Bulatov
  • 1,090
  • 3
  • 16
  • 47
0
votes
0 answers

Strange router activity from linksys router

I'm running an nginx web server on the local network. I'm behind a linksys EA3500 router. I've noticed a lot of strange activity on my web server coming from the router (192.168.1.1). I've tried power-cycling the router and haven't seen any change.…
Silvertail
  • 169
  • 1
  • 13
0
votes
1 answer

Apache access log meaning

I'm trying to understand my access log. I didn't find any format example like this. 2162004 93.186.15.149 [25/Apr/2016:12:53:40 +0200] 4914163 200 www.example.org "GET /foto/376.JPG HTTP/1.1" I don't get the first long number before the IP and…
mike621
  • 93
  • 11
0
votes
1 answer

Analyzing apache access logs with elasticsearch Watcher

I am using the ELK Stack to analyze logs and I need to analyze and detect anomalies of apache access logs. What can I analyze with apache access logs and how should I give the conditions with curl -XPUT to Watcher?
Asma Zinneera Jabir
  • 801
  • 3
  • 13
  • 31
0
votes
1 answer

Can Apache Access Logs be kept separated & also combined as well too?

My question my be a bit confusing, and sorry for that. Here is what i need: Well, i have (let's say) 3 Websites hosted on one Apache (which are defined inside each VirtualHost settings. Then i currently log their Access Logs separately as…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
0
votes
1 answer

Understanding Apache Access Log format

I would like to understand more about Apache access log format. This is an additional question to Understanding Apache's access log Based on my log below, 27.111.34.139 - - [02/Sep/2015:03:50:47 +0800] "GET…
zero
  • 3
  • 5
0
votes
1 answer

Nginx identify domain in log files

I have set up nginx for some sites. In their .conf files, there can be server_name with multiple domains. However, when checking the log file, the domain name can't be identified. Is it possible to find out which domain?
nkt
  • 383
  • 1
  • 6
  • 12
0
votes
1 answer

Can someone please explain me what does this log statement mean?

I've a website developed using PHP. I encountered one major issue on my website, a security breach. So I checked the access logs of apache present at location "/var/log/apache2/access.log" on server. I got following log which caused the error but…
PHPLover
  • 1
  • 51
  • 158
  • 311
0
votes
1 answer

How to check the access log in SQL Server 2008

I have a remote windows server and SQL Server 2008 installed. How can I check the access log of SQL Server with the IP address that tried to access the DB? I tried in SQL Server Management Studio -> Management->SQL Server Log. It doesn't show the IP…
dharanbro
  • 1,327
  • 4
  • 17
  • 40
0
votes
1 answer

how to rotate log files by filesize?

ATTENTION: there are many articles about rotating log files by date/time. But i want to rotate log files by filesize. Is it possible? i have apache access_log file which is growing largely and taking up the entire server free space after 2/3 weeks.…
Rakib
  • 12,376
  • 16
  • 77
  • 113
0
votes
1 answer

How to customize LogFormat for Apache Virtual Hosts?

I really need some help with this. My server has multiple virtual hosts, each virtual host has its access log, I need to be able to customize the LogFormat for each virtual host exist on server. I have modified LogFormat in httpd.conf but it…
Mina Hafzalla
  • 2,681
  • 9
  • 30
  • 44
0
votes
1 answer

$_Cookie Issue, Access Log count is different from actual count

While working with Web Development in php, I have put below check somewhere in my .php file AbcController.php if(isset($_COOKIE['auth'])){ //server side logging code //...some code here But while fetching the Access logs for AbcController.php…
0
votes
1 answer

LogFormat for cloudflare in apache

I have setup LogFormat in Apache.conf. But i am not able to see any logs from cloudflare in access.log.Can you suggest me, it would be great for us. LogFormat "%v %{CF-IPCountry}i (via cloudflare:%h) %l %u %t \"%r\" %>s %b" cloudflare LogFormat "%v…