R
Rhugga
My perl is rusty and my regexps even rustier. I want to search and
replace a certain string from log files that I process and store into
oracle. Here is a sample entry:
Feb 14 11:14:05 db-0201 su: [ID 366847 auth.info] 'su oracle' succeeded
for root on /dev/???
The field I want to remove is [ID 366847 auth.info]
I don't know how large the ID number can be so I will just assume 2^64
and the auth.info part is standard syslog facility.priority.
Thanks for any help.
cc
replace a certain string from log files that I process and store into
oracle. Here is a sample entry:
Feb 14 11:14:05 db-0201 su: [ID 366847 auth.info] 'su oracle' succeeded
for root on /dev/???
The field I want to remove is [ID 366847 auth.info]
I don't know how large the ID number can be so I will just assume 2^64
and the auth.info part is standard syslog facility.priority.
Thanks for any help.
cc