diff --git a/entity-types/ext-rmp_kiosk/definition.yml b/entity-types/ext-rmp_kiosk/definition.yml new file mode 100644 index 000000000..6cb69cf6a --- /dev/null +++ b/entity-types/ext-rmp_kiosk/definition.yml @@ -0,0 +1,53 @@ +domain: EXT +type: RMP_KIOSK +configuration: + entityExpirationTime: EIGHT_DAYS +synthesis: + rules: + - identifier: hostname + name: hostname + encodeIdentifierInGUID: true + conditions: + - attribute: newrelic.source + value: "api.logs" + - attribute: country + present: true + - attribute: store.number + present: true + - attribute: device.type + value: "CSO" + - attribute: device.number + present: true + tags: + hostname: + multiValue: false + country: + multiValue: false + ttl: 7D + store.number: + multiValue: false + ttl: 7D + device.type: + multiValue: false + ttl: 7D + device.number: + multiValue: false + ttl: 7D + geo.location.lon: + multiValue: false + ttl: 7D + geo.location.lat: + multiValue: false + ttl: 7D + host.ip: + multiValue: false + ttl: 7D +goldenTags: +- hostname +- country +- store.number +- device.type +- device.number +- geo.location.lon +- geo.location.lat +- host.ip \ No newline at end of file diff --git a/entity-types/ext-rmp_kiosk/golden_metrics.yml b/entity-types/ext-rmp_kiosk/golden_metrics.yml new file mode 100644 index 000000000..84723ade2 --- /dev/null +++ b/entity-types/ext-rmp_kiosk/golden_metrics.yml @@ -0,0 +1,30 @@ +totalLogs: + title: Total Logs + unit: COUNT + query: + select: count(*) + from: Log + where: "" + facet: "" + eventId: "entity.guid" + eventName: "entity.name" +totalLogsByLevel: + title: totalLogsByLevel + unit: COUNT + query: + select: count(*) + from: Log + where: "" + facet: "LEVEL" + eventId: "entity.guid" + eventName: "entity.name" +totalErrorLogsByService: + title: totalErrorLogsByService + unit: COUNT + query: + select: count(*) + from: Log + where: "" + facet: "service.name" + eventId: "entity.guid" + eventName: "entity.name" \ No newline at end of file diff --git a/validator/validator/package-lock.json b/validator/validator/package-lock.json new file mode 100644 index 000000000..7551f7524 --- /dev/null +++ b/validator/validator/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "validator", + "lockfileVersion": 3, + "requires": true, + "packages": {} +}