[ML] Fixes filter and icon for APM Data Recognizer module (#30820)
This commit is contained in:
parent
8c8a4a2510
commit
03b496e8cf
3 changed files with 9 additions and 28 deletions
|
@ -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" } }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,6 +23,5 @@
|
|||
},
|
||||
"model_plot_config": {
|
||||
"enabled": true
|
||||
},
|
||||
"model_snapshot_retention_days": 1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue