Questions tagged [logging]

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.

2851 questions
1
vote
0 answers

Why empty fields in Rsyslog?

In our Rsyslog database, we are using rsyslog version 5.8.6, we have so many empty fields for some columns, for example, EventBinaryData, EventSource, EventUser, EventCategory, all these fields are empty. And there are many fields are 0s, for…
Lzhan107
  • 11
  • 1
1
vote
1 answer

mysql logging activity from specific user or ip

I have mysql server. The server is accessed by my application, and by external auditor (person using mysql workbench). The auditor has specific user and password and dedicated IP and it is granted only for select privileges. I need to log the…
darko petreski
  • 289
  • 1
  • 2
  • 8
1
vote
0 answers

Writing templates for rsyslog

When I'm trying to send log from rsyslog to syslog-ng, the hostnames are getting shortened. Instead of inbound.server.com, I only recieve inbound at the syslog-ng side even though I have FQDN option enabled at receiving side. THe syslog-ng servers…
Abhijeet Rastogi
  • 236
  • 3
  • 20
1
vote
4 answers

greping multiple lines from MySql binlog

I have binlog from MySQL and I need to output certain time frame into a seperate file, how would I do that? here is sample of what binlog file contains: # at 460 #130120 0:09:17 server id 1 end_log_pos 487 Xid = 79514636 COMMIT/*!*/; # at…
alexus
  • 13,112
  • 32
  • 117
  • 174
1
vote
1 answer

Ubuntu 12.10 - Can't find my logs

Up until few days ago, my Ubuntu 10.04 worked like a clock. Then I switched to Ubuntu 12.10 and things don't work the same way with this setup. First, the new system wasn't logging any mail activity, so I had to edit /etc/rsyslog.d/50-default.conf…
bearcat
  • 163
  • 1
  • 4
1
vote
2 answers

How do I list the N last successful and unsuccessful login attempts for my user when I log in with e.g. ssh on Linux?

This seems like such a basic security feature I'm surprised it's not already standard.
Vegard
  • 113
  • 1
  • 5
1
vote
3 answers

7zip logging & left-over .tmp files

I have a batch file that runs nightly to compress some PST's, it uses 7zip & generally is pretty successful. However it tends to create left-over .tmp files (9 over 2 days), I want to delete these. According to multiple 7zip forums, patch requests,…
gregg
  • 629
  • 4
  • 11
  • 26
1
vote
3 answers

Apache httpd server 'is it possible': Alert on specific condition in access/error log

I'm just wondering is it there some module which can detect certain event in access/error log and if it matches it, to send an email with information. example: I want to detect when someone makes requests like this :…
1
vote
0 answers

iptables: how to decide what to log for a web server?

There are many ways to log traffic for a web server. For example, if I want to log all incoming traffic, I can place the following line as the first rule appended to the INPUT chain: -A INPUT -j LOG --log-prefix "IPTABLES: " --log-level info If I…
Question Overflow
  • 2,103
  • 7
  • 30
  • 45
1
vote
3 answers

What is the simplest way to monitor log files for (a) string/regex matches AND (b) lack of output?

On a single Linux server, there are often lots of independent (perhaps interlinked) services outputting numerous logs to files at known paths. Sometimes bad stuff happens and is written about, to the logs. Sometimes the services lock up and the logs…
wodow
  • 590
  • 1
  • 6
  • 18
1
vote
1 answer

What is the merit of logging SSL protocol and cipher?

I am hosting a site that allows users to connect with either HTTP or HTTPS. The default apache configuration generates a separate log file for request made through HTTPS with two additional information, namely protocol (e.g. TLSv1) and cipher (e.g.…
Question Overflow
  • 2,103
  • 7
  • 30
  • 45
1
vote
0 answers

Cross-referencing charts (e.g. munin) with log files

Is there a charting package like Munin (or an addon for it) that will let me click on a graph period and then see all the logs on that box for that period? e.g. if I see a huge spike in disk I/O 12 hours ago I'd like to be able to instantly "zoom…
poochie
  • 19
  • 2
1
vote
1 answer

Logging Apache2 payload to evaluate SOAP message

I am trying to log webservice specific information with Apache (Apache acts as a load-balancer by use of mod_jk). For instance I want to know how long the responsetime of each webservice-call takes. To do this I definitely would need to know the…
Phil
  • 11
  • 2
1
vote
1 answer

Apache with multiple domains, single IP, VirtualHost is catching the wrong traffic

I have a SOAP web service I am providing on a apache web server. There are 6 different clients (IPs) that request data and 3 of them are hitting the wrong domain. I am trying to find a way to log which domain name the requests are coming…
apuschak
  • 11
  • 2
1
vote
1 answer

Confusing traffic in netstat, nothing in logs

Just had a confusing couple of minutes! I was monitoring a screen (the gnu screen) running "netstat -a" and I noticed that there was one connection connected to http (port 80), fine. But when I checked my apache logs there's nothing! Neither there…
Armer
  • 11
  • 1
1 2 3
99
100