--- type: CheckConfig api_version: core/v2 metadata: name: check-log namespace: default labels: check_type: log sensu.io/managed_by: sensuctl stateless_event: 'true' created_by: sensu spec: check_hooks: null 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 env_vars: null handlers: [] high_flap_threshold: 0 interval: 30 low_flap_threshold: 0 output_metric_format: '' output_metric_handlers: null pipelines: [] proxy_entity_name: '' publish: true round_robin: false runtime_assets: - sensu/sensu-check-log secrets: null stdin: true subdue: null subscriptions: - entity:ip-172-31-27-229 timeout: 0 ttl: 60 max_output_size: 0 discard_output: false