sensu / sensu-check-log

The Sensu Go log file monitoring check plugin and asset.
MIT License
2 stars 3 forks source link

Whenever we run this check, it throws error: creating event #43

Open dishi-singhal opened 6 months ago

dishi-singhal commented 6 months ago

Whenever we execute the sensu-check-log, it throws an error. Here's the image for reference error_screenshot

Additionally, Here are the few item you would require to replicate the issue

  1. Log file : sample.log
  2. Check_Command: sensu-check-log --log-file /var/tmp/sample.log --match-expr "java.lang.OutOfMemoryError" --state-directory /var/tmp/ --reset-state --critical-threshold 1 --critical-only --warning-threshold 0 --ignore-initial-run --verbose
  3. Check_config: check.yml.txt