Ad Widget

Collapse

vfs.file.time with logfile like test_{DATE}.log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SUM_ADM
    Junior Member
    • Jul 2018
    • 2

    #1

    vfs.file.time with logfile like test_{DATE}.log

    Hi,

    is it possible to use vfs.file.time for monitoring a file with a date rotation in the file name ? like test_20180624.log ?

    Thanks

    Michael
  • kernbug
    Senior Member
    • Feb 2013
    • 330

    #2
    Originally posted by SUM_ADM
    Hi,

    is it possible to use vfs.file.time for monitoring a file with a date rotation in the file name ? like test_20180624.log ?

    Thanks

    Michael
    Hi,

    According to the documentation, macro {DATE} only supported in:
    {DATE} → Trigger-based notifications and commands
    → Discovery notifications
    → Auto-registration notifications
    → Internal notifications
    Current date in yyyy.mm.dd. format.
    Describe the full task to be solved, maybe we can help?

    Comment

    • SUM_ADM
      Junior Member
      • Jul 2018
      • 2

      #3
      Hi,

      i want to monitor a logfile which is updated every 5 seconds. But the logfile contains a date in the filename which changes every day. Logfile name is : fpml-trade-input-transformer.{yyyy-mm-dd}.log

      Thanks
      Michael



      Comment

      Working...