Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apache-log-files]

The tag has no usage guidance.

1
vote
0answers
29 views

How can I leave a “footprint” in my access logs for my own visits?

When I analyze my Apache access logs, I want to exclude my own visits from that analysis. The problem with that is, that I have a dynamic IP, and I don't want to have to watch and note down my IP ...
1
vote
1answer
51 views

Matomo outputs “hostname X doesn't match Y”

Trying to import my webserver's log-files using import_logs.py results in the error: hostname X doesn't match Y. It retries to import the data but eventually gives up. The URL is set properly to the ...
1
vote
0answers
79 views

Get CPU load statistic from apache access log [closed]

I have apache access log, i want to parse it and to get top CPU load pages and agents. Does somebody know good script for this? My log line has this format: host.ru 11.11.111.11 - - [01/Apr/2018:11:...
2
votes
0answers
442 views

Can I delete my tmp/webalizer folder?

I've got a shared hosting plan with multiple site on my plan and I want to delete unneeded files. I estimate tmp/webalizer has around 10,000 files. Can I delete them all without any adverse effects? ...
3
votes
1answer
805 views

HOWTO log only slow requests in apache httpd

Is there a way to specify a condition in apache httpd access_log to persist only requests which took longer than 500ms to process?
2
votes
0answers
25 views

Where can I get the raw web log file in Nexcess C panel?

In Nexcess C panel where can i get the raw web log file which I can download and analyze it with offline web log analyzer tool. In current interface I am not finding the log files.
1
vote
1answer
38 views

How to set web server log files deletion at certain interval in shared hosting?

I have a site created with Drupal 8 CMS. It is hosted using shared hosting(Apache web server). I read at many places, that web server logs collect and store the IP addresses and otehr data of the ...
3
votes
1answer
82 views

Multipe Bots Simultaneously Hitting Site

Have had a very strange set of httpd access logs today from before a pagespeed mod and apache crash. It seemed that the following bots appeared to be indexing the site, like crazy, all at once. ...
10
votes
3answers
911 views

Was user-agent identification used for some scripting attack techique?

Apache access log entries on my site are typically like this one: 207.46.13.174 - - [31/Oct/2016:10:18:55 +0100] "GET /contact HTTP/1.1" 200 256 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www....
5
votes
1answer
90 views

What is module/aciton/param1 entry in access logs about?

Noticing the following in my Apache access logs recently and would like to know what it is about and what is the purpose of printing md5? "GET /index.php/module/aciton/param1/$%7b@print_r(md5(1123123)...
0
votes
2answers
38 views

What means the part between the date and the server answer in Apache’s log?

I have in the log file a following line: xxx.xxx.xxx.xxx;[05/Aug/2016:00:00:48 +0200];GET /extensions/css/example.css?rev=example HTTP/1.1;200;66931;http://www.example.com/page.html Please explain ...
1
vote
1answer
119 views

Purpose of 408 Status Code

I am seeing almost 3000 entries in access_log of my VPS for 408 status code. Here is an example. 86.220.66.228 - - [03/Apr/2016:08:39:12 -0400] "GET /?p=444 HTTP/1.1" 200 5748 "-" "Mozilla/5.0 (...
6
votes
1answer
5k views

What causes an empty referrer field in a webserver log file?

Given a log line from Apache such as the following: xx.xx.xx.xx - - [04/Jan/2016:10:42:27 -0800] "GET / HTTP/1.1" 200 6861 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like ...
2
votes
1answer
368 views

How to visually see frequency of GoogleBot / BingBot access of my website from apache access logs (per 15 mins / etc)?

I am experiencing high traffic on my website at certain times of the data, at regular intervals. I am trying to determine whether GoogleBot or BingBot access of my website correlates with the high ...
3
votes
1answer
197 views

what does license.txt belong to exactly?

Every now and then my server logs report that an IP is trying to look for license.txt on two domains. the IP belongs to amazonaws according to a whois lookup. Is this file supposed to be a new legal ...
0
votes
2answers
26 views

magento local store deactivated, still getting GET requests from web crawlers

Many months ago I deactivated one store (localised to a language) within a Magento site, leaving the english store the only store live. Looking in my Apache access logs, and also summarised in ...
1
vote
1answer
38 views

How to hide error log from hackers? [duplicate]

I'm a developer of self hosted web application. which creates the error log but others can access it rather than only admin of that application. is there any way to protect it from page other people ...
1
vote
0answers
360 views

File does not exist from wacky websites?

Our LAMPs website has been running slow as of late, I suspect its a SQL problem but I want to check all the logs. Can somebody explain what the following log means, and give some insight if it is a ...
0
votes
2answers
200 views

What is savetheworldheritage.org?

I hope I am not that wrong at webmasters. Recently I'm seeing something like this in my logs: 146.0.32.XXX - - [07/Jun/2015:18:38:32 +0200] "GET / HTTP/1.1" 200 8330 "-" "Mozilla/5.0 (compatible; ...
2
votes
1answer
618 views

Do you trust timestamps when they are out of order?

When Apache2 log file entries have timestamps that are out of order, do you trust the timestamp or the order? 10.1.10.250 - - [20/May/2015:00:43:53 -0600] "GET /foo/bar_1234.jpg HTTP/1.1" 200 738542 "...
1
vote
1answer
328 views

Will Apache automatically create a click log of pages visited on my site?

I need the 'click data' in raw form on the webserver. Due to security reasons I can not give any access of my website to third party. If I get the raw click log somewhere on the server, I can use ...
3
votes
1answer
54 views

Is it normal when the request line of apache log contains a ~username component?

I have a site at a big hosting company and I checked the apache log generated by the site and I saw requests like this in it: "GET hostname/~username/proj/favicon.ico HTTP/1.1" Where hostname is the ...
2
votes
1answer
5k views

Why do I see requests from BOT/0.1 (BOT for JCE) in my server access log and what should I do about them?

My server keeps getting requests with user agent identified as BOT/0.1 (BOT for JCE). The first one arrived 2013-09-14 22:13:17 CEST, the last one yet about three days ago, 2014-08-12 06:05:39 CEST. ...
0
votes
0answers
6 views

Requests for site not hosted on my server [duplicate]

I am seeing http get requests in my servers access log for a site that is not hosted on my server and also the dns records of the site do not point to my server the domain points to 3 ip addresses in ...
2
votes
1answer
74 views

Google isn't indexing AJAX URLs even after fetching them with _escaped_fragment

I'm still in the process of making my site crawlable through Google even though it's all AJAX content. I got it where if the URL contains escaped_fragment_ it retrieves the right information form the ...
3
votes
1answer
6k views

When does Apache log to access.log - before or after serving the request?

Reading this post "Understanding Apache Access Log" it refers to http://httpd.apache.org/docs/1.3/logs.html which says %t is the time the server finished processing the request. By this I ...
2
votes
1answer
3k views

Where is this traffic with doubleclick.net referrers coming from, and how can I block it in Google Analytics?

We're seeing Google Analytics report a huge amount of hits and large drop rate on some of our pages, but investigating this further reveals more questions than answers. For instance, one page is ...
1
vote
1answer
884 views

Appending Apache log files with the date

I used to use cronolog to manage my Apache log files. However, after getting back into website hosting, I noticed it is no longer being updated. I want to append the date of the log file, so I have ...
8
votes
2answers
2k views

Strange entry in access log containing /RS=

I have recently launched a client’s site and for the last few days and with increasing frequency I am seeing strange entries into the access log. [28/Feb/2014:06:26:53 +0800] "GET //RS=^...
2
votes
1answer
49 views

Using Information from Log File to Combat Spam

I'm dealing with a site (not Wordpress, nor any other CMS) that was previously hacked and at that time I had found a php file in the images directory that was being used to generate spam from the site....
1
vote
0answers
201 views

Why would \x escaped URLs appear in my WAMP server logs?

I have set up a local WAMP on my server which is accessible over the internet. What is this strange traffic? Normal request traffic would look like this: /directiory/index.php, but those requests are ...
0
votes
1answer
819 views

Getting really weird entries in Apache log from Baidu.com?

I was looking through my server logs today, and I noticed this: (it's all one row) 118.244.179.250 - - [16/Oct/2013:20:59:25 +0000] "GET http://www.baidu....
2
votes
1answer
4k views

How do I block a user-agent from Apache

How do I realize a UA string block by regular expression in the config files of my Apache webserver? For example: if I would like to block out all bots from Apache on my debian server, that have the ...
1
vote
2answers
112 views

Server log what does “ho=<something>” mean?

I have got a Joomla site that got hacked and I am looking at the server logs and I see something like: GET /bind.php ho=mx01.1and1.es&po=25&ma=cristina%40bpmlighting.com&lo=cristina&...
4
votes
1answer
386 views

Make Apache encode or replace quotes instead of escaping them?

In the dcoumentation I read Format Notes For security reasons, starting with version 2.0.46, non-printable and other special characters in %r, %i and %o are escaped using \xhh sequences, where hh ...
1
vote
2answers
50 views

detailed access statistics for audio files

We have an external hosting company for our video files. They provide us with detailed access statistics e.g. The duration how long how many people have seen a specific video. This is quite ...
3
votes
1answer
279 views

Is there a way to know if apache receives a request from a public IP not local to your country?

I'm looking for ways to know if an apache server receives a request , from another country (e.g germany) considering its a fair request (no spam , or proxies). I want it either to appear this as a ...
3
votes
1answer
486 views

Reading apache logs is there a way i can know of concurnent users limit?

I want to know on a analysis layer from apache logs which can tell me if the # of concurrent logins (using same username) has exceeded e.g more then 4. Is such a thing can be automated or it requires ...
0
votes
1answer
2k views

Can apache logs tell between encryped and un-encrypted traffic?

Is there a way by just looking at the apache logs you can tell if the user-credentials is encrypted or not? Meaning some kind of encryption e.g ssl or plain-text. Thanks.
0
votes
1answer
2k views

How to know in apache logs if the application has crashed?

I need some help in finding some log pattern in apache logs related to application cash? Is there a specific key word attached related to this event e.g 'crash'. Thanks.
2
votes
1answer
8k views

How to log username in Apache logs?

I need some help regarding how to log the user-name into apache logs. I'm building a use-case for Security Information Event Management. Is the method the same in case of IIS or just applicable to ...
1
vote
3answers
6k views

“File does not exist” in Apache error log when mod_rewrite is using

I am getting below error in server log, when re-writing the URLs. [Fri Jan 25 11:32:57 2013] [error] [client ***IP***] File does not exist: /home/testserver/public_html/testing/flats-in-delhi-for-...
1
vote
1answer
162 views

How to download /var/log via ftp cpanel

I have a cpanel based server and I want to download /var/log so I can analyze why the server crash yesterday. However, if I login as regular user I can't download the file because it doesn't give me ...
2
votes
2answers
777 views

Is there a modern (eg NoSQL) web analytics solution based on log files?

I have been using Awstats for many years to process my log files. But I am missing many possibilities (like cross-domain reports) and I hate being stuck with extra fields I created years ago. Anyway,...
2
votes
1answer
641 views

Tell apache to point to a subfolder as default starting point for public

What would be the different methods of telling Apache to serve up httpdocs/public instead of httpdocs as the default starting point? I want to be able to have my includes and logs directories behind ...
0
votes
1answer
786 views

Apache on Windows - splitting vHost logs

I have a Windows Server 2008 running Apache, and it will be hosting several virtual hosts. I'd rather not use the logrotate tool (|bin/logrotate), as it seems create significant extra overhead with ...
1
vote
1answer
3k views

Include number and date in Apache log file names

I'm trying to figure out how to include the current date and the IP number of the current host inside the Apache log file names, but I fail how to see how I can do that. Part of that has to do with ...
6
votes
5answers
2k views

Tool for clickstream anlyzing of Apache logs?

Are there any good tools to analyze the clickstream of individual users in Apache web server logs? For example, I'd like to be able to click on a visitors IP address and see all pages the user ...
9
votes
2answers
1k views

Apache - How to NOT log 301 redirects

I recently re-designed my site and a lot of the URLs changed. I have already setup rewrite rules in Apache to redirect old URLs to the new URLs. That's all working. My question is, how can I get ...
4
votes
2answers
176 views

Track actions of paying customers

I'm looking for software that can analyze my Apache log files (or some other source) and tell me, from the visitors that actually bought something from my site, some profiling information; like time ...