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
2 answers

Sent mail/login log for roundcube webmail

Does roundcube webmail have a log for logins, or for sent mail? I searched everywhere but could only located the "error log" directory in roundcube, not one for logins or for sent mail. I'm trying to locate possible account theft, and seeing the IP…
Robin Rodricks
  • 560
  • 2
  • 12
  • 27
1
vote
0 answers

Using OSSEC to monitor windows services

I'm using OSSEC to trying and monitor services on servers such as Windows Event Log. I would like to know if a service has stopped or started and get emailed accordingly. I have tried a rule that alerts on event Id 6006 (The Event log service was…
Richard
  • 133
  • 10
1
vote
2 answers

URL logging on DNS server?

Following this setup http://www.g-loaded.eu/2010/09/18/caching-nameserver-using-dnsmasq/ I was able to configure a DNS resolver server using dnsmasq for my network. The setup works correctly and logs DNS name resolution. I would like to make this…
iTech
  • 355
  • 4
  • 15
1
vote
1 answer

GET Request for /server-status every second

I'm using an Linux server running Apache and Plesk and in the access_log, I'm seeing the following every 1 second; 127.0.0.1 - - [08/Sep/2014:14:20:06 +0000] "GET /server-status HTTP/1.1" 200 15843 "-" "ELinks/0.12pre5 (textmode; Linux; -)" I was…
1
vote
2 answers

Access logs of sftp on centos

Is it possible to log the sftp logged in informations (Who accessed, when and from where ) Like which sftp user have logged on to the file server , This may also contain information such as ip address of the user. The log may also give info such as…
echoashu
  • 115
  • 1
  • 7
1
vote
1 answer

logrotate: neither rotate nor compress empty files

i have just set up an (r)syslog server to receive the logs of various clients, which works fine. only logrotate is still not behaving as intending. i want logrotate to create a new logfile for each day, but only to keep and store i.e. compress…
Andrew Tobey
  • 253
  • 1
  • 2
  • 8
1
vote
1 answer

Monit cannot connect to Solr/Jetty instance

I have my Solr/Jetty up and running well on Ubuntu 12.04. I am trying to hookup my monit conf to monitor it, but it is having trouble connecting to the service. I have Solr running on port 8983 and can connect via http://localhost:8983/solr/, but…
coneybeare
  • 621
  • 1
  • 7
  • 14
1
vote
0 answers

Nginx shows no user agent string

I have been dealing with an issue on one of my servers for quite a while now. In short, the server receives massive spikes in load - up to 50 - but the site gets almost no traffic. I know this can be down to poor coding standards, large PHP…
DavidT
  • 111
  • 3
1
vote
0 answers

Graylog2 date extractor from tab-delimited file

I have a tab-delimited logs with such messages: 2014-06-01 00:00:56 192.168.1.1 968 http://yandex.ru I can extract date and time with regexp (\d{4}-\d{2}-\d{2}\s*\d{2}:\d{2}:\d{2}) but when I try to convert it to timestamp with pattern…
Michael
  • 43
  • 1
  • 2
  • 5
1
vote
1 answer

Perl: Log every execution of all scripts

Is there a way to log every execution of perl scripts on the complete server? I am investigating a possible security issue and therefore want to log every perl execution. Is something like this possible? Thanks in advance PS: Running CentOS 6.5…
mario.schlipf
  • 185
  • 2
  • 9
1
vote
2 answers

Rotating Tomcat logs on Solaris with logdam creates growing block of nulls

I need to rotate some Tomcat logs in Solaris. When I try to use logadm with the -c option, the rotation seems to occur correctly, but then catalina.out becomes a block of nulls the same size as the rotated part, and new data is written after these…
Joshua Swink
  • 162
  • 1
  • 8
1
vote
1 answer

Graylog2 server cannot connect to Elasticsearch

I try to follow Digital Ocean manual except using last versions of components. My elasticsearch.yml: cluster.name: graylog2 network.bind_host: localhost network.publish_host: localhost script.disable_dynamic: true Elasticsearch says it is ok. Then…
Michael
  • 43
  • 1
  • 2
  • 5
1
vote
1 answer

apache2: log requests from LAN to separate logfile

I would like to separate apache 2.2 log entries in 2 log files: requests from LAN (192.168.0.0/16) should go in a lan-access.log, and the rest in the default access.log How can I achieve that? I've tried to use SetEnvIf and conditional logging as…
mp04
  • 187
  • 8
1
vote
1 answer

OpeVPN log connecting client IPs

I looking for the best solution to log all connecting client's ip to either a text file or a database who logs into my VPN server. Under the IP I mean the public WAN IP on the internet where they are connecting from. A hack could definitely be to…
TossUser
  • 17
  • 1
  • 3
1
vote
2 answers

How to go about rotating logs which are arbitrary named and placed in deeply nested directories?

I have a couple of hosts which are basically a playground for developers. On these hosts, each of them has a directory under /tmp where he is free to do all he wants - store files, write logs etc. Of course, the logs are to be rotated, or else the…
Roman Grazhdan
  • 334
  • 3
  • 15