Upgraded 5.6 to 6.1.0 with x-pack trial. When I click on watcher, I am receiving a 500 error. I see a mismatch in the logstashwatcher section, but I am not sure how to resolve it or what is mismatched. Checked versions:
[fmatera@elktest1 logstash]$ sudo /usr/share/logstash/bin/logstash --version
logstash 6.1.0
[fmatera@elktest1 logstash]$ sudo /usr/share/kibana/bin/kibana --version
6.1.0
[fmatera@elktest1 logstash]$ sudo /usr/share/elasticsearch/bin/elasticsearch --version
Version: 6.1.0, Build: c0c1ba0/2017-12-12T12:32:54.550Z, JVM: 1.8.0_141
[fmatera@elktest1 logstash]$ sudo /usr/share/filebeat/bin/filebeat --version
filebeat version 6.1.0 (amd64), libbeat 6.1.0
And
GET .watches/_search/
{
"took": 0,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
"total": 4,
"max_score": 1,
"hits": [
{
"_index": ".watches",
"_type": "watch",
"_id": "w5LeijeZRliWA-0ZKeUBOA_logstash_version_mismatch",
"_score": 1,
"_source": {
"trigger": {
"schedule": {
"interval": "1m"
}
},
"input": {
"chain": {
"inputs": [
{
"check": {
"search": {
"request": {
"search_type": "query_then_fetch",
"indices": [
".monitoring-logstash-*"
],
"types": [],
"body": {
"size": 0,
"query": {
"bool": {
"filter": [
{
"term": {
"cluster_uuid": "{{ctx.metadata.xpack.cluster_uuid}}"
}
},
{
"range": {
"timestamp": {
"gte": "now-2m"
}
}
},
{
"bool": {
"should": [
{
"term": {
"_type": "logstash_stats"
}
},
{
"term": {
"type": "logstash_stats"
}
}
]
}
}
]
}
},
"aggs": {
"group_by_logstash": {
"terms": {
"field": "logstash_stats.logstash.uuid",
"size": 1000
},
"aggs": {
"group_by_version": {
"terms": {
"field": "logstash_stats.logstash.version",
"size": 1,
"order": {
"latest_report": "desc"
}
},
"aggs": {
"latest_report": {
"max": {
"field": "timestamp"
}
}
}
}
}
}
}
}
}
}
}
},
{
"alert": {
"search": {
"request": {
"search_type": "query_then_fetch",
"indices": [
".monitoring-alerts-6",
".monitoring-alerts-2"
],
"types": [],
"body": {
"size": 1,
"terminate_after": 1,
"query": {
"bool": {
"filter": {
"term": {
"_id": "{{ctx.watch_id}}"
}
}
}
},
"sort": [
{
"timestamp": {
"order": "desc"
}
}
]
}
}
}
}
}
]
}
},
Thanks in advance. Couldn't fit the response in one post.