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
Import IIS Advanced Logs into SQL
I'm using IIS 8.5 Advanced Logging and also logging some custom HTTP headers. How can I import the raw logs into SQL on a regular basis (i.e. every minute)? I want to avoid the overhead of ODBC logging, which Microsoft also recommends against. Is…

Mark Richman
- 286
- 1
- 5
- 15
1
vote
1 answer
Redirecting syslog facility to other facility
I have a syslog server, which separates logging informations according to hostnames. It can separate messages if it's in the 'local1' facility.
I have a mail server, which sends messages to the 'mail' facility. I would like to forward these messages…

Zoltan Szeder
- 98
- 1
- 9
1
vote
1 answer
View PHP error logs on VM - Vagrant CentOS via Puphpet
I have a Vagrant VM running CentOS, which was built from a puphpet file (config.yaml), and I'm trying to get the PHP error logs setup and accessible.
config.yaml - PHP section:
php:
install: '1'
settings:
version: '56'
modules:
php:
…

George Ortiz
- 21
- 1
- 2
1
vote
0 answers
PostgreSQL - Invalid byte sequence for encoding "UTF8": 0xe7 0x75 0x20
Here is the problem :
Everything worked fine with my postgresql system until I decided to click on the "rotate logs" button in the server status tab (from pgAdmin).
After that, I faced this issue, and cannot solve it.
I work on a Windows server…

Julo0sS
- 163
- 2
- 6
1
vote
1 answer
IIS Advanced logging: enable for a website but disable for a virtual dir below it
I've been googling for hours, but can't seem to find any info on this...
Is there a way I can enable "IIS Advanced Logging" for a website, but disable for a child virtual directory?
I tried "disabling" or even "removing" the "log-difinition" at the…

jitbit
- 407
- 2
- 6
- 18
1
vote
0 answers
Is it possible to limit what is logged in ODBC logging in IIS 6.0?
I am using ODBC logging in IIS 6.0. I cannot change that. Is there a way to limit it's logging to just the actual pages requested as opposed to every single tiny thing requested on a page? I don't need to know if some gif on page x was requested.…

johnny
- 2,328
- 9
- 37
- 57
1
vote
1 answer
nginx log request before processing
I have nginx server serving a lot of big files. I can see plenty of connections on the server. As it iw know, file to the accesslog is written after the request is completed.
Is there any way to log request before it is served? The problem is that…

Yarik Dot
- 1,583
- 12
- 26
1
vote
1 answer
Why does syslog-ng drop debug messages when logging remote?
In the local log output, I can see debug messages but these won't show up on the remote logging server. It seems to ignore these but it does print warning and error level messages just fine.
These are the local (Ubuntu 14.04.2 LTS) syslog-ng.conf…

foraidt
- 111
- 4
1
vote
2 answers
Apache Server Log File Issue
I'm a programmer for a company and their server specs are off limits to me due to IT restrictions. I know it's an Apache server running off a Linux environment. I have permissions to add/remove files and to look at the log files for the ones…

zfrisch
- 141
- 5
1
vote
2 answers
building a SIEM, should I send logs or get them from the gathering machine?
I am working in a Linux environment, I would like to gather all the logs from the machine pool on a unique machine X. There are several log files I need to move and I am not sure about the way I should do it.
Should I make the machines send the logs…

user3779430
- 121
- 2
1
vote
1 answer
Access to “Windows Security” logs for “eventlog” group
Security logs are not available for users in eventlog group. I've checked this down to security event log file. eventlog group has all permissions.
Unfortunately I cannot add my user to Administrators group.
Which local\domain policy can block this?

Rustam Abdullin
- 11
- 2
1
vote
3 answers
nginx log when specific referrer is present
Because someone steals content from our website, I need to create additional log file, that logs only if http_referrer contains specific domain.
Currently I have this:
if ($http_referer ~* (bad-domain.com)){
return 500;
}
But…

Nick
- 826
- 2
- 15
- 42
1
vote
1 answer
What's in the DNS Debug Log Message Fields
I've enable debug logging options on the DNS server, and I'm trying to parse through the output in dns.log. Here's a guide from technet on how to use server debug logging options, but I can't find anything authoritative as to what the standard…

KyleMit
- 488
- 4
- 9
- 22
1
vote
1 answer
Show blocked SMTP connections in Exchange 2010
Currently, I have an anonymous receive connector set up on my Exchange 2010 system that allows from an entire subnet. I'm looking to change this to only allow from specific IPs, but need to know when machines are being rejected. Currently, the…

Jason
- 46
- 4
1
vote
3 answers
How to grep (or other command?) for first instance to last instance in a log?
How does one grep/search a text file so that the results show the first line with the string, and then every other line until the last line with the string?
So, if I have a file that looks like this:
A
A
B
C
C
B
A
A
And I perform this command…

IVR Avenger
- 325
- 1
- 5
- 16