Navigation

    Best APM Solution for Oracle WebLogic Server & FMW Product Family
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Download

    SOLVED Log Viewer and SHELL Command

    General Support & Troubleshooting
    wlsdm-log-viewe weblogic-log-vi
    2
    3
    3120
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vanrussell_nl
      M.Fevzi Korkutata last edited by

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

      log_viewer_error.PNG

      wlsdmsupport 1 Reply Last reply Reply Quote 0
      • wlsdmsupport
        WLSDM Support @vanrussell_nl last edited by

        @vanrussell_nl

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

        WLSDM Community Support Team

        vanrussell_nl 1 Reply Last reply Reply Quote 0
        • wlsdmsupport
          WLSDM Support @vanrussell_nl last edited by

          @vanrussell_nl

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

          WLSDM Community Support Team

          vanrussell_nl 1 Reply Last reply Reply Quote 0
          • vanrussell_nl
            M.Fevzi Korkutata @wlsdmsupport last edited by

            @wlsdmadmin

            It worked like a charm 🙂 Missed the first grep parameter. Very useful feature. thanks…

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            WLSDM: Native WebLogic Monitoring & Diagnostics

            Copyright © 2021 WLSDM Community & Support Portal | WLSDM.COM | WLSDM Blog