9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I want to parse below file and Write a function to extract the logs between two given timestamp.
Apache (Unix) Log Samples - MonitorWare
The challenge here is there are three date and time format.
First :- 07/Mar/2004:16:05:49
Second :- Sun Mar 7 16:02:00 2004
Third :- 29-Mar... (6 Replies)
Discussion started by: sahil_shine
6 Replies
2. Red Hat
HI
i was trying to configure logrotate for my apache server and it's not working properly.
Os: Red Hat 6
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
... (3 Replies)
Discussion started by: bentech4u
3 Replies
3. UNIX for Advanced & Expert Users
HI
i was trying to configure logrotate for my apache server and it's not working properly.
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
/sbin/service httpd... (1 Reply)
Discussion started by: bentech4u
1 Replies
4. Shell Programming and Scripting
i'm trying to write a basic script that "watches" the apache access.log file and prints out lines that correspond to slow requests, Im checking for how microseconds it's taken. For the sake of testing, i'm using any number field.
so far I have:-
watch --interval=1 "tail access.log | cut -d '... (3 Replies)
Discussion started by: ssaini2014
3 Replies
5. Web Development
Hello,
I've updated my apache access log to include the x-forward-for IP instead of my client(loadbalancer) ip. However, i can't seem to find a way to do the same for the error logs. Can someone please assist. Thank you.
-K (0 Replies)
Discussion started by: kmaq7621
0 Replies
6. Linux
Hello all,
I'm trying to find some tool on generating reports based on apache access_log files (of Common format).
I found some of them (awstats, lire/logreport, weblog expert, apache logs viewer, etc..) but they generate some global and general report about the log file.
Also some perl... (0 Replies)
Discussion started by: enux
0 Replies
7. Web Development
My solaris server utilize the freeware savelog program to rotate apache logs. One server has become very busy and even after doing a graceful restart it continues to log to the saved gzip log file.
Has anyone been able to come up with a way or script to issue a "wait" type command so that the... (2 Replies)
Discussion started by: csross
2 Replies
8. Web Development
Hi everybody,
I was looking at my apache2 log and I found GET requests as such:
Some ip - - "GET... (4 Replies)
Discussion started by: z1dane
4 Replies
9. Solaris
The localhost-access.log has a size 3gb. What can apache2 break log on the parts 300mb, or the other issue, make log every week and index it with prifix current date(localhost-access_date.log)?
Please help. (3 Replies)
Discussion started by: sotich82
3 Replies