A log file is a file, often in clear text, which is generated by a software process to record some specific details about the workings of this process.

learn more… | top users | synonyms

-2
votes
1answer
28 views

Bash Script to Compress / Transfer / Remove Log Files [on hold]

I am currently using chronolog to set log file names for Apache with date. They are in the following format: /WEB/LOGS/APACHE_ACCESS_YYYY-MM-DD.log /WEB/LOGS/APACHE_ERROR_YYYY-MM-DD.log I would ...
1
vote
1answer
25 views

How to get rid of network broadcasting of port 17500

I get the following in my VPS logs Aug 11 11:29:22 sv1254 kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:f6:f3:49:7e:0a:54:08:00 SRC=178.162.203.19 DST=255.255.255.255 LEN=131 ...
0
votes
1answer
16 views

unknown client in my error.log

I have recently reinstalled my VPS OS and at present do not have any websites in my public_folder. In order to investigate a dovecot error which of course is not my question here, I issued tail -n 20 ...
1
vote
0answers
43 views

nginx logging: Is there a way to log request time in milliseconds since Unix epoch?

I'm aware of the $msec logging parameter which gives the request time as seconds since Unix epoch with millisecond granularity. However, the format of this includes a period '.' e.g. '1407233265.472' ...
1
vote
3answers
52 views

network usage per user in linux [duplicate]

I am administrator of an openSUSE linux server which is used by many people in our company. Today we find out that yesterday one of the users use too much of bandwidth and its important for management ...
3
votes
2answers
463 views

How to do a reverse DNS lookup on my Apache logs?

Reverse DNS lookups are turned off inside Apache, now I want to see where IPs are from in the logs. How can I easily convert the IPs of my older Apache logs into hostnames?
0
votes
0answers
16 views

Set CMTrace Font

Might be a bit of a long shot but I was wondering if anyone knew of, or could speculate on, a way to change the default font of CMTrace. It seems to use some Sans-Serif font. I'd like to change it to ...
1
vote
2answers
46 views

Incremental file copy on Windows

Is there an effecient way to mirror text log files between two Windows servers? I'd like to ship the logs off a production server to another server for near real-time analysis. The log files are 1 ...
0
votes
0answers
13 views

windows GUI app open “fake log file” redirect log to tcp socket?

Lots of windows GUI application can save log to a local log file, but the log file have to be file in local driver or network mapping driver. for example: c:\log.log I want to know whether it is ...
2
votes
2answers
188 views

How to split logs according to patterns?

I would like to be able to split log files according to a pattern found in them. For example process all logs and look for /(\w+)\s to match /myresource but exclude /myresource/anythingelse, to ...
1
vote
1answer
67 views

Apache logging not working

After upgrading from 2.2.7 to Apache 2.4.9 seems that logging doesn't work properly. Only things which are logged are modsecurity and fcgid events, but nothing from Apache like file not found errors. ...
0
votes
1answer
46 views

Postfix log showing same error every 5 minutes

I have an error in my mail.log (/var/log). I'm using postfix. I am only using it to send email from my web app (Python/Django) for registration (I haven't configured for inbound, the MX isn't pointing ...
1
vote
2answers
365 views

Cloud mapping experiment. Contact research@pdrlabs.net in the access logs

54.204.131.75 - - [09/Jul/2014:17:53:43 +0100] "HEAD / HTTP/1.1" 200 283 "-" "Cloud mapping experiment. Contact research@pdrlabs.net" A new line in my access log the other day. As far as i can tell ...
1
vote
1answer
33 views

apache error and access logs are missing, what could be the cause and how can I recreate them?

I've been given a task to understand why 2 CentOS web servers running apache 2.2.3 are experiencing very high loads on specific occasions. The first thing I checked was /var/log/messages but then I ...
-3
votes
1answer
49 views

Keeping your server safe [closed]

I have a typical vps server with some custom sites on it running on port 80, a mail server, I don't have a DNS server and it is a default ubuntu 12.04. I don't have any admin panel, I am doing all the ...
1
vote
1answer
21 views

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 ...
0
votes
0answers
19 views

CustomLog responds but there are no output on client

So my friend had a server that responds incorrectly, for example this request: time curl -vv 'http://x.x.x.x/~a/fsocial/json_eod_per_code/PTBA-2014-2-c.json' * Hostname was NOT found in DNS cache * ...
0
votes
2answers
55 views

