Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some of watchers not executing #810

Open
1 of 3 tasks
Abhishekdagade1 opened this issue Feb 22, 2023 · 0 comments
Open
1 of 3 tasks

Some of watchers not executing #810

Abhishekdagade1 opened this issue Feb 22, 2023 · 0 comments

Comments

@Abhishekdagade1
Copy link

Abhishekdagade1 commented Feb 22, 2023

System Details

Versions

Type Version
Kibana 6.5.4
Elasticsearc 6.5.4
Server OS ubuntu 18
Browser Chrome

Original Install Method

  • Release pkg link
  • Gulp
  • Source
  • Other:

Bug Details

Bug Description

Steps to Reproduce

Expected Behavior

Sample of data you have in Elasticsearch


Full Watcher JSON

{
  "actions": {
    "Slack Monitor": {
      "throttle_period": "0h1m0s",
      "slack": {
        "channel": "#test",
        "message": "test",
        "stateless": false
      }
    }
  },
  "input": {
    "search": {
      "request": {
        "index": [
          "log-*"
        ],
        "body": {
          "size": 0,
          "query": {
            "bool": {
              "must": [
                {
                  "match_phrase": {
                    "message": "validation row contains invalid value"
                  }
                },
                {
                  "range": {
                    "@timestamp": {
                      "from": "now-1m"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  },
  "condition": {
    "script": {
      "script": "payload.hits.total >= 0"
    }
  },
  "trigger": {
    "schedule": {
      "later": "every 1 minutes"
    }
  },
  "disable": false,
  "report": false,
  "title": "XYZ",
  "save_payload": true,
  "spy": false,
  "impersonate": false
}

Screenshots (if relevant)

Errors in Browser Console (if relevant)

Kibana logs and/or server output (attached if relevant)

{"type":"log","@timestamp":"2023-02-22T08:25:25Z","tags":["debug","Sentinl","scheduler"],"pid":9369,"message":"scheduled watcher 17903060-0425-11ed-b823-6134beda792c, to run every every 5 minutes"}
{"type":"log","@timestamp":"2023-02-22T08:25:25Z","tags":["error","Sentinl","scheduler"],"pid":9369,"message":"fail to schedule watchers: Cannot read property 'toLowerCase' of undefined"}

Any additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant