Recording activity on the system (or of a particular program) for later reporting and analysis. Logins, logouts, web server page requests, etc might all be logged.
Questions tagged [logging]
2851 questions
1
vote
1 answer
Daily queries log file
Has MySQL a daily log rotation system? like Apache that creates daily log files?
I'm having a very hard time to find any good info about this.
Win Server 2008 R2
MySQL 5.1.11
I'm logging all (general) queries and the log file size gets large very…

Johan Larsson
- 117
- 3
- 13
1
vote
3 answers
Apache vhost log rotate by date
I've got Apache 2.2 running on Debian 7 (on a VPS), with virtual hosts defined for several different websites.
I've set up individual error and access logs for each vhost, but I've not found a way to rotate/archive the logs to my liking.
Of course…

Caesar
- 160
- 2
- 10
1
vote
1 answer
IIS logs to Logstash with nxlog
I'm trying to join the date+time fields from the IIS log into the EventTime field for logstash digestion. This is my nxlog.conf file:
#drop comment lines, join the date+time fields into an EventTime field, convert to json
Module …

David Vasandani
- 256
- 3
- 13
1
vote
2 answers
access log to contain indication when someone telnet my server and typed garbage
I have apache 2.2.22 server installed on ubuntu linux.
I created a virtual host on port 443 and I want all telnet indications to that port to be listed in the access log.
so for example if I telnet to that port on port 443 and I don't write…

ufk
- 333
- 3
- 8
- 31
1
vote
1 answer
Get Unique IP Address and # of Access
I found the following code to see which IP Addresses has the highest hits:
FILE=access.log; for ip in cat $FILE |cut -d ' ' -f 1 |sort |uniq; do { COUNT=grep ^$ip $FILE |wc -l; if [[ "$COUNT" -gt "500" ]]; then echo "$COUNT: $ip"; fi }; done
The…

jaYPabs
- 299
- 1
- 4
- 20
1
vote
2 answers
Prevent all access/IP logging in Apache2
Is it possible to configure Apache2 to prevent logging any IP addresses or other information from user web requests, essentially making all users of a site anonymous?

caine
- 11
- 1
1
vote
1 answer
Centralized apache logging with rsyslog
I maintain many virtualhosts (over 60) hosted on a Centos server running Apache. The virtualhosts gets created using Plesk, which creates separate log files for each domain using the following pattern…

Giorgio Previtera
- 259
- 1
- 4
1
vote
1 answer
Log DNS queries (Source IP, Record Type, Hostname) using iptables
I'm looking for a way to log DNS queries using iptables for vpn users.
What I'm looking for is to record in the syslog the source IP, the Record type and the domain name for new DNS queries.
I've had a look at http://software.klolik.org/xt_dns/ but…

user1167223
- 171
- 5
- 15
1
vote
1 answer
Daemontools - logging stderr and stdout separately
According to the documentation that I could find, daemontools' recommended way to capture stderr (or any other file descriptor) is to redirect it to stdout. If your service has a log/run script, your daemon's stdout will be piped to it.
This…

mikewaters
- 1,175
- 1
- 14
- 27
1
vote
1 answer
How does one send Sonicwall firewall logs via gmail?
We have a Sonicwall TZ215 that allows configuration of the logs and alerts to be sent to admin addresses. However, we only have gmail/google accounts available to us and there is no option for enabling SSL TLS required by gmail.
Since this is…

mcheck
- 13
- 4
1
vote
1 answer
Limiting the MySQL error log file size
I'm using MySQL enterprise edition for large database. When running several queries following error message logged into error log file.
Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is…

Sathiska
- 113
- 2
- 4
1
vote
2 answers
How to use AWK to generate bandwidth report in Apache
I have my Apache logs set up like this:
LogFormat "%v %t %I %O" billing
How can I use AWK to generate a report which shows me the total bandwidth (received + sent) in MB per virtual host?
Here's an example log output:
bob.com [3 JULY 2013] 903…

James
- 13
- 3
1
vote
0 answers
Using Windows Multipoint Server 2011, Is there a log for number of times a program has been run?
Is there something built-in to Windows MultiPoint Server 2011 to log which users have logged in, how long they've been logged in and which programs they've run?
I'd even settle for a simple run count for all applications - not even user…

Canuk
- 183
- 1
- 1
- 7
1
vote
2 answers
IIS logs dont log all selected values?
I'm trying to get the client ip address. I have a number of options selected to log. In fact, I have 15 options selected, but I never get more than 12 options printed out. I also don't think I'm getting the client ip, even though it is selected. Can…
Nona Urbiz
1
vote
2 answers
Is there a way to log all files that are created on a W2K8 server?
I've got a W2K8 server with some IIS apps that are creating a lot of files. I would like to monitor what files are created and how big they are. Is there a tool I could use to log all files that are created on the system?

Kees C. Bakker
- 133
- 5