DX Infrastructure Manager

Expand all | Collapse all

Question on logmon feature

Jump to Best Answer
  • 1.  Question on logmon feature

    Posted 08-17-2018 08:11 AM
      |   view attached

    Hi Experts,

     

    I've specific request to monitor error logs of application.

    Here are some unique properties about the log.

    1. It is created with time stamp and date in the name (can be handled using time primitives)

    2. It rotates on the basis of size i.e. a new file is created when it reaches 51 MB.

     

    Attaching a snapshot for reference.

    Any ideas to handle such behavior through logmon.

    Regards

    Abhishek Singh



  • 2.  Re: Question on logmon feature

    Posted 08-17-2018 08:27 AM

    Is creating a path like /error_2018*.log a good way to approach this.



  • 3.  Re: Question on logmon feature
    Best Answer

    Broadcom Employee
    Posted 08-17-2018 02:54 PM

    yes that would work,

    you should also be able to do the following as well.

    /error_%Y-%m-%d-*.txt