salt.beacons.log module

Beacon to fire events at specific log messages.

New in version 2017.7.0.

salt.beacons.log.beacon(config)

Read the log file and return match whole string

beacons:
    log:
      file: <path>
      <tag>:
        regex: <pattern>