[ML] Fixes filter and icon for APM Data Recognizer module (#30820)

This commit is contained in:
Pete Harverson 2019-02-13 17:24:43 +00:00 committed by GitHub
parent 8c8a4a2510
commit 03b496e8cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 28 deletions

View file

@ -1,23 +1,15 @@
{
"id": "apm_transaction",
"title": "APM",
"description": "Detect anomalies in high mean of transaction duration",
"description": "Detect anomalies in high mean of transaction duration (ECS)",
"type": "Transaction data",
"logoFile": "logo.json",
"defaultIndexPattern": "apm-*",
"query": {
"bool": {
"filter": [
{
"term": {
"processor.name": "transaction"
}
},
{
"term": {
"processor.event": "transaction"
}
}
{ "term": { "processor.event": "transaction" } },
{ "term": { "transaction.type": "request" } }
]
}
},

View file

@ -4,21 +4,11 @@
"INDEX_PATTERN_NAME"
],
"query": {
"match": {
"processor.event": {
"query": "transaction",
"operator": "OR",
"prefix_length": 0,
"max_expansions": 50,
"fuzzy_transpositions": true,
"lenient": false,
"zero_terms_query": "NONE",
"auto_generate_synonyms_phrase_query": true,
"boost": 1
}
"bool": {
"filter": [
{ "term": { "processor.event": "transaction" } },
{ "term": { "transaction.type": "request" } }
]
}
},
"chunking_config": {
"mode": "auto"
}
}

View file

@ -23,6 +23,5 @@
},
"model_plot_config": {
"enabled": true
},
"model_snapshot_retention_days": 1
}
}