mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Small telemetry fixes (#126831)
## Summary Small fixes and just a few docs to clarify things. I might be wrong on what I'm doing, so please let me know. Looking at the telemetry data from servers I see things like this (I made this up, not real data, but the shape of the data is the same as what we see on the servers): ```json "securitySolution:overview" : { "clicks_total" : 420, "minutes_on_screen_total" : 55.58454999999998, "viewId" : "main", "clicks_7_days" : 0, "clicks_90_days" : 0, "appId" : "securitySolution:overview", "minutes_on_screen_7_days" : 0, "minutes_on_screen_30_days" : 0, "clicks_30_days" : 0, "minutes_on_screen_90_days" : 0 }, ``` and I also see the views which is 👍 what I would make the dashboards from ... So not for sure if the structure above this is legacy. I could not get the shape of data above to happen locally. However, this shape below seems better and what I would create dashboards from. ```json "securitySolution" : { "clicks_total" : 420, "minutes_on_screen_total" : 2.90670000000006, "viewId" : "main", "clicks_7_days" : 70, "clicks_90_days" : 370, "appId" : "securitySolution", "minutes_on_screen_7_days" : 104.62756666666667, "minutes_on_screen_30_days" : 121.61288333333334, "clicks_30_days" : 121, "minutes_on_screen_90_days" : 250.55426666666665, "views" : [ { "clicks_total" : 8, "minutes_on_screen_total" : 5.709183333333334, "viewId" : "overview", "clicks_7_days" : 0, "clicks_90_days" : 6, "appId" : "securitySolution", "minutes_on_screen_7_days" : 0, "minutes_on_screen_30_days" : 0.5038833333333333, "clicks_30_days" : 0, "minutes_on_screen_90_days" : 6.565383333333333 }, ``` With this new key of "securitySolutionUI" I don't see keys like `securitySolutionUI:overview` but I do see the views like above so let me know if changing the keys here in some areas are a mistake or not or if this is not the right thing to do. Ref to earlier PR with the new key of `securitySolutionUI` from `APP_ID` changing: https://github.com/elastic/kibana/pull/113573
This commit is contained in:
parent
0099591143
commit
9c45883bb4
3 changed files with 40 additions and 15 deletions
|
@ -158,6 +158,9 @@ export const applicationUsageSchema = {
|
|||
security_logout: commonSchema,
|
||||
security_overwritten_session: commonSchema,
|
||||
securitySolutionUI: commonSchema,
|
||||
/**
|
||||
* @deprecated legacy key for users that still have bookmarks to the old siem name. "securitySolutionUI" key is the replacement
|
||||
*/
|
||||
siem: commonSchema,
|
||||
space_selector: commonSchema,
|
||||
uptime: commonSchema,
|
||||
|
|
|
@ -54,14 +54,17 @@ const uiMetricFromDataPluginSchema: MakeSchemaFrom<UIMetricUsage> = {
|
|||
security_login: commonSchema,
|
||||
security_logout: commonSchema,
|
||||
security_overwritten_session: commonSchema,
|
||||
securitySolution: commonSchema,
|
||||
'securitySolution:overview': commonSchema,
|
||||
'securitySolution:detections': commonSchema,
|
||||
'securitySolution:hosts': commonSchema,
|
||||
'securitySolution:network': commonSchema,
|
||||
'securitySolution:timelines': commonSchema,
|
||||
'securitySolution:case': commonSchema,
|
||||
'securitySolution:administration': commonSchema,
|
||||
securitySolutionUI: commonSchema,
|
||||
'securitySolutionUI:overview': commonSchema,
|
||||
'securitySolutionUI:detections': commonSchema,
|
||||
'securitySolutionUI:hosts': commonSchema,
|
||||
'securitySolutionUI:network': commonSchema,
|
||||
'securitySolutionUI:timelines': commonSchema,
|
||||
'securitySolutionUI:case': commonSchema,
|
||||
'securitySolutionUI:administration': commonSchema,
|
||||
/**
|
||||
* @deprecated legacy key for users that still have bookmarks to the old siem name. "securitySolutionUI" key is the replacement
|
||||
*/
|
||||
siem: commonSchema,
|
||||
space_selector: commonSchema,
|
||||
uptime: commonSchema,
|
||||
|
|
|
@ -8869,7 +8869,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"securitySolution:overview": {
|
||||
"securitySolutionUI": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
|
@ -8888,7 +8888,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"securitySolution:detections": {
|
||||
"securitySolutionUI:overview": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
|
@ -8907,7 +8907,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"securitySolution:hosts": {
|
||||
"securitySolutionUI:detections": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
|
@ -8926,7 +8926,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"securitySolution:network": {
|
||||
"securitySolutionUI:hosts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
|
@ -8945,7 +8945,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"securitySolution:timelines": {
|
||||
"securitySolutionUI:network": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
|
@ -8964,7 +8964,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"securitySolution:case": {
|
||||
"securitySolutionUI:timelines": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
|
@ -8983,7 +8983,26 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"securitySolution:administration": {
|
||||
"securitySolutionUI:case": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "keyword",
|
||||
"_meta": {
|
||||
"description": "The event that is tracked"
|
||||
}
|
||||
},
|
||||
"value": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description": "The value of the event"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"securitySolutionUI:administration": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue