SOLVED Log Viewer and SHELL Command
-
Hi,
We are using “Log Viewer” usually and quite useful. Tried to execute awk command for HTTPAccessLog but didn’t work out. Got “Error occurred! Check WLSDM log file…” warning on page. Attached screen capture below.
Could you please help us to solve the problem?
System: WebLogic 12.1.2 and Linux Red Hat 6.5
Text Filter: awk '{print $1 $2 $4}'
-
Hi Van,
“Log Viewer” “Text Filter” works as “cat $file | grep $user_search string” which means cover a default “grep” command already exists.
So, your text filter value must be like something below.
2015 | awk '{print $2,$4,$8}'
-
Hi Van,
“Log Viewer” “Text Filter” works as “cat $file | grep $user_search string” which means cover a default “grep” command already exists.
So, your text filter value must be like something below.
2015 | awk '{print $2,$4,$8}'
-
@wlsdmadmin
It worked like a charm Missed the first grep parameter. Very useful feature. thanks…