Explaining postfix entries in syslog

My syslog is absolutely crammed with postfix messages like : Jun 28 10:27:07 myserver postfix/smtpd[28830]: connect from unknown[180.215.170.141] Jun 28 10:27:07 myserver postfix/smtpd[28830]: ...
0
votes
0answers
77 views

RFC 5424 Syslog Viewer

I've been looking for a log viewer that understands syslog messages, specifically in RFC 5424 format (including structured data elements), and ideally allows live monitoring (tail like) and ...
0
votes
1answer
71 views

Tomcat localhost_access_log.txt encoding

I run my web-app in Tomcat 7 and in the localhost_access_log.txt file I have the following lines 0:0:0:0:0:0:0:1 - - [25/Jun/2014:10:22:26 +0300] " Ì Èc£Ï!#ò2Tç¡$EI «àµ«]ëñʯ¯Ù (ÌÌÀ+À/ À " 400 - ...
0
votes
3answers
105 views

Tool to analyze postfix maillog [closed]

I have a mailserver running on iRedMail. Recently we have some issues that people reporting they would receive phisihing emails from us, which haven't been sent by the users they are saying the are ...
-1
votes
2answers
44 views

Parse Apache logs for specific verbiage within the last hour

I'm looking to parse my /var/log/httpd folder which contains a lot of Apache log files. I'm looking for specific events within the last hour. I've tried the below, but I didn't have any luck. grep ...
0
votes
2answers
87 views

how to manage the whole /var/log for centralization? [closed]

I have several servers (Linux, various distributions managed by different people) which logs I would like to centralize in splunk>. The logs are gathered in /var/logs but the sources either update ...
-1
votes
3answers
54 views

Why a sed command stop my log file to be written to?

