Search Results

Search: Posts Made By: kevinmccallum
2,071
Posted By kevinmccallum
Awesome. Actually I fixed it by changing the /...
Awesome. Actually I fixed it by changing the / slashes in your original line to be | pipes instead. All good to go now. Thanks so much for help.
2,071
Posted By kevinmccallum
Thanks for quick reply. But that sed code is...
Thanks for quick reply. But that sed code is giving me this error:

" sed: -e expression #1, char 11: unknown option to `s' "

And actually I already have variables for the two entries that I...
2,071
Posted By kevinmccallum
How to add static lines to short file?
I've got a simple log file that looks something like this:



And I need to append it to look like this:



So I just want to add a timestamp and a static (non-variable) word to each line...
4,066
Posted By kevinmccallum
RDCWAYX....?? Shouldn't there be a closing...
RDCWAYX....?? Shouldn't there be a closing single-quote somewhere in that awk line??

---------- Post updated at 10:12 AM ---------- Previous update was at 09:42 AM ----------

SCRUTINIZER...?? ...
4,066
Posted By kevinmccallum
Thanks for the quick suggestion.......but I can't...
Thanks for the quick suggestion.......but I can't seem to get that to work. I replaced the access.log file name with my file name. But when I run it, it just hangs with no output. I tried moving...
4,066
Posted By kevinmccallum
How to select only the most frequent instances of a variable string in a file?
I've got a web access file that I want to grep (or awk or perl or whatever will work!) out the most frequent instances of unique IP entries. Meaning the file looks something like this:



I'd...
7,352
Posted By kevinmccallum
How to search backwards in a log file by timestamp of entries?
Hello. I'm not nearly good enough with awk/perl to create the logfile scraping script that my boss is insisting we need immediately. Here is a brief 3-line excerpt from the access.log file in...
Showing results 1 to 7 of 7

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