WLSDM for WebLogic
Published in

WLSDM for WebLogic

Log Viewer and SHELL Command

One of the community user 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}’

Solution:

“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}'

Download WLSDM and start proactive monitoring now!

wlsdm.com/download

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store