Search Results

Search: Posts Made By: x-plicit78
1,286
Posted By x-plicit78
So far i have this solution, but it isnt...
So far i have this solution, but it isnt working...it should grab the ip counts, doing an average in 10 minutes...and outputting a result...

#!/usr/bin/perl

use strict;
use warnings;

my...
1,286
Posted By x-plicit78
Now in this time range i would like to know how i...
Now in this time range i would like to know how i could do the avg on this time range, or for a whole file, do it in a way that it goes throuhg the whole file.....going from 10-10 minutes, counting...
1,286
Posted By x-plicit78
And if i desire more than one?
And if i desire more than one?
1,286
Posted By x-plicit78
Log File
Hi All,

Having a log file with thousounds of lines as:

01-JAN-2009 15:06:06 15.64.3.22
01-JAN-2009 15:06:07 15.64.3.22etc...

How can i output a much smaller filtered list:

Grab the ips i...
2,816
Posted By x-plicit78
Date Pattern Match (replacement string)
Hello, i am splitting files and sometimes the string of the pattern doesnt exist in the input file it starts for example with 00:00:01. So the output is completely desorganized, is there any way of...
4,484
Posted By x-plicit78
Dear All, I have this code that gives me a...
Dear All,

I have this code that gives me a list and a count of duplicates in the range specified.
Is there a way of creating a generic pattern for hours/days? Can this range be fixed for a huge...
4,484
Posted By x-plicit78
Thanks! I changed the pattern to a time range...
Thanks! I changed the pattern to a time range like and got a strange output :



awk 'NR==FNR && $2 ~ /15:44:13/,/15:44:14/ {a[$3]+=1; next} END{for(x in a){print x,"->",a[x]}}' access1.log


...
4,484
Posted By x-plicit78
Thanks for the feedback, An automated...
Thanks for the feedback,

An automated solution would be the ideal, the files are too big and will be stored in archive. Od course in case of searching a specific range date date, the awk would...
4,484
Posted By x-plicit78
Thanks for the feedback, this is a brilliant way...
Thanks for the feedback, this is a brilliant way of treating the data, how could i seperate this log into smaller chunks, lets say seperate files based on hours or days, and f.e. release an alert if...
4,484
Posted By x-plicit78
Yes, that is exactly what i want. In the specific...
Yes, that is exactly what i want. In the specific hour a chunk of information, the time, date and its mapping to the ip address. Should the files be split into seperate files having for example the...
2,336
Posted By x-plicit78
Log File Analysis
Hi All,

Given a list of date and time, how can i split them in intervals of 1 hour. The input file is listed as below f.e.:


16-OCT-2009 09:11:47 10.65.4.24.
.
.
4,484
Posted By x-plicit78
How can i apply crono or cronotab to my data? I...
How can i apply crono or cronotab to my data? I think periods of 1 hour are the best to analze, dont you agree?

I should count the number of ips per hour......so the count i have already made :
...
4,484
Posted By x-plicit78
Could you please give me some advice on how i...
Could you please give me some advice on how i could get do a reporting procedure on the time and ip.....for example....count the ip number per hour...or change granularity to day or whatever, what do...
4,484
Posted By x-plicit78
Wow, this is super...Thanks! What if i...
Wow, this is super...Thanks!

What if i would like to capture just the ip, this syntax is complex!?
4,484
Posted By x-plicit78
Hi, Thanks for the feedback! Hmmm, its...
Hi,

Thanks for the feedback!

Hmmm, its the time below, and how can i apply this command to a file in unix shell ?

Regards
4,484
Posted By x-plicit78
Grepping log file
Dear All,



I have a log file that is dislpayed as:


<msg time='2009-10-14T05:46:42.580+00:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='mtdb_a'
...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 11:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy