Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

parsing log files in to a spread sheet

$
0
0
Hi Guyz,
I need to extract only the data/time, uid , and the message at the last " invalid password format", to a spread sheet.
this is one of the lines from a log file from which i need to extract them.
i need this message to be clearly formatted in the spread sheet.
can you please help me with this....ty

Code:

AuthReject agsosg98 [15/Oct/2012:10:45:54 -0500] "10.6.40.11 uid=e420839,ou=people,ou=some name,ou=organizations,dc=something,dc=com" "ag-agsosg84-wid2-dev1 GET /home" [] [7] {"code":706051103,"msg":"Invalid password format"} [] []
Moderator's Comments:

Please use code tags when posting data and code samples!

Viewing all articles
Browse latest Browse all 16232

Trending Articles