Questions tagged [log-files]

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.

A log file is a file which is generated by a software process to record some specific details (events) about the workings of this process. Most logfiles are plain, human-readable text files, some however are using a binary format to conserve space and need specific treatment for post-processing. (Example: Unix login history in utmp/wtmp format)

A log file can be categorized into several types:

  1. Access log which records information related to the usage of the service provided by this process.
  2. Error log which records error conditions.
  3. Info/Debug log which records more detailed information as compared with other logs.
  4. Transaction log to document a chain of events, this often is required to be immutable to avoid later tampering.
  5. redo logs, containing the complete information to replay a chain of actions, often used where incomplete data transactions would lead to inconsistent data, for example in file systems or databases.

The main two goals of creating and maintaining log files are:

  1. Finding and debugging problems.
  2. Gathering usage information.

Depending on the frequence of events and the level of detail, logfiles may be growing very quickly, and usually require a strategy for managing their growth.

Depending on special reqirements, log-files may go to specialized devices to meet criteria of speed or immutability.

1103 questions
-1
votes
1 answer

HTTP request logs needed for anaylsis

I'm looking for detailed server logs of HTTP requests, so that I can find the most common HTTP request header values for fields such as User-Agent, Accept, Accept-Charset, etc.. I found a resource for the User-Agent field, but nothing for the rest.…
-1
votes
3 answers

Web-based log parser for real-time monitoring?

Running Windows 2008. I'm using Google Analytics which is perfect, except for: 1. data is 24 hours old 2. cannot monitor web services My best solution is to use something like LogParser, which is excellent especially for forensic auditing.…
ANaimi
  • 309
  • 1
  • 2
  • 6
-1
votes
1 answer

Trying to colate click fraud evidence

We've recently had some very heavy and unexpected Google adwords spikes recently, so I'm trying to work through the server logs to find out if we've been subject to click fraud. What I don't know is what I'm looking for. I know the dates, but not…
rick-pri
  • 23
  • 1
-1
votes
1 answer

find a date in a log file

I want to find a date in a log file and print from that date till the end of log file and that date is 5 days prior to the end of log file which is 27/Dec/2002 the log file is like this : 213.64.56.208 - - [01/Jan/2003:05:42:53 +0100] the whole…
matarsak
  • 37
  • 5
-1
votes
1 answer

http server files download counter without website

I'm looking for a statistics tool on server side (IIS7) with following requirements: Displays file downloads via http (no websites to click on) Can set specific range to display results (download count) Is there such thing? I don't need tons of…
-1
votes
1 answer

What shows up on network printer log

I sent a document to our HP network printer at work. I just typed a doc in word, printed it, and deleted it. Can it be recreated? What shows up on the log? The actual doc or just the time, number of pages and the computer it came from?
Tim
  • 1
-1
votes
2 answers

Website access log in Linux/CentOS?

I cant locate the file containing a log of all the IP addresses from where people have accessed my website. I'm running Redhat / CentOS linux system
siliconpi
  • 1,807
  • 6
  • 32
  • 46
-1
votes
1 answer

Perl script to restart Apache in Windows

Is this all I need to restart Apache from within my Perl script? system("C:\\Apache24\\bin\\httpd.exe -k restart"); I tried to verify that this actually restarts Apache, but cant find my Apache log file. And looking in Windows Task Manager under…
MeSo2
  • 254
  • 1
  • 3
  • 18
-1
votes
2 answers

ESXi rotate logfiles by hours

ESXI: 70u2 Hi, I can't found "/etc/logrotate.conf", I understand he don't exist in this version. In the file "/etc/vmsyslog.conf" I can specify some options, the split by size has been for max but not for minimum. If the file don't grow to specific…
CH06
  • 13
  • 1
  • 5
-1
votes
1 answer

Which tool ISPs use for browsing logs?

It is known that ISP has to log various network data for various purposes, such as law enforcement needs. However, what are some examples of software tools used by ISPs to browse this huge amount of network logs? In addition, how time-consuming is…
Quirik
  • 99
  • 2
-1
votes
1 answer

Can somebody help me on how to zip these individual log files within while loop

I am able to break o/p of a big logfile (filename.log) into individual log files of 1 min each (filename.log.140108) using while loop, but I want these files to be saved as zip files due to capacity issue on VM. Can anyone pls help…
Nakul
  • 1
-2
votes
1 answer

Only 2 client IP addresses in IIS log file

I am a programmer asked to analyze IIS log files from a Windows 2008 web server. The domain is a state agency and users are from the agency's intranet, plus redirections from the web. Each log file covers one 24 hour period. On day one, there are…
-2
votes
3 answers

How to set max size for a specific file in linux

I have an application which will write to a particular log file as long as the user session is running. What i am looking for is to put a max cap on the size of a log file so it does not grow beyond a particular size. Two scenarios which will be…
-2
votes
1 answer

No response after executing .sh file and no logs are stored

I have RHEL 6.5 server. I am trying to upgrade a software. As per the procedure, i executed the file ./upgrade.sh. I do not see any response from CLI or GUI. Ideally a upgradation window should pop up. But that is not happening. Moreover, I am…
bgv
  • 77
  • 1
  • 3
  • 6
-2
votes
1 answer

Rotate Old Files

I have a cron to backup 3 files every Hour, they are SQL backups - in the format name-name-bak-2015-12-1919:30:01.sql I need a way to rotate and delete the older ones say every 7 days? Thought of using log rotate and looking for advice I'am Using…
1 2 3
73
74