I launch on a Gnu/Linux server an application myApp: ./myApp &>myApp.log & Of course, the log file will soon become huge. I would like to use sed to reduce it (I'm aware of logrotate ...
1
vote
2answers
44 views

Revover original email from Sendmail log

I have a website the contact form has been failing silently for two weeks (Wordpress + Contact form 7). Apparently updating to Contact Form 7 made the assigned email to fail ...
1
vote
1answer
134 views

Apache log - file does not exist

I have quite a few of these in Apache logs piling up every day: [Mon Jun 09 20:42:58 2014] [error] [client 180.153.214.181] File does not exist: /home/user/public_html/ajax.googleapis.com, referer: ...
0
votes
0answers
42 views

Deleting log files from an AWS RDS Postgres instance

How can I delete logs from an RDS Postgres instance? I just noticed that my instance is displaying the message, storage-full. I can find any descriptions of how to deleted the log files, which I think ...
0
votes
0answers
301 views

SCCM 2012 R2 - OSD Task Sequence failure on physical computers

I'm trying to deploy windows 7 with SCCM 2012 R2 to physical desktops and laptops. But the task sequence keeps failing, no matter what I try. When I try it on a VM it works fine. However, when I try ...
0
votes
1answer
42 views

What would be the best way to correlate logs and events on several hosts?

I'm trying to build a log correlation system on multiple hosts. SEC seems interesting but I don't know if it will cover my needs. How could I correlate system events, logs, network events, etc. on ...
0
votes
0answers
48 views

GET /wpad.dat entries flooding my access_log

I have a small LAN of some 30 users in it with proxy auto configuration enabled and working. Two of them are requesting wpad.dat file too rapidly at a pace of 30 times per second. 10.1.14.246 - - ...
0
votes
1answer
35 views

Include the request URI in catalina.out?

Running Tomcat 7. I have errors in catalina.out that I can't troubleshoot because I'm not sure which web request is causing them. Is there any way to capture more details about a given exception ...
0
votes
2answers
148 views

Zabbix doesn't update value from file neither with log[] nor with vfs.file.regexp[] item

I am using Zabbix 2.2. I have a very specific environment, where I have to generate desired data to file via script, then upload that file to ftp from host and download it to Zabbix server from ftp. ...
0
votes
1answer
50 views

How to copy traffic from old server to new server?

We are moving our server farm to AWS - and I want to fully test the new servers before sending them live traffic. Question is: How would I trap all incoming traffic and copy it to the new servers? ...
0
votes
1answer
170 views

Zabbix: Trying to monitor run time of a script, how is it done?

I'm a total noob to Zabbix and this is my first assignment... I need to build a monitor using Zabbix and monitor how long one script runs. The script looks like that: ...
1
vote
1answer
36 views

Server Log Format

I'm trying to understand this server log line from cache_access.log. What does each field represent, specifically why are there three IPs listed and what does each represent? [HIT - - - -] ...
0
votes
2answers
85 views

How can I send access.log files automatically to a specific email address after rotation?

I am running apache 2.4.9 on ubuntu 14.04. Apache rotates log files and archives them, so I end up with something like: access.log.2.gz, ... access.log.N.gz. The problem with this is that it is hard ...
2
votes
1answer
243 views

Hide get parameters from access logs on nginx

I would like to enable access log in order to see statistics about our service, the problem I'm having is that the $request on the access logs format, saves all the GET parameters (which makes sense ...
1
vote
2answers
243 views

IBM DB2 9.7, cannot increase LOGFILSIZ or LOGPRIMARY values

I am using IBM DB2 9.7 LUW database. My current database configuration values for Circular logging is as follows: LOGFILSIZ: 1024 LOGPRIMARY: 13 LOGSECONDARY: 15 I get error that transaction logs ...
0
votes
3answers
109 views

store log files in the cloud, when servers are not in the cloud

We're looking at a long-term migration towards the cloud. The plan is to start small, and gradually move less essential parts of the infrastructure into the cloud. All good so far. Part of this ...
-1
votes
1answer
78 views

Howto join ssl_access_log and access_log? [closed]

Recently I discovered in my /var/log/httpd files called ssl_access_log and ssl_error_log. Now I always looked and scanned the regular access_log and error_log. Questions are? Do ssl_error_log and ...
0
votes
1answer
42 views

use do,while to make loop for each network adapter

I want to get RX and TX from each network adapter, so to get RX and TX from one network adapter, i used this commands : cat /proc/net/dev | grep 'wlan0' |awk '{if ($2) print $2}' | awk -v ...
0
votes
1answer
34 views

How to log mail client with Dovecot / Postfix

Does anyone know if it's possible to have Dovecot or Postfix output the mail client of a user? In Dovecot's variables list, I cannot find anything in that direction.
0
votes
0answers
76 views

Logparser - Getting average response time from microseconds

I have one month's worth of web server log files in the following format: #Fields: date time cs-uri-stem cs-uri-query c-ip cs(Referer) sc-status sc-bytes time-taken 2014-03-12 17:34:02 ...
0
votes
1answer
56 views

Security Log eating RAM

I've been troubleshooting some hellacious memory issues on a lot of servers in my domain as of late. I recently found this program called RAMMap from Sysinternals and it showed that my entire ...
1
vote
1answer
68 views

unable to start zabbix_server on OSX 10.9

I followed the zabbix docs available on https://www.zabbix.com/documentation/doku.php?id=2.0/manual/installation/install Installation from source I have the web part up and running and I get Zabbix ...
2
votes
1answer
287 views

Different permissions per log file when using rsyslog

Is it feasible to define different permissions per log file, using rsyslog? $FileCreateMode applies to all, but I want different permissions for a specific file.
1
vote
2answers
77 views

Decode all records from wtmp

The Linux log /var/log/wtmp according to the man page http://linux.die.net/man/5/wtmp stores "utmp" events for many system events, like logging into it (LOGIN_PROCESS ut_type), changing runlevel ...
0
votes
2answers
92 views

nginx access.log only kept for a day

I'm using goaccess on Ubuntu Server 12.04 to view my analytics on my web server. I just run the following utility: goaccess -f /var/log/nginx/access.log However I'm only seeing one days worth of ...
0
votes
0answers
43 views

Which Log file to check for strange Ubuntu server behaviour (offline for 5minutes at random times)

I am having problems with my Ubuntu 10.04.4 LTS server. My monitor application claims it goes off every morning at about 4 AM for 5 to 10 minutes. I am not sure where to start the troubleshooting ...
0
votes
2answers
131 views

How to collect remote windows logs as a non-admin

I am trying to collect logs from remote windows machines (Windows Server 2008R2 and Windows 7) and I can't figure out a way to do so in such a way that I should still be able to accomplish this ...