Questions tagged [logfiles]
215 questions
3
votes
1 answer
Please help me to read ib_logfile0, ib_logfile1 and ibdata
Currently I am trying to get the lost records that have been deleted from mysql database.
I have viewed the entries in logfile1 and logfile0 it seems to be correct.
Any viewer or conversion that can help to create a txt file or be able to read the…

user1244761
- 31
- 1
- 2
3
votes
6 answers
How can I use bash (grep/sed/etc) to grab a section of a logfile between 2 timestamps?
I have a set of mail logs: mail.log mail.log.0 mail.log.1.gz mail.log.2.gz
each of these files contain chronologically sorted lines that begin with timestamps like:
May 3 13:21:12 ...
How can I easily grab every log entry after a certain date/time…

Brent
- 16,259
- 12
- 42
- 42
3
votes
1 answer
Anomaly detection using mapreduce
I'm new to Apache Hadoop and i'm really looking forward to explore more features of it. After the basic wordcount example i wanted to up the ante a little bit. So i sat down with this problem statement which i got by going through Hadoop In Action…

Pavan
- 658
- 2
- 7
- 28
3
votes
4 answers
awk a huge logfile from behind until timestamp
i want to get the last part since a given timestamp "t0" from a possible huge logfile (>50..1000mb):
__________________
|1 xxx xxx ... |
|2 xxx ... | uninteresting part
|4 ... |
|... |
…

kraiz
- 2,178
- 1
- 22
- 22
3
votes
4 answers
Need to filter log to search for the lines from the last 5 minutes
2011-04-13 00:09:07,731 INFO [STDOUT] 04/13 00:09:07 Information...
Hi everyone. I would post some of my code, but I don't even think it's worthy of posting. What I'm trying to do is that I've got a log file with lines like above. What I need to…

toneman
- 45
- 5
3
votes
7 answers
Best approach to collecting log files from remote machines?
I have over 500 machines distributed across a WAN covering three continents. Periodically, I need to collect text files which are on the local hard disk on each blade. Each server is running Windows server 2003 and the files are mounted on a share…

John Channing
- 6,501
- 7
- 45
- 56
3
votes
1 answer
Partially re-create Risk-like game based on incomplete log files
I'm trying to re-create this conquerclub (Risk-like) game:
http://conquerclub.barrycarter.info/ONEOFF/7460216.html
In other words, I want to know who owned each territory at each point
in time, and how many troops they had on that territory. My…
user354134
3
votes
0 answers
how to repack logfiles with git efficiently
I have several files on a server that grow permanently (logs, db-dumps, ..) and I want to make a full backup with history in a repository.
Simple diffs between two states are pretty small, the files themselves too, but somehow the git repository …

sigma
- 117
- 7
3
votes
2 answers
extract data from log file in specified range of time with awk getline bash
I was searching for parsing a log file and found what I need in this link
extract data from log file in specified range of time
But the most useful answer (posted by @Kent):
# this variable you could customize, important is convert to seconds.
#…

kingk110
- 33
- 1
- 6
3
votes
1 answer
How can have SQL Server tail a log file and write new rows to a table?
I have an application that creates a text log file and I have a daily SQL Server job that truncates a log table and uses bulk insert to load the current days logs. The log file is written to by many threads and it's hard to read without manually…

KBrianJ
- 55
- 6
2
votes
2 answers
C: multi-processes stdio append mode
I wrote this code in C:
#include
#include
#include
#include
void random_seed(){
struct timeval tim;
gettimeofday(&tim, NULL);
double t1=tim.tv_sec+(tim.tv_usec/1000000.0);
srand (t1);
}
void…

Kevin Peron
- 33
- 4
2
votes
2 answers
Python Client/Server to stream logfile updates in realtime?
We have applications on Solaris 10 servers that generate text logfiles. We need to stream these logfiles in realtime to a central server for monitoring of new events.
Ideally we'd have a NFS-mount, and all our system would write their logs to there,…

victorhooi
- 16,775
- 22
- 90
- 113
2
votes
2 answers
Powershell: how to stream, paginate text from very large files?
I've got some huge log files that I need to view. I don't want to attempt to open them up in an editor, and I'd like to be able to scroll through them in a paginated manner. It seems as if there is an alias for more in powershell but piping to it…

bwerks
- 8,651
- 14
- 68
- 100
2
votes
2 answers
Highlighting log of threaded application
I have log file of multi threaded application. Each line has a well know format (e.g. 3rd field is thread id). while one of fields is thread id. I hope that I'm not trying to reinvent the wheel :)
Any way, to easy reading of the file, I thought of…

dimba
- 26,717
- 34
- 141
- 196
2
votes
1 answer
Does android mobile has any error log file to debug cause for auto switch off?
Sometimes we see the device restarts automatically, while few other times I had found it switching off after long time, even battery was not low.
So if we want to trace back of what actually has caused this, does we have any log file in device…

Pritam
- 2,367
- 5
- 34
- 50