@dx-do/client 7.12.0 → 7.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +734 -33
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +729 -34
- package/dist/index.esm.js.map +1 -1
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/lib/model/config/DXSaaSConfiguration.d.ts +18 -6
- package/dist/src/lib/model/config/DXSaaSConfiguration.d.ts.map +1 -1
- package/dist/src/lib/model/log/custom-ingest.d.ts +79 -0
- package/dist/src/lib/model/log/custom-ingest.d.ts.map +1 -0
- package/dist/src/lib/model/log/ingest.d.ts +46 -0
- package/dist/src/lib/model/log/ingest.d.ts.map +1 -1
- package/dist/src/lib/model/log/logtypes.d.ts +48 -0
- package/dist/src/lib/model/log/logtypes.d.ts.map +1 -0
- package/dist/src/lib/model/log/query-body.d.ts +2 -0
- package/dist/src/lib/model/log/query-body.d.ts.map +1 -1
- package/dist/src/lib/services/dx-saas.service.d.ts +23 -0
- package/dist/src/lib/services/dx-saas.service.d.ts.map +1 -1
- package/dist/src/lib/services/log-ingestion-batch.d.ts +83 -0
- package/dist/src/lib/services/log-ingestion-batch.d.ts.map +1 -0
- package/dist/src/lib/services/logs.service.d.ts +146 -21
- package/dist/src/lib/services/logs.service.d.ts.map +1 -1
- package/package.json +3 -2
package/dist/index.esm.js
CHANGED
|
@@ -2311,7 +2311,7 @@ const isNumber$2 = typeOfTest('number');
|
|
|
2311
2311
|
*
|
|
2312
2312
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
2313
2313
|
*/
|
|
2314
|
-
const isObject = (thing) => thing !== null && typeof thing === 'object';
|
|
2314
|
+
const isObject$1 = (thing) => thing !== null && typeof thing === 'object';
|
|
2315
2315
|
|
|
2316
2316
|
/**
|
|
2317
2317
|
* Determine if a value is a Boolean
|
|
@@ -2329,7 +2329,7 @@ const isBoolean$1 = (thing) => thing === true || thing === false;
|
|
|
2329
2329
|
* @returns {boolean} True if value is a plain Object, otherwise false
|
|
2330
2330
|
*/
|
|
2331
2331
|
const isPlainObject = (val) => {
|
|
2332
|
-
if (!isObject(val)) {
|
|
2332
|
+
if (!isObject$1(val)) {
|
|
2333
2333
|
return false;
|
|
2334
2334
|
}
|
|
2335
2335
|
|
|
@@ -2355,7 +2355,7 @@ const isPlainObject = (val) => {
|
|
|
2355
2355
|
*/
|
|
2356
2356
|
const isEmptyObject = (val) => {
|
|
2357
2357
|
// Early return for non-objects or Buffers to prevent RangeError
|
|
2358
|
-
if (!isObject(val) || isBuffer$2(val)) {
|
|
2358
|
+
if (!isObject$1(val) || isBuffer$2(val)) {
|
|
2359
2359
|
return false;
|
|
2360
2360
|
}
|
|
2361
2361
|
|
|
@@ -2435,7 +2435,7 @@ const isFileList = kindOfTest('FileList');
|
|
|
2435
2435
|
*
|
|
2436
2436
|
* @returns {boolean} True if value is a Stream, otherwise false
|
|
2437
2437
|
*/
|
|
2438
|
-
const isStream = (val) => isObject(val) && isFunction$4(val.pipe);
|
|
2438
|
+
const isStream = (val) => isObject$1(val) && isFunction$4(val.pipe);
|
|
2439
2439
|
|
|
2440
2440
|
/**
|
|
2441
2441
|
* Determine if a value is a FormData
|
|
@@ -2979,7 +2979,7 @@ const toJSONObject = (obj) => {
|
|
|
2979
2979
|
const visited = new WeakSet();
|
|
2980
2980
|
|
|
2981
2981
|
const visit = (source) => {
|
|
2982
|
-
if (isObject(source)) {
|
|
2982
|
+
if (isObject$1(source)) {
|
|
2983
2983
|
if (visited.has(source)) {
|
|
2984
2984
|
return;
|
|
2985
2985
|
}
|
|
@@ -3027,7 +3027,7 @@ const isAsyncFn = kindOfTest('AsyncFunction');
|
|
|
3027
3027
|
*/
|
|
3028
3028
|
const isThenable = (thing) =>
|
|
3029
3029
|
thing &&
|
|
3030
|
-
(isObject(thing) || isFunction$4(thing)) &&
|
|
3030
|
+
(isObject$1(thing) || isFunction$4(thing)) &&
|
|
3031
3031
|
isFunction$4(thing.then) &&
|
|
3032
3032
|
isFunction$4(thing.catch);
|
|
3033
3033
|
|
|
@@ -3105,7 +3105,7 @@ var utils$3 = {
|
|
|
3105
3105
|
isString: isString$3,
|
|
3106
3106
|
isNumber: isNumber$2,
|
|
3107
3107
|
isBoolean: isBoolean$1,
|
|
3108
|
-
isObject,
|
|
3108
|
+
isObject: isObject$1,
|
|
3109
3109
|
isPlainObject,
|
|
3110
3110
|
isEmptyObject,
|
|
3111
3111
|
isReadableStream,
|
|
@@ -39835,7 +39835,7 @@ var EXP_LIMIT = 9e15, // 0 to 9e15
|
|
|
39835
39835
|
|
|
39836
39836
|
|
|
39837
39837
|
// The initial configuration properties of the Decimal constructor.
|
|
39838
|
-
DEFAULTS = {
|
|
39838
|
+
DEFAULTS$1 = {
|
|
39839
39839
|
|
|
39840
39840
|
// These values must be integers within the stated ranges (inclusive).
|
|
39841
39841
|
// Most of these values can be changed at run-time using the `Decimal.config` method.
|
|
@@ -44020,14 +44020,14 @@ function config$2(obj) {
|
|
|
44020
44020
|
];
|
|
44021
44021
|
|
|
44022
44022
|
for (i = 0; i < ps.length; i += 3) {
|
|
44023
|
-
if (p = ps[i], useDefaults) this[p] = DEFAULTS[p];
|
|
44023
|
+
if (p = ps[i], useDefaults) this[p] = DEFAULTS$1[p];
|
|
44024
44024
|
if ((v = obj[p]) !== void 0) {
|
|
44025
44025
|
if (mathfloor(v) === v && v >= ps[i + 1] && v <= ps[i + 2]) this[p] = v;
|
|
44026
44026
|
else throw Error(invalidArgument + p + ': ' + v);
|
|
44027
44027
|
}
|
|
44028
44028
|
}
|
|
44029
44029
|
|
|
44030
|
-
if (p = 'crypto', useDefaults) this[p] = DEFAULTS[p];
|
|
44030
|
+
if (p = 'crypto', useDefaults) this[p] = DEFAULTS$1[p];
|
|
44031
44031
|
if ((v = obj[p]) !== void 0) {
|
|
44032
44032
|
if (v === true || v === false || v === 0 || v === 1) {
|
|
44033
44033
|
if (v) {
|
|
@@ -44709,7 +44709,7 @@ P$2[Symbol.for('nodejs.util.inspect.custom')] = P$2.toString;
|
|
|
44709
44709
|
P$2[Symbol.toStringTag] = 'Decimal';
|
|
44710
44710
|
|
|
44711
44711
|
// Create and configure initial Decimal constructor.
|
|
44712
|
-
var Decimal = P$2.constructor = clone$1(DEFAULTS);
|
|
44712
|
+
var Decimal = P$2.constructor = clone$1(DEFAULTS$1);
|
|
44713
44713
|
|
|
44714
44714
|
// Create the internal constants from their string values.
|
|
44715
44715
|
LN10 = new Decimal(LN10);
|
|
@@ -60169,6 +60169,60 @@ var LogIngest;
|
|
|
60169
60169
|
return LogIngest.RESERVED_ADDITIONAL_FIELDS.includes(name.toLowerCase());
|
|
60170
60170
|
}
|
|
60171
60171
|
LogIngest.isReservedLogField = isReservedLogField;
|
|
60172
|
+
/**
|
|
60173
|
+
* Keys the uim_logs document owns (exact case). A caller's custom field with
|
|
60174
|
+
* one of these names would replace the platform's own value, and the platform
|
|
60175
|
+
* then does worse than override — a custom `file` comes back merged into an
|
|
60176
|
+
* array, custom `tags` and `origin` values are dropped (THE_LABORATORY,
|
|
60177
|
+
* 2026-09-16). Refused as custom fields by every producer.
|
|
60178
|
+
*/
|
|
60179
|
+
LogIngest.PLATFORM_OWNED_FIELDS = [
|
|
60180
|
+
'@timestamp',
|
|
60181
|
+
'logtype',
|
|
60182
|
+
'logseverity',
|
|
60183
|
+
'message',
|
|
60184
|
+
'host',
|
|
60185
|
+
'tenant_id',
|
|
60186
|
+
'temp_fields',
|
|
60187
|
+
'tags',
|
|
60188
|
+
'file',
|
|
60189
|
+
'origin',
|
|
60190
|
+
'__agent_name',
|
|
60191
|
+
'__agent_instance',
|
|
60192
|
+
'container_id',
|
|
60193
|
+
'container_name',
|
|
60194
|
+
];
|
|
60195
|
+
/** True when `name` is one of {@link PLATFORM_OWNED_FIELDS} (exact case). */
|
|
60196
|
+
function isPlatformOwnedLogField(name) {
|
|
60197
|
+
return LogIngest.PLATFORM_OWNED_FIELDS.includes(name);
|
|
60198
|
+
}
|
|
60199
|
+
LogIngest.isPlatformOwnedLogField = isPlatformOwnedLogField;
|
|
60200
|
+
/**
|
|
60201
|
+
* How a log entry reaches the tenant.
|
|
60202
|
+
*
|
|
60203
|
+
* - `custom`: the Log Analytics custom JSON ingestion API,
|
|
60204
|
+
* `POST {dxGatewayHost}/la/v2/api/ingestion/logs` — flat documents,
|
|
60205
|
+
* epoch-ms timestamps, no positional parse. The platform indexes a document
|
|
60206
|
+
* only when its logtype is a Support-enabled custom type (listed by
|
|
60207
|
+
* `LogsService.listLogtypes()` as `cust_<logtype>`); anything else is
|
|
60208
|
+
* accepted with `200 ok` and dropped silently.
|
|
60209
|
+
* - `legacy`: the uim_logs pipeline on the separate logs-gateway host — the
|
|
60210
|
+
* only path to the `generic` index on a tenant without `cust_generic`.
|
|
60211
|
+
* - `auto`: `custom` when the entry's logtype passes the gate above,
|
|
60212
|
+
* otherwise `legacy`.
|
|
60213
|
+
*
|
|
60214
|
+
* Measured on THE_LABORATORY, 2026-09-23 —
|
|
60215
|
+
* `docs/internal/custom-log-ingestion-probe-2026-09.md`.
|
|
60216
|
+
*/
|
|
60217
|
+
LogIngest.LOG_INGESTION_TRANSPORTS = ['auto', 'custom', 'legacy'];
|
|
60218
|
+
LogIngest.LogIngestionTransportSchema = z
|
|
60219
|
+
.enum(LogIngest.LOG_INGESTION_TRANSPORTS)
|
|
60220
|
+
.describe("Log ingestion transport: 'custom' (Log Analytics custom JSON API on the gateway host; only for logtypes the tenant lists as cust_<logtype>), 'legacy' (uim_logs pipeline on the logs-gateway host; the path to the generic index), or 'auto' (custom when the logtype is enabled for it, else legacy).");
|
|
60221
|
+
/**
|
|
60222
|
+
* Precedence when nothing else says: a command's `transport=` argument, then
|
|
60223
|
+
* the profile's `dxLogIngestionTransport`, then this.
|
|
60224
|
+
*/
|
|
60225
|
+
LogIngest.DEFAULT_LOG_INGESTION_TRANSPORT = 'auto';
|
|
60172
60226
|
/**
|
|
60173
60227
|
* Thrown by `DxSaasService.resolveLogIngestionURL` when no log gateway can
|
|
60174
60228
|
* be determined. `definitive` is true when the profile itself rules an
|
|
@@ -60229,6 +60283,171 @@ var LogIngest;
|
|
|
60229
60283
|
});
|
|
60230
60284
|
})(LogIngest || (LogIngest = {}));
|
|
60231
60285
|
|
|
60286
|
+
/**
|
|
60287
|
+
* The Log Analytics **custom JSON ingestion API** —
|
|
60288
|
+
* `POST {dxGatewayHost}/la/v2/api/ingestion/logs` (techdocs "Set Up Custom Log
|
|
60289
|
+
* Ingestion", 2026-09-01). One flat document per log entry, sent as a JSON
|
|
60290
|
+
* array, authenticated with the same bearer user token as every other tenant
|
|
60291
|
+
* call.
|
|
60292
|
+
*
|
|
60293
|
+
* What the docs do not say, measured on THE_LABORATORY 2026-09-23
|
|
60294
|
+
* (`docs/internal/custom-log-ingestion-probe-2026-09.md`):
|
|
60295
|
+
*
|
|
60296
|
+
* - The gateway answers `200 ok` (text/plain) to everything. A document is
|
|
60297
|
+
* indexed only when its `logtype` is a Support-enabled custom type spelled
|
|
60298
|
+
* without the `cust_` prefix — `opentelemetry` lands in
|
|
60299
|
+
* `*_logs_cust_opentelemetry_*`. `generic`, the parsed-pipeline names,
|
|
60300
|
+
* `cust_`-prefixed spellings and unknown names are dropped silently.
|
|
60301
|
+
* - `tenant_id` must be the dashed upper-case cohort id; the lower-case
|
|
60302
|
+
* dashless form is dropped.
|
|
60303
|
+
* - Send `logseverity` only. `severity` alone derives a lower-case
|
|
60304
|
+
* `logseverity`; both together produce an array.
|
|
60305
|
+
* - `timestamp` must be an epoch-millisecond number; strings are stored as
|
|
60306
|
+
* strings.
|
|
60307
|
+
* - `__`-prefixed fields are stripped; `tag` (not `tags`) is the tag list.
|
|
60308
|
+
* - Documents over 250 KB are dropped silently (no 413).
|
|
60309
|
+
*/
|
|
60310
|
+
var LogCustomIngest;
|
|
60311
|
+
(function (LogCustomIngest) {
|
|
60312
|
+
/** Path under `dxGatewayHost`; no cohort segment. */
|
|
60313
|
+
LogCustomIngest.INGESTION_PATH = 'la/v2/api/ingestion/logs';
|
|
60314
|
+
/** Documented ceilings; the platform enforces the first silently. */
|
|
60315
|
+
LogCustomIngest.LIMITS = {
|
|
60316
|
+
maxDocumentBytes: 250_000,
|
|
60317
|
+
maxRequestBytes: 10_000_000,
|
|
60318
|
+
maxUniqueFieldsPerLogtype: 150,
|
|
60319
|
+
};
|
|
60320
|
+
/** Field-name prefixes that pin the index type on first ingestion. */
|
|
60321
|
+
LogCustomIngest.TYPED_FIELD_PREFIXES = ['c_long_', 'c_double_', 'c_timestamp_', 'c_text_'];
|
|
60322
|
+
LogCustomIngest.CustomLogDocumentSchema = z.looseObject({
|
|
60323
|
+
tenant_id: z
|
|
60324
|
+
.string()
|
|
60325
|
+
.min(1)
|
|
60326
|
+
.describe('Cohort id, dashed and upper-case exactly as the profile spells it; other spellings are dropped.'),
|
|
60327
|
+
logtype: z
|
|
60328
|
+
.string()
|
|
60329
|
+
.min(1)
|
|
60330
|
+
.describe('Logtype without the cust_ prefix; the document lands in *_logs_cust_<logtype>_* and only if the tenant has that custom logtype enabled.'),
|
|
60331
|
+
logformat: z.literal('custom').describe('Always "custom".'),
|
|
60332
|
+
timestamp: z
|
|
60333
|
+
.number()
|
|
60334
|
+
.int()
|
|
60335
|
+
.nonnegative()
|
|
60336
|
+
.describe('Event time as epoch milliseconds (a number; strings are stored as strings).'),
|
|
60337
|
+
message: z.string().min(1).describe('The log line.'),
|
|
60338
|
+
logseverity: LogIngest.LogSeveritySchema.describe('Severity, upper-case. The only severity field to send; the field log query filters on.'),
|
|
60339
|
+
host: z.string().optional().describe('Host name the log came from.'),
|
|
60340
|
+
ip: z.string().optional().describe('IP address of that host.'),
|
|
60341
|
+
container_id: z.string().optional().describe('Container or pod id.'),
|
|
60342
|
+
container_name: z.string().optional().describe('Container or service name.'),
|
|
60343
|
+
file: z.string().optional().describe('Source file or logger name; no dot rule on this path.'),
|
|
60344
|
+
tag: z.array(z.string()).optional().describe('Tag list (the API spells it tag, not tags).'),
|
|
60345
|
+
});
|
|
60346
|
+
/**
|
|
60347
|
+
* Names a caller may not use as custom fields on this transport: the
|
|
60348
|
+
* document's own keys, `severity` (derives a second, lower-case
|
|
60349
|
+
* `logseverity`), `tags` (the API spells it `tag`), and anything starting
|
|
60350
|
+
* with `@` (platform meta) or `__` (stripped by the platform).
|
|
60351
|
+
*/
|
|
60352
|
+
LogCustomIngest.RESERVED_FIELDS = [
|
|
60353
|
+
...Object.keys(LogCustomIngest.CustomLogDocumentSchema.shape),
|
|
60354
|
+
'severity',
|
|
60355
|
+
'tags',
|
|
60356
|
+
];
|
|
60357
|
+
function isReservedCustomLogField(name) {
|
|
60358
|
+
const lower = name.toLowerCase();
|
|
60359
|
+
return (LogCustomIngest.RESERVED_FIELDS.some((reserved) => reserved.toLowerCase() === lower) ||
|
|
60360
|
+
name.startsWith('@') ||
|
|
60361
|
+
name.startsWith('__'));
|
|
60362
|
+
}
|
|
60363
|
+
LogCustomIngest.isReservedCustomLogField = isReservedCustomLogField;
|
|
60364
|
+
/**
|
|
60365
|
+
* Thrown when the custom transport is asked to send a logtype the tenant has
|
|
60366
|
+
* not enabled for it. Definitive: the platform would answer `200 ok` and drop
|
|
60367
|
+
* the document, so no retry can help.
|
|
60368
|
+
*/
|
|
60369
|
+
class LogtypeNotEnabledError extends Error {
|
|
60370
|
+
logtype;
|
|
60371
|
+
enabled;
|
|
60372
|
+
definitive = true;
|
|
60373
|
+
constructor(logtype, enabled) {
|
|
60374
|
+
super(`logtype '${logtype}' is not enabled for the custom log ingestion API on this tenant ` +
|
|
60375
|
+
`(the platform would accept the document and drop it silently). Enabled custom logtypes: ` +
|
|
60376
|
+
`${enabled.length > 0 ? enabled.join(', ') : 'none'} — see 'dx-do log list-logtypes'. ` +
|
|
60377
|
+
`Use transport=legacy for the uim_logs pipeline, or ask Broadcom Support to enable the logtype.`);
|
|
60378
|
+
this.logtype = logtype;
|
|
60379
|
+
this.enabled = enabled;
|
|
60380
|
+
this.name = 'LogtypeNotEnabledError';
|
|
60381
|
+
}
|
|
60382
|
+
}
|
|
60383
|
+
LogCustomIngest.LogtypeNotEnabledError = LogtypeNotEnabledError;
|
|
60384
|
+
})(LogCustomIngest || (LogCustomIngest = {}));
|
|
60385
|
+
|
|
60386
|
+
/**
|
|
60387
|
+
* Models for the Log Analytics logtype catalog — the two gateway calls the
|
|
60388
|
+
* product's Settings → Log Analytics page makes:
|
|
60389
|
+
*
|
|
60390
|
+
* - `GET oi/loganalytics/v1/api/metric/logtypes` lists every logtype the tenant
|
|
60391
|
+
* has an index for. Each logtype is one index family, `*_logs_<logtype>_*`
|
|
60392
|
+
* (the same list OpenSearch Dashboards keeps as index-pattern saved objects,
|
|
60393
|
+
* which is browser-session only and therefore not reachable from the CLI).
|
|
60394
|
+
* - `GET oi/loganalytics/v1/api/metric/fields/<logtype>` lists the indexed
|
|
60395
|
+
* fields of one logtype with their index type.
|
|
60396
|
+
*
|
|
60397
|
+
* Logtypes ingested through the custom JSON ingestion API are stored under a
|
|
60398
|
+
* `cust_` prefix (`logtype: opentelemetry` lands in `*_logs_cust_opentelemetry_*`);
|
|
60399
|
+
* the parsed pipelines (syslog, log4j, apache_access, …) and the uim_logs
|
|
60400
|
+
* `generic` type keep their bare names. Measured on THE_LABORATORY and
|
|
60401
|
+
* demo-dev, 2026-09-23.
|
|
60402
|
+
*/
|
|
60403
|
+
var LogTypes;
|
|
60404
|
+
(function (LogTypes) {
|
|
60405
|
+
/** Prefix the platform gives logtypes created by the custom JSON ingestion API. */
|
|
60406
|
+
LogTypes.CUSTOM_LOGTYPE_PREFIX = 'cust_';
|
|
60407
|
+
LogTypes.LogtypesResponseSchema = z.looseObject({
|
|
60408
|
+
code: z.number().describe('Gateway status code; 200 on success.'),
|
|
60409
|
+
message: z.string().describe("Gateway status text, e.g. 'OK'."),
|
|
60410
|
+
response: z
|
|
60411
|
+
.array(z.string())
|
|
60412
|
+
.describe('Logtype names the tenant has an index for, unordered. Each is one index family `*_logs_<logtype>_*`; names starting with `cust_` were created by the custom JSON ingestion API.'),
|
|
60413
|
+
});
|
|
60414
|
+
LogTypes.LogtypeFieldsResponseSchema = z.looseObject({
|
|
60415
|
+
code: z.number().describe('Gateway status code; 200 on success.'),
|
|
60416
|
+
message: z.string().describe("Gateway status text, e.g. 'OK'."),
|
|
60417
|
+
response: z
|
|
60418
|
+
.record(z.string(), z.string())
|
|
60419
|
+
.describe("Indexed field name → index type for one logtype. Only 'Keyword' has been observed so far; the vocabulary is undocumented and reported verbatim."),
|
|
60420
|
+
});
|
|
60421
|
+
function isCustomLogtype(logtype) {
|
|
60422
|
+
return logtype.startsWith(LogTypes.CUSTOM_LOGTYPE_PREFIX);
|
|
60423
|
+
}
|
|
60424
|
+
LogTypes.isCustomLogtype = isCustomLogtype;
|
|
60425
|
+
/** The `cust_`-prefixed name the platform stores a custom-ingested logtype under. */
|
|
60426
|
+
function customLogtypeName(logtype) {
|
|
60427
|
+
return isCustomLogtype(logtype) ? logtype : `${LogTypes.CUSTOM_LOGTYPE_PREFIX}${logtype}`;
|
|
60428
|
+
}
|
|
60429
|
+
LogTypes.customLogtypeName = customLogtypeName;
|
|
60430
|
+
/** The name without the platform's `cust_` prefix — what a producer passes as `logtype`. */
|
|
60431
|
+
function bareLogtypeName(logtype) {
|
|
60432
|
+
return isCustomLogtype(logtype) ? logtype.slice(LogTypes.CUSTOM_LOGTYPE_PREFIX.length) : logtype;
|
|
60433
|
+
}
|
|
60434
|
+
LogTypes.bareLogtypeName = bareLogtypeName;
|
|
60435
|
+
function indexPatternFor(logtype) {
|
|
60436
|
+
return `*_logs_${logtype}_*`;
|
|
60437
|
+
}
|
|
60438
|
+
LogTypes.indexPatternFor = indexPatternFor;
|
|
60439
|
+
function toRows(logtypes) {
|
|
60440
|
+
return [...new Set(logtypes)]
|
|
60441
|
+
.sort((a, b) => a.localeCompare(b))
|
|
60442
|
+
.map((logtype) => ({
|
|
60443
|
+
logtype,
|
|
60444
|
+
custom: isCustomLogtype(logtype),
|
|
60445
|
+
indexPattern: indexPatternFor(logtype),
|
|
60446
|
+
}));
|
|
60447
|
+
}
|
|
60448
|
+
LogTypes.toRows = toRows;
|
|
60449
|
+
})(LogTypes || (LogTypes = {}));
|
|
60450
|
+
|
|
60232
60451
|
var LogQuery;
|
|
60233
60452
|
(function (LogQuery) {
|
|
60234
60453
|
LogQuery.ValidFieldConditions = [
|
|
@@ -60258,7 +60477,8 @@ var LogQuery;
|
|
|
60258
60477
|
};
|
|
60259
60478
|
}
|
|
60260
60479
|
LogQuery.createOr = createOr;
|
|
60261
|
-
|
|
60480
|
+
/** Fields the filter API returns unless a caller projects more; custom fields need an explicit include. */
|
|
60481
|
+
LogQuery.DEFAULT_INCLUDES = [
|
|
60262
60482
|
'_id',
|
|
60263
60483
|
'host',
|
|
60264
60484
|
'logseverity',
|
|
@@ -60266,7 +60486,8 @@ var LogQuery;
|
|
|
60266
60486
|
'timestamp',
|
|
60267
60487
|
'file',
|
|
60268
60488
|
'message',
|
|
60269
|
-
]
|
|
60489
|
+
];
|
|
60490
|
+
function createLogQueryRequestBody(range, ors, severities = [], includes = [...LogQuery.DEFAULT_INCLUDES], size = 1000, sort = [{ sortKey: 'timestamp', sortOrder: 'Asc' }]) {
|
|
60270
60491
|
const nonEmptySeverities = severities.filter((s) => s.length > 0);
|
|
60271
60492
|
const severityClause = nonEmptySeverities.length > 0
|
|
60272
60493
|
? [
|
|
@@ -77258,6 +77479,59 @@ class DxSaasService {
|
|
|
77258
77479
|
this.logIngestionURL = derived;
|
|
77259
77480
|
return derived;
|
|
77260
77481
|
}
|
|
77482
|
+
/**
|
|
77483
|
+
* Base URL of the host serving the Log Analytics custom JSON ingestion API
|
|
77484
|
+
* (`la/v2/api/ingestion/logs`), without a trailing slash. An explicit
|
|
77485
|
+
* `dxCustomLogIngestionURL` wins; otherwise it is `dxGatewayHost` itself — on
|
|
77486
|
+
* DXO2 SaaS the normal gateway serves the API with the bearer user token, no
|
|
77487
|
+
* separate logs-gateway host and no products lookup (measured on
|
|
77488
|
+
* THE_LABORATORY, 2026-09-23). `dxLogIngestionURL` is deliberately not
|
|
77489
|
+
* consulted: existing profiles set it to the uim_logs logs-gateway. Costs no
|
|
77490
|
+
* network call.
|
|
77491
|
+
*
|
|
77492
|
+
* @throws {@link LogIngest.LogIngestionEndpointError} (definitive) when
|
|
77493
|
+
* neither value parses as a URL.
|
|
77494
|
+
*/
|
|
77495
|
+
resolveCustomLogIngestionURL() {
|
|
77496
|
+
const config = this.dxdoConfiguration.dxConfiguration;
|
|
77497
|
+
const candidate = (config.dxCustomLogIngestionURL?.trim() || config.dxGatewayHost || '').replace(/\/+$/, '');
|
|
77498
|
+
try {
|
|
77499
|
+
new URL(candidate);
|
|
77500
|
+
}
|
|
77501
|
+
catch {
|
|
77502
|
+
const profile = this.dxdoConfiguration.configurationFilePath ?? '~/.dxdo/<profile>.dxo2.config.json';
|
|
77503
|
+
throw new LogIngest.LogIngestionEndpointError(`Cannot determine the custom log ingestion endpoint: '${candidate}' is not a parseable URL. ` +
|
|
77504
|
+
`Set "dxGatewayHost" (or "dxCustomLogIngestionURL", no trailing slash) in ${profile}.`, true);
|
|
77505
|
+
}
|
|
77506
|
+
return candidate;
|
|
77507
|
+
}
|
|
77508
|
+
/**
|
|
77509
|
+
* POST to an absolute URL with only `Authorization: Bearer {userToken}` —
|
|
77510
|
+
* the transport for the Log Analytics custom JSON ingestion API, which lives
|
|
77511
|
+
* on the gateway host but outside the cohort-prefixed OI paths. Errors are
|
|
77512
|
+
* mapped like every other call (a {@link SimpleHTTPError} carrying the HTTP
|
|
77513
|
+
* status when the server answered).
|
|
77514
|
+
* @param requestOverrides - Per-call axios settings, see {@link RequestOverrides}.
|
|
77515
|
+
*/
|
|
77516
|
+
async bearerPost(url, body, extraHeaders = {}, requestOverrides = {}) {
|
|
77517
|
+
this.log.debug(`bearer posting to: ${url}`);
|
|
77518
|
+
const requestConfig = {
|
|
77519
|
+
...this.createSimpleUserAuthorizedRequestConfig(undefined),
|
|
77520
|
+
...requestOverrides,
|
|
77521
|
+
};
|
|
77522
|
+
requestConfig.headers = { ...requestConfig.headers, ...extraHeaders };
|
|
77523
|
+
return this._httpClient
|
|
77524
|
+
.post(url, body, requestConfig)
|
|
77525
|
+
.then((response) => response.data)
|
|
77526
|
+
.catch((reason) => {
|
|
77527
|
+
if (reason.response || reason.request) {
|
|
77528
|
+
throw DxSaasService.handleAxiosError(reason);
|
|
77529
|
+
}
|
|
77530
|
+
else {
|
|
77531
|
+
throw new Error(reason);
|
|
77532
|
+
}
|
|
77533
|
+
});
|
|
77534
|
+
}
|
|
77261
77535
|
/**
|
|
77262
77536
|
* POST to the log ingestion gateway without a cohort path segment. The
|
|
77263
77537
|
* gateway base comes from {@link resolveLogIngestionURL}: an explicit
|
|
@@ -82143,6 +82417,160 @@ class JsExtensionService {
|
|
|
82143
82417
|
}
|
|
82144
82418
|
}
|
|
82145
82419
|
|
|
82420
|
+
/**
|
|
82421
|
+
* Chunking and retry for log ingestion batches, shared by both transports.
|
|
82422
|
+
* Pure over an injected `post`, so it is unit-testable without a gateway and
|
|
82423
|
+
* independent of `LogsService` (which imports this file, not the reverse).
|
|
82424
|
+
*/
|
|
82425
|
+
/** Bytes a value occupies once serialised, as the gateway will count them. */
|
|
82426
|
+
function measureBytes(value) {
|
|
82427
|
+
return Buffer.byteLength(JSON.stringify(value), 'utf8');
|
|
82428
|
+
}
|
|
82429
|
+
/** Greedy chunking by count and bytes, preserving order. */
|
|
82430
|
+
function chunkPayloads(payloads, limits) {
|
|
82431
|
+
const batches = [];
|
|
82432
|
+
const oversized = [];
|
|
82433
|
+
let current = [];
|
|
82434
|
+
let currentBytes = 2; // "[" and "]"
|
|
82435
|
+
payloads.forEach((payload, index) => {
|
|
82436
|
+
const bytes = measureBytes(payload);
|
|
82437
|
+
if (limits.maxDocumentBytes !== undefined && bytes > limits.maxDocumentBytes) {
|
|
82438
|
+
oversized.push(index);
|
|
82439
|
+
return;
|
|
82440
|
+
}
|
|
82441
|
+
const separator = current.length > 0 ? 1 : 0;
|
|
82442
|
+
const wouldBe = currentBytes + separator + bytes;
|
|
82443
|
+
const overCount = current.length >= limits.maxCount;
|
|
82444
|
+
const overBytes = limits.maxRequestBytes !== undefined && current.length > 0 && wouldBe > limits.maxRequestBytes;
|
|
82445
|
+
if (overCount || overBytes) {
|
|
82446
|
+
batches.push(current);
|
|
82447
|
+
current = [];
|
|
82448
|
+
currentBytes = 2;
|
|
82449
|
+
}
|
|
82450
|
+
currentBytes += (current.length > 0 ? 1 : 0) + bytes;
|
|
82451
|
+
current.push(payload);
|
|
82452
|
+
});
|
|
82453
|
+
if (current.length > 0)
|
|
82454
|
+
batches.push(current);
|
|
82455
|
+
return { batches, oversized };
|
|
82456
|
+
}
|
|
82457
|
+
/**
|
|
82458
|
+
* What a failed POST means for the batch: 429 and 5xx are retried, 401/403
|
|
82459
|
+
* stop the run, 413 splits the batch, any other 4xx is a rejection of that
|
|
82460
|
+
* batch, and a failure with no HTTP status (timeout, DNS, reset) is retried.
|
|
82461
|
+
*/
|
|
82462
|
+
function classifyIngestionError(error) {
|
|
82463
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
82464
|
+
if (error instanceof SimpleHTTPError || (isObject(error) && error['isHTTPError'] === true)) {
|
|
82465
|
+
const status = Number(error.httpCode);
|
|
82466
|
+
const responseData = error.responseData;
|
|
82467
|
+
if (status === 429 || status >= 500)
|
|
82468
|
+
return { kind: 'retry', status, message, responseData };
|
|
82469
|
+
if (status === 401 || status === 403)
|
|
82470
|
+
return { kind: 'auth', status, message, responseData };
|
|
82471
|
+
if (status === 413)
|
|
82472
|
+
return { kind: 'too-large', status, message, responseData };
|
|
82473
|
+
return { kind: 'rejected', status, message, responseData };
|
|
82474
|
+
}
|
|
82475
|
+
return { kind: 'network', message };
|
|
82476
|
+
}
|
|
82477
|
+
function isObject(value) {
|
|
82478
|
+
return typeof value === 'object' && value !== null;
|
|
82479
|
+
}
|
|
82480
|
+
const DEFAULTS = { attempts: 8, baseMs: 1_000, capMs: 60_000 };
|
|
82481
|
+
/** A cancellable delay: resolves early (without throwing) when the signal aborts. */
|
|
82482
|
+
function sleep(ms, signal) {
|
|
82483
|
+
return new Promise((resolve) => {
|
|
82484
|
+
if (signal?.aborted) {
|
|
82485
|
+
resolve();
|
|
82486
|
+
return;
|
|
82487
|
+
}
|
|
82488
|
+
const timer = setTimeout(done, Math.max(0, ms));
|
|
82489
|
+
function done() {
|
|
82490
|
+
clearTimeout(timer);
|
|
82491
|
+
signal?.removeEventListener('abort', done);
|
|
82492
|
+
resolve();
|
|
82493
|
+
}
|
|
82494
|
+
signal?.addEventListener('abort', done, { once: true });
|
|
82495
|
+
});
|
|
82496
|
+
}
|
|
82497
|
+
/**
|
|
82498
|
+
* Sends batches in order with exponential backoff and jitter on transient
|
|
82499
|
+
* failures. A `too-large` batch of more than one document is split in half
|
|
82500
|
+
* and both halves re-queued in place without consuming an attempt; a single
|
|
82501
|
+
* oversized document is recorded as failed. `auth` stops the run; `rejected`
|
|
82502
|
+
* records the batch and continues.
|
|
82503
|
+
*/
|
|
82504
|
+
async function sendWithRetry(post, batches, options = {}) {
|
|
82505
|
+
const attempts = options.attempts ?? DEFAULTS.attempts;
|
|
82506
|
+
const baseMs = options.baseMs ?? DEFAULTS.baseMs;
|
|
82507
|
+
const capMs = options.capMs ?? DEFAULTS.capMs;
|
|
82508
|
+
const random = options.random ?? Math.random;
|
|
82509
|
+
const sleeper = options.sleeper ?? sleep;
|
|
82510
|
+
const queue = batches.map((batch) => [...batch]);
|
|
82511
|
+
const result = { batches: 0, sent: 0, failed: [] };
|
|
82512
|
+
let batchIndex = 0;
|
|
82513
|
+
while (queue.length > 0) {
|
|
82514
|
+
if (options.signal?.aborted) {
|
|
82515
|
+
result.aborted = 'signal';
|
|
82516
|
+
break;
|
|
82517
|
+
}
|
|
82518
|
+
const batch = queue.shift();
|
|
82519
|
+
const index = batchIndex;
|
|
82520
|
+
batchIndex += 1;
|
|
82521
|
+
result.batches += 1;
|
|
82522
|
+
let attempt = 0;
|
|
82523
|
+
let settled = false;
|
|
82524
|
+
while (!settled) {
|
|
82525
|
+
attempt += 1;
|
|
82526
|
+
try {
|
|
82527
|
+
await post(batch);
|
|
82528
|
+
result.sent += batch.length;
|
|
82529
|
+
options.onBatch?.({ batchIndex: index, batches: result.batches + queue.length, count: batch.length, outcome: 'sent', attempt });
|
|
82530
|
+
settled = true;
|
|
82531
|
+
break;
|
|
82532
|
+
}
|
|
82533
|
+
catch (error) {
|
|
82534
|
+
const failure = classifyIngestionError(error);
|
|
82535
|
+
if (failure.kind === 'too-large' && batch.length > 1) {
|
|
82536
|
+
const half = Math.ceil(batch.length / 2);
|
|
82537
|
+
queue.unshift(batch.slice(0, half), batch.slice(half));
|
|
82538
|
+
result.batches -= 1;
|
|
82539
|
+
batchIndex -= 1;
|
|
82540
|
+
options.onBatch?.({ batchIndex: index, batches: result.batches + queue.length, count: batch.length, outcome: 'split', attempt, failure });
|
|
82541
|
+
settled = true;
|
|
82542
|
+
break;
|
|
82543
|
+
}
|
|
82544
|
+
const transient = failure.kind === 'retry' || failure.kind === 'network';
|
|
82545
|
+
const exhausted = attempt >= attempts || options.signal?.aborted === true;
|
|
82546
|
+
if (transient && !exhausted) {
|
|
82547
|
+
const delay = Math.min(capMs, baseMs * 2 ** (attempt - 1));
|
|
82548
|
+
const jitter = Math.floor(random() * (delay / 2));
|
|
82549
|
+
options.onBatch?.({ batchIndex: index, batches: result.batches + queue.length, count: batch.length, outcome: 'retrying', attempt, failure });
|
|
82550
|
+
await sleeper(delay + jitter, options.signal);
|
|
82551
|
+
continue;
|
|
82552
|
+
}
|
|
82553
|
+
result.failed.push({
|
|
82554
|
+
batchIndex: index,
|
|
82555
|
+
count: batch.length,
|
|
82556
|
+
kind: failure.kind,
|
|
82557
|
+
...(failure.status !== undefined ? { status: failure.status } : {}),
|
|
82558
|
+
message: failure.message,
|
|
82559
|
+
...(failure.responseData !== undefined ? { responseData: failure.responseData } : {}),
|
|
82560
|
+
attempts: attempt,
|
|
82561
|
+
});
|
|
82562
|
+
options.onBatch?.({ batchIndex: index, batches: result.batches + queue.length, count: batch.length, outcome: 'failed', attempt, failure });
|
|
82563
|
+
settled = true;
|
|
82564
|
+
if (failure.kind === 'auth') {
|
|
82565
|
+
result.aborted = 'auth';
|
|
82566
|
+
queue.length = 0;
|
|
82567
|
+
}
|
|
82568
|
+
}
|
|
82569
|
+
}
|
|
82570
|
+
}
|
|
82571
|
+
return result;
|
|
82572
|
+
}
|
|
82573
|
+
|
|
82146
82574
|
function detectIPv4() {
|
|
82147
82575
|
const nets = networkInterfaces();
|
|
82148
82576
|
for (const iface of Object.values(nets)) {
|
|
@@ -82255,25 +82683,207 @@ function buildUimLogPayload(cohortId, options, additionalFields) {
|
|
|
82255
82683
|
...additionalFields,
|
|
82256
82684
|
};
|
|
82257
82685
|
}
|
|
82686
|
+
/** Drops fields the custom API should not see: `""`, `null`, `undefined`, `[]`. `0` and `false` stay. */
|
|
82687
|
+
function dropEmptyFields(fields) {
|
|
82688
|
+
const kept = {};
|
|
82689
|
+
for (const [key, value] of Object.entries(fields)) {
|
|
82690
|
+
if (value === '' || value === null || value === undefined)
|
|
82691
|
+
continue;
|
|
82692
|
+
if (Array.isArray(value) && value.length === 0)
|
|
82693
|
+
continue;
|
|
82694
|
+
kept[key] = value;
|
|
82695
|
+
}
|
|
82696
|
+
return kept;
|
|
82697
|
+
}
|
|
82698
|
+
/**
|
|
82699
|
+
* Builds the flat document the Log Analytics **custom JSON ingestion API**
|
|
82700
|
+
* takes — the `custom` transport's counterpart of {@link buildUimLogPayload},
|
|
82701
|
+
* sharing the option schema and every default so a producer can switch
|
|
82702
|
+
* transports without changing what it passes.
|
|
82703
|
+
*
|
|
82704
|
+
* Differences from the uim_logs document, all measured on THE_LABORATORY
|
|
82705
|
+
* (`docs/internal/custom-log-ingestion-probe-2026-09.md`): `timestamp` is an
|
|
82706
|
+
* epoch-millisecond number; `tenant_id` is the dashed upper-case cohort id;
|
|
82707
|
+
* only `logseverity` is sent (a `severity` field would derive a second,
|
|
82708
|
+
* lower-case copy); the tag list is `tag`; there is no positional parse, so
|
|
82709
|
+
* `file` needs no dot; `agentName`/`agentInstance` travel as `agent_name` /
|
|
82710
|
+
* `agent_instance` only when set (the `__`-prefixed uim names are stripped by
|
|
82711
|
+
* this API); empty-valued custom fields are dropped. The logtype is sent
|
|
82712
|
+
* without the platform's `cust_` prefix, which is how this API spells it.
|
|
82713
|
+
*
|
|
82714
|
+
* @throws ZodError if `options` fails schema validation.
|
|
82715
|
+
* @throws Error if `additionalFields` names a reserved field
|
|
82716
|
+
* ({@link LogIngest.isReservedLogField} or
|
|
82717
|
+
* {@link LogCustomIngest.isReservedCustomLogField}) or `timestamp` is not
|
|
82718
|
+
* ISO 8601.
|
|
82719
|
+
*/
|
|
82720
|
+
function buildCustomLogPayload(cohortId, options, additionalFields) {
|
|
82721
|
+
LogIngest.LogIngestOptionsSchema.parse(options);
|
|
82722
|
+
for (const key of Object.keys(additionalFields ?? {})) {
|
|
82723
|
+
if (LogIngest.isReservedLogField(key)) {
|
|
82724
|
+
throw new Error(`additional field '${key}' is reserved: pass severity through the 'severity' option — it is sent as 'logseverity'`);
|
|
82725
|
+
}
|
|
82726
|
+
if (LogCustomIngest.isReservedCustomLogField(key)) {
|
|
82727
|
+
throw new Error(`additional field '${key}' belongs to the custom log document, or is stripped by the platform, and cannot be sent as a custom field`);
|
|
82728
|
+
}
|
|
82729
|
+
}
|
|
82730
|
+
const logtype = LogTypes.bareLogtypeName(orDefault(options.logtype, 'generic'));
|
|
82731
|
+
const host = orDefault(options.host, hostname());
|
|
82732
|
+
const ip = orDefault(options.ip, detectIPv4());
|
|
82733
|
+
const agentInstance = orDefault(options.agentInstance, 'dx-do');
|
|
82734
|
+
const containerId = orDefault(options.containerId, host);
|
|
82735
|
+
const containerName = orDefault(options.containerName, agentInstance);
|
|
82736
|
+
const file = orDefault(options.file, 'dx-do.cli');
|
|
82737
|
+
const timestamp = options.timestamp ? Date.parse(options.timestamp) : Date.now();
|
|
82738
|
+
if (Number.isNaN(timestamp)) {
|
|
82739
|
+
throw new Error(`timestamp '${options.timestamp}' is not an ISO 8601 date-time`);
|
|
82740
|
+
}
|
|
82741
|
+
const document = {
|
|
82742
|
+
tenant_id: cohortId.toUpperCase(),
|
|
82743
|
+
logtype,
|
|
82744
|
+
logformat: 'custom',
|
|
82745
|
+
timestamp,
|
|
82746
|
+
message: options.message,
|
|
82747
|
+
logseverity: options.severity ?? LogIngest.DEFAULT_LOG_SEVERITY,
|
|
82748
|
+
host,
|
|
82749
|
+
ip,
|
|
82750
|
+
container_id: containerId,
|
|
82751
|
+
container_name: containerName,
|
|
82752
|
+
file,
|
|
82753
|
+
tag: [`${logtype} logs`],
|
|
82754
|
+
...(options.agentName ? { agent_name: options.agentName } : {}),
|
|
82755
|
+
...(options.agentInstance ? { agent_instance: options.agentInstance } : {}),
|
|
82756
|
+
...dropEmptyFields(additionalFields ?? {}),
|
|
82757
|
+
};
|
|
82758
|
+
return LogCustomIngest.CustomLogDocumentSchema.parse(document);
|
|
82759
|
+
}
|
|
82760
|
+
const DEFAULT_BATCH_SIZE = 200;
|
|
82258
82761
|
/**
|
|
82259
82762
|
* Service for querying and ingesting log analytics data.
|
|
82260
82763
|
*/
|
|
82261
82764
|
class LogsService {
|
|
82262
82765
|
dxSaasService;
|
|
82263
|
-
|
|
82264
|
-
|
|
82766
|
+
log;
|
|
82767
|
+
/**
|
|
82768
|
+
* @param dxSaasService - DX SaaS HTTP client
|
|
82769
|
+
* @param log - Logger for response-validation warnings; silent when omitted,
|
|
82770
|
+
* so producers that construct the service themselves keep working.
|
|
82771
|
+
*/
|
|
82772
|
+
constructor(dxSaasService, log = new Logging.NullSimpleLog()) {
|
|
82265
82773
|
this.dxSaasService = dxSaasService;
|
|
82774
|
+
this.log = log;
|
|
82266
82775
|
}
|
|
82267
82776
|
/**
|
|
82268
|
-
*
|
|
82269
|
-
*
|
|
82270
|
-
*
|
|
82271
|
-
* Log Analytics provisioning) plus the uim_logs ingestion path.
|
|
82777
|
+
* Lists the logtypes the tenant has a log index for — one name per index
|
|
82778
|
+
* family `*_logs_<logtype>_*`. Names starting with `cust_` were created by
|
|
82779
|
+
* the custom JSON ingestion API.
|
|
82272
82780
|
*
|
|
82273
|
-
* @
|
|
82274
|
-
*
|
|
82781
|
+
* @remarks Response-validated with `safeParse`: a mismatch is logged as a
|
|
82782
|
+
* warning and the raw list is still returned.
|
|
82275
82783
|
*/
|
|
82276
|
-
async
|
|
82784
|
+
async listLogtypes() {
|
|
82785
|
+
const raw = await this.dxSaasService.oiGet('oi/loganalytics/v1/api/metric/logtypes');
|
|
82786
|
+
const result = LogTypes.LogtypesResponseSchema.safeParse(raw);
|
|
82787
|
+
if (!result.success) {
|
|
82788
|
+
this.log.warn('LogtypesResponse validation warning:', result.error.message);
|
|
82789
|
+
}
|
|
82790
|
+
return raw.response ?? [];
|
|
82791
|
+
}
|
|
82792
|
+
/**
|
|
82793
|
+
* Lists the indexed fields of one logtype with their index type
|
|
82794
|
+
* (`{ host: 'Keyword', logseverity: 'Keyword', … }`).
|
|
82795
|
+
*
|
|
82796
|
+
* @param logtype - A name from {@link listLogtypes}; an unknown logtype is
|
|
82797
|
+
* answered by the gateway, typically with an empty map.
|
|
82798
|
+
* @remarks Response-validated with `safeParse`: a mismatch is logged as a
|
|
82799
|
+
* warning and the raw map is still returned.
|
|
82800
|
+
*/
|
|
82801
|
+
async listLogtypeFields(logtype) {
|
|
82802
|
+
const raw = await this.dxSaasService.oiGet(`oi/loganalytics/v1/api/metric/fields/${encodeURIComponent(logtype)}`);
|
|
82803
|
+
const result = LogTypes.LogtypeFieldsResponseSchema.safeParse(raw);
|
|
82804
|
+
if (!result.success) {
|
|
82805
|
+
this.log.warn('LogtypeFieldsResponse validation warning:', result.error.message);
|
|
82806
|
+
}
|
|
82807
|
+
return raw.response ?? {};
|
|
82808
|
+
}
|
|
82809
|
+
enabledCustomLogtypes;
|
|
82810
|
+
/**
|
|
82811
|
+
* The custom logtypes the tenant has enabled for the custom JSON ingestion
|
|
82812
|
+
* API, as `cust_<logtype>` names from {@link listLogtypes}. Memoized per
|
|
82813
|
+
* instance; a failed lookup is not memoized.
|
|
82814
|
+
*/
|
|
82815
|
+
customLogtypes() {
|
|
82816
|
+
if (!this.enabledCustomLogtypes) {
|
|
82817
|
+
this.enabledCustomLogtypes = this.listLogtypes()
|
|
82818
|
+
.then((names) => new Set(names.filter((name) => LogTypes.isCustomLogtype(name))))
|
|
82819
|
+
.catch((error) => {
|
|
82820
|
+
this.enabledCustomLogtypes = undefined;
|
|
82821
|
+
throw error;
|
|
82822
|
+
});
|
|
82823
|
+
}
|
|
82824
|
+
return this.enabledCustomLogtypes;
|
|
82825
|
+
}
|
|
82826
|
+
/**
|
|
82827
|
+
* Decides the transport for one logtype.
|
|
82828
|
+
*
|
|
82829
|
+
* Precedence: `requested` (a command's `transport=`), then the profile's
|
|
82830
|
+
* `dxLogIngestionTransport`, then {@link LogIngest.DEFAULT_LOG_INGESTION_TRANSPORT}
|
|
82831
|
+
* (`auto`). `auto` becomes `custom` when the tenant lists `cust_<logtype>`
|
|
82832
|
+
* and `legacy` otherwise; an explicit `custom` for a logtype the tenant has
|
|
82833
|
+
* not enabled is refused, because the platform would accept the document
|
|
82834
|
+
* and drop it silently. If the logtype lookup itself fails, `auto` falls
|
|
82835
|
+
* back to `legacy` with a warning and an explicit `custom` proceeds unchecked.
|
|
82836
|
+
*
|
|
82837
|
+
* @throws Error when `requested` or the profile value is not `auto`,
|
|
82838
|
+
* `custom` or `legacy`.
|
|
82839
|
+
* @throws {@link LogCustomIngest.LogtypeNotEnabledError} for an explicit
|
|
82840
|
+
* `custom` with a logtype the tenant has not enabled.
|
|
82841
|
+
*/
|
|
82842
|
+
async resolveTransport(requested, logtype) {
|
|
82843
|
+
const profile = this.dxSaasService.dxdoConfiguration.dxConfiguration.dxLogIngestionTransport;
|
|
82844
|
+
const source = requested ? 'transport argument' : profile ? 'profile dxLogIngestionTransport' : 'default';
|
|
82845
|
+
const candidate = requested ?? profile ?? LogIngest.DEFAULT_LOG_INGESTION_TRANSPORT;
|
|
82846
|
+
const parsed = LogIngest.LogIngestionTransportSchema.safeParse(candidate);
|
|
82847
|
+
if (!parsed.success) {
|
|
82848
|
+
throw new Error(`log ingestion transport '${candidate}' (${source}) is not one of ${LogIngest.LOG_INGESTION_TRANSPORTS.join(', ')}`);
|
|
82849
|
+
}
|
|
82850
|
+
const bare = LogTypes.bareLogtypeName(orDefault(logtype, 'generic'));
|
|
82851
|
+
const wanted = LogTypes.customLogtypeName(bare);
|
|
82852
|
+
if (parsed.data === 'legacy')
|
|
82853
|
+
return 'legacy';
|
|
82854
|
+
let enabled;
|
|
82855
|
+
try {
|
|
82856
|
+
enabled = await this.customLogtypes();
|
|
82857
|
+
}
|
|
82858
|
+
catch (error) {
|
|
82859
|
+
const reason = error instanceof Error ? error.message : String(error);
|
|
82860
|
+
if (parsed.data === 'auto') {
|
|
82861
|
+
this.log.warn(`custom logtype lookup failed (${reason}); using the legacy transport for '${bare}'`);
|
|
82862
|
+
return 'legacy';
|
|
82863
|
+
}
|
|
82864
|
+
this.log.warn(`custom logtype lookup failed (${reason}); sending '${bare}' on the custom transport unchecked`);
|
|
82865
|
+
return 'custom';
|
|
82866
|
+
}
|
|
82867
|
+
if (enabled.has(wanted))
|
|
82868
|
+
return 'custom';
|
|
82869
|
+
if (parsed.data === 'auto')
|
|
82870
|
+
return 'legacy';
|
|
82871
|
+
throw new LogCustomIngest.LogtypeNotEnabledError(bare, [...enabled].map((name) => LogTypes.bareLogtypeName(name)).sort());
|
|
82872
|
+
}
|
|
82873
|
+
/**
|
|
82874
|
+
* The full URL log entries are POSTed to. For `legacy` (the default, so
|
|
82875
|
+
* every existing caller keeps the uim_logs pipeline): the log gateway
|
|
82876
|
+
* resolved by {@link DxSaasService.resolveLogIngestionURL} plus the uim_logs
|
|
82877
|
+
* path. For `custom`: {@link DxSaasService.resolveCustomLogIngestionURL}
|
|
82878
|
+
* plus `la/v2/api/ingestion/logs`.
|
|
82879
|
+
*
|
|
82880
|
+
* @throws {@link LogIngest.LogIngestionEndpointError} naming why no endpoint
|
|
82881
|
+
* could be determined and how to set `dxLogIngestionURL`.
|
|
82882
|
+
*/
|
|
82883
|
+
async resolveIngestionEndpoint(transport = 'legacy') {
|
|
82884
|
+
if (transport === 'custom') {
|
|
82885
|
+
return `${this.dxSaasService.resolveCustomLogIngestionURL()}/${LogCustomIngest.INGESTION_PATH}`;
|
|
82886
|
+
}
|
|
82277
82887
|
return `${await this.dxSaasService.resolveLogIngestionURL()}/${UIM_LOGS_INGESTION_PATH}`;
|
|
82278
82888
|
}
|
|
82279
82889
|
/** Executes a log query against the OI log analytics filter API. */
|
|
@@ -82290,32 +82900,117 @@ class LogsService {
|
|
|
82290
82900
|
* @param additionalFields - Arbitrary extra fields to include in the indexed
|
|
82291
82901
|
* document. `severity` and `logseverity` (any letter case) are refused:
|
|
82292
82902
|
* severity travels through `options.severity` and is emitted as `logseverity`.
|
|
82293
|
-
* @
|
|
82903
|
+
* @param transport - `legacy` (default) builds the uim_logs document via
|
|
82904
|
+
* {@link buildUimLogPayload}; `custom` builds the flat document via
|
|
82905
|
+
* {@link buildCustomLogPayload}.
|
|
82906
|
+
* @returns The payload object ready to POST to that transport's endpoint.
|
|
82294
82907
|
* @throws ZodError if `options` fails schema validation.
|
|
82295
82908
|
* @throws Error if `additionalFields` names a reserved field.
|
|
82296
82909
|
*/
|
|
82297
|
-
buildLogPayload(options, additionalFields) {
|
|
82298
|
-
|
|
82910
|
+
buildLogPayload(options, additionalFields, transport = 'legacy') {
|
|
82911
|
+
const cohortId = this.dxSaasService.dxdoConfiguration.dxConfiguration.cohortId;
|
|
82912
|
+
return transport === 'custom'
|
|
82913
|
+
? buildCustomLogPayload(cohortId, options, additionalFields)
|
|
82914
|
+
: buildUimLogPayload(cohortId, options, additionalFields);
|
|
82299
82915
|
}
|
|
82300
82916
|
/**
|
|
82301
|
-
* Ingests a single log entry
|
|
82917
|
+
* Ingests a single log entry.
|
|
82302
82918
|
*
|
|
82303
|
-
* @remarks
|
|
82304
|
-
*
|
|
82305
|
-
* validated. `options` is validated
|
|
82919
|
+
* @remarks Both gateways return an opaque acknowledgement with no stable
|
|
82920
|
+
* schema (the custom API answers a plain-text `ok`), so the response is
|
|
82921
|
+
* intentionally typed `unknown` and not validated. `options` is validated
|
|
82922
|
+
* by {@link buildLogPayload}. No logtype gate is applied here — use
|
|
82923
|
+
* {@link resolveTransport} first, or {@link ingestLogBatch}, which does.
|
|
82924
|
+
* @param transport - `legacy` (default) posts to the uim_logs pipeline;
|
|
82925
|
+
* `custom` to the custom JSON ingestion API.
|
|
82306
82926
|
*/
|
|
82307
|
-
ingestLog(options, additionalFields) {
|
|
82308
|
-
return this.
|
|
82927
|
+
ingestLog(options, additionalFields, transport = 'legacy') {
|
|
82928
|
+
return this.post(transport, [this.buildLogPayload(options, additionalFields, transport)]);
|
|
82309
82929
|
}
|
|
82310
82930
|
/**
|
|
82311
|
-
* Ingests a batch of log entries into the log gateway
|
|
82931
|
+
* Ingests a batch of log entries into the uim_logs log gateway in one POST —
|
|
82932
|
+
* no chunking, no retry.
|
|
82312
82933
|
*
|
|
82934
|
+
* @deprecated Use {@link ingestLogBatch}, which chunks, retries and reports
|
|
82935
|
+
* per batch on either transport.
|
|
82313
82936
|
* @remarks Each entry's `options` is validated by {@link buildLogPayload}.
|
|
82314
82937
|
* The gateway response is an opaque ack (typed `unknown`, not validated).
|
|
82315
82938
|
*/
|
|
82316
82939
|
ingestLogs(entries) {
|
|
82317
82940
|
return this.dxSaasService.logPost(UIM_LOGS_INGESTION_PATH, entries.map((e) => this.buildLogPayload(e.options, e.additionalFields)));
|
|
82318
82941
|
}
|
|
82942
|
+
/**
|
|
82943
|
+
* Ingests many log entries: decides the transport (see
|
|
82944
|
+
* {@link resolveTransport}), builds every document first so a bad entry
|
|
82945
|
+
* fails before anything is sent, chunks by count (and, on the custom
|
|
82946
|
+
* transport, by the 10 MB request and 250 KB document ceilings), and sends
|
|
82947
|
+
* the batches in order with exponential backoff on 429/5xx/network
|
|
82948
|
+
* failures. A 4xx rejection records the batch and continues; a 401/403
|
|
82949
|
+
* stops the run.
|
|
82950
|
+
*
|
|
82951
|
+
* @throws Error naming the entry index when a document cannot be built.
|
|
82952
|
+
* @throws {@link LogCustomIngest.LogtypeNotEnabledError} for an explicit
|
|
82953
|
+
* `custom` transport with a logtype the tenant has not enabled.
|
|
82954
|
+
* @throws Error when entries carry logtypes that `auto` would route to
|
|
82955
|
+
* different transports — pass `transport` explicitly then.
|
|
82956
|
+
*/
|
|
82957
|
+
async ingestLogBatch(entries, options = {}) {
|
|
82958
|
+
const logtypes = [...new Set(entries.map((e) => orDefault(e.options.logtype, 'generic')))];
|
|
82959
|
+
const decided = new Set();
|
|
82960
|
+
for (const logtype of logtypes.length > 0 ? logtypes : ['generic']) {
|
|
82961
|
+
decided.add(await this.resolveTransport(options.transport, logtype));
|
|
82962
|
+
}
|
|
82963
|
+
if (decided.size > 1) {
|
|
82964
|
+
throw new Error(`entries mix logtypes that route to different transports (${logtypes.join(', ')}); pass transport=custom or transport=legacy explicitly`);
|
|
82965
|
+
}
|
|
82966
|
+
const transport = [...decided][0] ?? 'legacy';
|
|
82967
|
+
const endpoint = await this.resolveIngestionEndpoint(transport);
|
|
82968
|
+
const payloads = entries.map((entry, index) => {
|
|
82969
|
+
try {
|
|
82970
|
+
return this.buildLogPayload(entry.options, entry.additionalFields, transport);
|
|
82971
|
+
}
|
|
82972
|
+
catch (error) {
|
|
82973
|
+
const reason = error instanceof Error ? error.message : String(error);
|
|
82974
|
+
throw new Error(`entry ${index}: ${reason}`);
|
|
82975
|
+
}
|
|
82976
|
+
});
|
|
82977
|
+
const batchSize = options.batchSize ?? DEFAULT_BATCH_SIZE;
|
|
82978
|
+
const { batches, oversized } = chunkPayloads(payloads, {
|
|
82979
|
+
maxCount: batchSize,
|
|
82980
|
+
...(transport === 'custom'
|
|
82981
|
+
? {
|
|
82982
|
+
maxRequestBytes: LogCustomIngest.LIMITS.maxRequestBytes,
|
|
82983
|
+
maxDocumentBytes: LogCustomIngest.LIMITS.maxDocumentBytes,
|
|
82984
|
+
}
|
|
82985
|
+
: {}),
|
|
82986
|
+
});
|
|
82987
|
+
const overrides = {
|
|
82988
|
+
...(options.timeoutMs !== undefined ? { timeout: options.timeoutMs } : {}),
|
|
82989
|
+
...(options.signal !== undefined ? { signal: options.signal } : {}),
|
|
82990
|
+
};
|
|
82991
|
+
const sent = await sendWithRetry((batch) => this.post(transport, batch, overrides), batches, {
|
|
82992
|
+
...(options.retry ?? {}),
|
|
82993
|
+
...(options.signal !== undefined ? { signal: options.signal } : {}),
|
|
82994
|
+
...(options.onBatch !== undefined ? { onBatch: options.onBatch } : {}),
|
|
82995
|
+
});
|
|
82996
|
+
return {
|
|
82997
|
+
transport,
|
|
82998
|
+
endpoint,
|
|
82999
|
+
entries: entries.length,
|
|
83000
|
+
batches: sent.batches,
|
|
83001
|
+
sent: sent.sent,
|
|
83002
|
+
failed: sent.failed,
|
|
83003
|
+
oversized,
|
|
83004
|
+
...(sent.aborted !== undefined ? { aborted: sent.aborted } : {}),
|
|
83005
|
+
};
|
|
83006
|
+
}
|
|
83007
|
+
async post(transport, payloads, overrides = {}) {
|
|
83008
|
+
if (transport === 'custom') {
|
|
83009
|
+
const endpoint = await this.resolveIngestionEndpoint('custom');
|
|
83010
|
+
return this.dxSaasService.bearerPost(endpoint, payloads, {}, overrides);
|
|
83011
|
+
}
|
|
83012
|
+
return this.dxSaasService.logPost(UIM_LOGS_INGESTION_PATH, payloads, overrides);
|
|
83013
|
+
}
|
|
82319
83014
|
}
|
|
82320
83015
|
|
|
82321
83016
|
/**
|
|
@@ -86370,7 +87065,7 @@ function createServiceMonolith(dxDoConfiguration, log = new NullSimpleLog()) {
|
|
|
86370
87065
|
dxGraphService: new GraphService(dxSaaSService),
|
|
86371
87066
|
dxInventoryService: new InventoryService(dxSaaSService, dxNASSService, dxTASService, log),
|
|
86372
87067
|
dxJSExtensionService: new JsExtensionService(dxSaaSService),
|
|
86373
|
-
dxLogsService: new LogsService(dxSaaSService),
|
|
87068
|
+
dxLogsService: new LogsService(dxSaaSService, log),
|
|
86374
87069
|
dxMaintenanceService: new MaintenanceService(dxSaaSService, log),
|
|
86375
87070
|
dxManagementModuleService: dxManagementModuleService,
|
|
86376
87071
|
dxMetricBatchService: new MetricBatchService(dxSaaSService),
|
|
@@ -86398,5 +87093,5 @@ function createServiceMonolith(dxDoConfiguration, log = new NullSimpleLog()) {
|
|
|
86398
87093
|
};
|
|
86399
87094
|
}
|
|
86400
87095
|
|
|
86401
|
-
export { ALARM_CATEGORIES, ALARM_FILTER_CATEGORIES, ALARM_FILTER_DEFAULT_COLUMN_ORDER, ALARM_FILTER_DEFAULT_VISIBLE_COLUMNS, ALARM_FILTER_DISPLAY_COLUMN_KEYS, ALARM_FILTER_FIELD_PATHS, ALARM_QUEUE_CATEGORIES, ALARM_QUEUE_DEFAULT_COLUMN_ORDER, ALARM_QUEUE_DEFAULT_FILTER_SETTINGS, ALARM_QUEUE_DEFAULT_VISIBLE_COLUMNS, ALARM_QUEUE_DISPLAY_COLUMN_KEYS, ALARM_QUEUE_FILTER_CONDITIONS, ALARM_QUEUE_FILTER_SETTING_KEYS, ALARM_VIEW_CATEGORIES, ALARM_VIEW_FIELD_PATHS, ALARM_VIEW_SEARCH_PATHS, ALGORITHMIC_SITUATIONS_KEY, AXAActivities, AccService, AgentService, AgentTrace, AlarmCategorySchema, AlarmEnrichment, AlarmEnrichmentFilter, AlarmFilterFieldSchema, AlarmFilterFieldsResponseSchema, AlarmFilterWriteBodySchema, AlarmFilterWriteResponseSchema, AlarmQueueDeleteResponseSchema, AlarmQueueDetailSchema, AlarmQueueFieldSchema, AlarmQueueFieldsResponseSchema, AlarmQueueFilterSettingsSchema, AlarmQueueListResponseSchema, AlarmQueuePreferencesResponseSchema, AlarmQueuePreferencesSchema, AlarmQueueSchema, AlarmQueueWriteBodySchema, AlarmQueueWriteResponseSchema, AlarmService, AlertDefinitionResponse, AlertResponse, AlertResponseV2, AlertService, AlignmentSchema, AllAlarmQueuesResponseSchema, AnyChannelSchema, ApmUniverseService, AppVersionSchema, AppVersionsResponseSchema, AsmService, AttributeExpressionComparatorSchema, AttributeExpressionOperatorSchema, AttributeExpressionSchema, AttributeFilterOperator, AttributeNameAllSpecifierSchema, AttributeNameAndSpecifierSchema, AttributeNameAnyNumericSpecifierSchema, AttributeNameAttributeSpecifierSchema, AttributeNameChildrenSpecifierSchema, AttributeNameExactSpecifierSchema, AttributeNameFolderSpecifierSchema, AttributeNameNoneSpecifierSchema, AttributeNameNotSpecifierSchema, AttributeNameOperatorSpecifierSchema, AttributeNameOrSpecifierSchema, AttributeNameRegExSpecifierSchema, AttributeNameSpecifierSchema, AttributeNameTypeSpecifierSchema, AttributeService, AttributeValueAsFieldSchema, AuditGlobalQueryRequestSchema, AuditQueryRequestSchema, AuditQueryResponseSchema, AuditRecordEsSchema, AuditRecordSchema, AuditStoreResponseSchema, AuthorizationService, AxaService, BlobAllFilterSchema, BlobAsyncCommandSchema, BlobAsyncDeleteSchemaCommandSchema, BlobAsyncResultEntrySchema, BlobAsyncResultRequestSchema, BlobAsyncResultResponseSchema, BlobAsyncResultStateSchema, BlobAttributeExpressionSchema, BlobAttributeFilterSchema, BlobAttributesSchema, BlobBulkDeleteEntrySchema, BlobBulkDeleteRequestSchema, BlobBulkDeleteResponseSchema, BlobBulkItemSchema, BlobBulkStoreRequestSchema, BlobBulkStoreResponseSchema, BlobDeleteParamsSchema, BlobDeleteResponseSchema, BlobDeleteSchemaResultSchema, BlobExecuteAsyncRequestSchema, BlobExecuteAsyncResponseSchema, BlobFetchParamsSchema, BlobFileEnvelopeSchema, BlobFilterSchema, BlobMetadataSchema, BlobQueryRequestSchema, BlobQueryResponseSchema, BlobSchemaItemSchema, BlobSchemaListRequestSchema, BlobSchemaListResponseSchema, BlobService, BlobStoreParamsSchema, BlobStoreResponseSchema, CLUSTERING_POLICY_BUILTIN_AUTHORS, CLUSTERING_POLICY_CONDITIONS, CLUSTERING_POLICY_PRESENCE_CONDITIONS, CLUSTERING_POLICY_PREVIEW_RANGES, CLUSTERING_POLICY_STATUSES, CURL_COHORT_VAR, CURL_HOST_VAR, CURL_TOKEN_VAR, CUSTOM_FIELD_PATTERN, CalendarIntervalSchema, CancelRevokeRequestSchema, ChannelDeleteResponseSchema, ChannelEnvelopeSchema, ChannelLinkedEntitySchema, ChannelListResponseSchema, ChannelService, ChannelTemplateRefSchema, ChannelWriteBodySchema, ChannelWriteResponseSchema, ClusteringCriteriaValuesSchema, ClusteringCriterionPropertiesSchema, ClusteringCriterionSchema, ClusteringPolicyCriteriaSchema, ClusteringPolicyPreviewResponseSchema, ClusteringPolicySchema, ClusteringPolicySearchRequestSchema, ClusteringPolicySearchResponseSchema, ClusteringPolicyService, ClusteringPolicyWriteBodySchema, ClusteringPreviewClusterSchema, ClusteringPreviewTemplateSchema, CreateAgentTokenRequestSchema, CreateInternalTokenRequestSchema, CreateServices, CreateTenantTokenRequestSchema, CreateUserTokenRequestSchema, DEFAULT_EXPERIENCE_REQUEST_BODY, DEFAULT_EXTERNAL_ID_FORMAT, DEFAULT_WEBHOOK_AUTH_DETAILS, DEFAULT_WEBHOOK_PAYLOAD_FIELDS, DRAFT_FILE_SUFFIX, DXChannel, DXO2_SAAS_GATEWAYS, DXO2_SAAS_GATEWAY_HOSTNAMES, DXO2_STATUS_PAGE_URL, DashboardPermissionsUpdateRequest, DashboardSearch, DashboardService, DataStoreAuditService, DataStoreAuthViewsService, DataStoreBlobStorageService, DataStoreFeaturesService, DataStoreMetricsMetadataService, DataStoreNASSQLService, DataStoreNASSService, DataStoreStatesService, DataStoreTASService, DataStoreTokensService, DefaultViewsResponseSchema, DeleteTokenRequestSchema, DeleteTokensResponseSchema, DxO2SaasRegionSchema, DxSaasService, DxoiService, ENRICHMENT_FILTER_CONDITIONS, ENRICHMENT_PREVIEW_WINDOWS, ENRICHMENT_SOURCES, EXPORT_INCLUDE_TOKEN_ENV, EdgeNumericIdSchema, EmptyCriteriaSchema, EnrichmentCustomFieldSchema, EnrichmentCustomFieldsResponseSchema, EnrichmentMappingSchema, EnrichmentPreviewResponseSchema, EnrichmentRuleSchema, EnrichmentRuleWriteBodySchema, EnrichmentRulesResponseSchema, EnrichmentSchema, EventService, ExperienceService, FILTER_FIELDS, FeatureAttributesSchema, FeatureDatascopeSchema, FeatureDeleteRequestSchema, FeatureFieldSchema, FeatureFieldTypeSchema, FeatureFilterSchema, FeatureFilterTemplateSchema, FeatureFilterTemplateTypeSchema, FeatureIdFilterSchema, FeatureListResponseSchema, FeatureNodeSchema, FeatureQueryRequestSchema, FeatureStoreRequestSchema, FeatureStoreResponseSchema, FeatureToggleListResponseSchema, FeatureToggleListSchema, FillModeSchema, FilterOperation, FolderNameAllSpecifierSchema, FolderNameAndSpecifierSchema, FolderNameChildrenSpecifierSchema, FolderNameExactSpecifierSchema, FolderNameNoneSpecifierSchema, FolderNameNotSpecifierSchema, FolderNameOrSpecifierSchema, FolderNameRegExSpecifierSchema, FolderNameSpecifierSchema, GenericChannelSchema, GraphResponse, GraphService, INVENTORY_QUEUE_CATEGORY, INVENTORY_QUEUE_DEFAULT_SELECT_TOGGLES, INVENTORY_QUEUE_DEFAULT_VISIBLE_COLUMNS, INVENTORY_QUEUE_FILTER_CONDITIONS, INVENTORY_QUEUE_NO_GROUP, ITSM_DEFAULT_TICKET_TEMPLATE, ITSM_SECRET_KEYS, ImportTokenRequestSchema, InventorizeDeleteResponseSchema, InventorizeDraftSchema, InventorizeLayerSchema, InventorizePreviewResponseSchema, InventorizePreviewSchema, InventorizeRuleListResponseSchema, InventorizeRuleSchema, InventorizeSaveResponseSchema, Inventory, InventoryAttributes, InventoryGroupSchema, InventoryGroupsResponseSchema, InventoryQueueDeleteResponseSchema, InventoryQueueDetailSchema, InventoryQueueFieldSchema, InventoryQueueFieldsResponseSchema, InventoryQueueFilterAtomSchema, InventoryQueueListResponseSchema, InventoryQueuePreferencesResponseSchema, InventoryQueuePreferencesSchema, InventoryQueueSchema, InventoryQueueWriteBodySchema, InventoryQueueWriteResponseSchema, InventoryService, ItsmChannelSchema, ItsmPropertySchema, ItsmTestConnectionRequestSchema, ItsmTestConnectionResponseSchema, JavaRegexError, JexlEvalError, JexlSyntaxError, JoinTypeSchema, JsExtensionService, LOG_ANALYTICS_PRODUCT, LogIngest, LogQuery, LogsService, MAX_SLIS_PER_GROUP, MESSAGE_TEMPLATE_ALARM_TYPES, METRIC_TYPE_ENUM, METRIC_TYPE_ENUM_NAMES, METRIC_TYPE_REGION, MServe, MaintenanceBulkDeleteResponseSchema, MaintenanceCreateRequestSchema, MaintenanceCreateResponseSchema, MaintenanceDeleteRequestSchema, MaintenanceDetailSchema, MaintenanceExcludedMemberSchema, MaintenanceFilterLeafSchema, MaintenanceFilterSchema, MaintenanceMemberSchema, MaintenanceMemberSourceSchema, MaintenanceMemberTypeSchema, MaintenancePreviewRequestSchema, MaintenancePreviewResponseSchema, MaintenanceScheduleSchema, MaintenanceSearchRequestSchema, MaintenanceSearchResponseSchema, MaintenanceService, MaintenanceSummarySchema, ManagementModuleIdSchema, ManagementModuleService, MatchType, MessageTemplateFieldSchema, MessageTemplateFieldsResponseSchema, MetadataMetricQueryResponseV2Schema, MetadataMetricQuerySchema, MetricAttributeSchema, MetricBatchService, MetricFolderSchema, MetricGroupingService, MetricRegisterInputSchema, MetricRegisterRequestSchema, MetricRegisterResponseSchema, MetricRegisterSchema, MetricRegisterSourceSchema, MetricTypeEnumNameSchema, NASS, NASSService, NassDatapointSchema, NassExtensionDatapointSchema, NassRegularDatapointSchema, NassStoreRequestSchema, NassStoreResponseSchema, NassValueTypeSchema, NotificationService, NumericOperatorSchema, O2NotificationService, O2UniverseService, OIAlarm, OIService, OIUsersV2, OperatorSchema, POLICY_ALARM_CATEGORIES, POLICY_FILTER_CONDITIONS, POSTMAN_TOKEN_VAR, PRODUCT_STATUS_PROVISIONED, PerspectiveService, PlatformAlertService, PlatformFilters, PlatformManagementModuleService, PlatformMetricGroupingService, PolicyDeleteResponseSchema, PolicyFieldSchema, PolicyFieldsResponseSchema, PolicyFilterAtomSchema, PolicyFilterExpressionSchema, PolicyLinkedEntitySchema, PolicyNamingOperationSchema, PolicyWriteBodySchema, PolicyWriteResponseSchema, PublicKeyJsonResponseSchema, QuantileMethodSchema, QueryAllSpecifierSchema, QueryAndSpecifierSchema, QueryAttributeExpressionSchema, QueryAttributeSpecifierSchema, QueryColumnTypeSpecSchema, QueryFilterPredicateSpecSchema, QueryFunctionSpecSchema, QueryHintForceRangeSchema, QueryHintSchema, QueryIdSpecifierSchema, QueryMetricGroupSpecifierSchema, QueryMetricIdSchema, QueryNoneSpecifierSchema, QueryNotSpecifierSchema, QueryOrSpecifierSchema, QueryRangeSpecSchema, QueryRequestSchema, QueryResultSchema, QuerySpecSpecifierSchema, QuerySpecifierSchema, REDACTED_SECRET, RecurrencePattern, RevokeTokenRequestSchema, RevokeTokensResponseSchema, SLIService, SLI_DERIVED_METRIC_SOURCE, SMTP_DEFAULT_TEMPLATES, SQLService, ServiceDeskFieldSchema, ServiceDeskFieldsResponseSchema, ServiceExport, ServiceFilterSpecifierSchema, ServiceService, ServiceTransform, ServiceUniverseAccessEntrySchema, ServiceUniverseAccessSchema, ServiceUniverseAttributesSchema, ServiceUniverseBodySchema, ServiceUniverseListItemSchema, ServiceUniverseListResponseSchema, ServiceUniverseNassViewSchema, ServiceUniversePermissionSchema, ServiceUniverseQueryResponseSchema, ServiceUniverseSchema, ServiceUniverseService, ServiceUniverseTasSpecSchema, ServiceUniverseTasViewSchema, ServiceUniverseViewSchema, SessionService, SessionValidateRequestSchema, SessionValidateResponseSchema, SetDefaultViewRequestSchema, SimpleHTTPError, SituationLifecycle, SituationService, Situations, SliAggregationIntervalSchema, SliAlertEntrySchema, SliAlertOperatorSchema, SliAlertTargetSchema, SliDerivedMetricAttributeSchema, SliDerivedMetricsSchema, SliExpressionSchema, SliFilterSchema, SliFunctionCustomParamsSchema, SliFunctionInputSchema, SliFunctionOpSchema, SliFunctionOutputSchema, SliFunctionSchema, SliGroupDeleteResponseSchema, SliGroupMetricsEntrySchema, SliGroupMetricsRequestSchema, SliGroupMetricsResponseSchema, SliGroupSaveRequestSchema, SliGroupSaveResponseSchema, SliGroupSchema, SliGroupSearchRequestSchema, SliGroupSearchResponseSchema, SliMetricFieldSchema, SliMetricFieldsRequestSchema, SliMetricFieldsResponseSchema, SliThresholdComparatorSchema, SliThresholdSchema, SloCalendarPeriodSchema, SloFunctionOpSchema, SloFunctionSchema, SmtpChannelConfigsSchema, SmtpChannelSchema, SmtpTestInputSchema, SmtpTestRequestSchema, SmtpTestResponseSchema, SourceNameAllSpecifierSchema, SourceNameAndSpecifierSchema, SourceNameExactSpecifierSchema, SourceNameNoneSpecifierSchema, SourceNameNotSpecifierSchema, SourceNameOrSpecifierSchema, SourceNamePartOperatorSpecifierSchema, SourceNameRegExSpecifierSchema, SourceNameSpecifierSchema, StatusPageComponentSchema, StatusPageComponentsSchema, StoredCriteriaSchema, TAGS_ATTRIBUTE_KEY, TAS, TASGraph, TASService, TC_METRIC_CAP, TICKET_ENRICHMENT_ALARM_TYPES, TICKET_ENRICHMENT_FIELD_CODES, TasAddFlowsFilterSchema, TasAddTransitioningEdgesFilterSchema, TasAddWireContextFilterSchema, TasAddWiresFilterSchema, TasAllFilterSchema, TasAnalyticBaseSchema, TasAnalyticResultSchema, TasAndFilterSchema, TasAttributeAlertStatisticsSchema, TasAttributeFilterModeSchema, TasAttributeFilterSchema, TasAttributeNameSchema, TasAttributeTypeSchema, TasCollectAttributeNamesFilterSchema, TasCollectAttributeNamesResultSchema, TasCollectAttributeResultSchema, TasCollectAttributesFilterSchema, TasCollectCardInfoFilterSchema, TasCollectCardInfoResultSchema, TasCollectCardInfoTierSchema, TasCollectCountsFilterSchema, TasCollectCountsResultSchema, TasCollectExperienceAttributesFilterSchema, TasCollectExperienceSelectorSchema, TasCollectGroupingInfoFilterSchema, TasCollectGroupingInfoResultSchema, TasCollectVertexIdFilterSchema, TasCoverageFilterSchema, TasEdgeSchema, TasEmptyFilterSchema, TasExternalIdSchema, TasFilterSchema, TasFollowPathFilterSchema, TasFollowPathFlowFilterSchema, TasFollowPathTypeSchema, TasGraphSchema, TasGroupingAlertStatisticsSchema, TasGroupingInfoSchema, TasGroupingItemSchema, TasJoinFilterSchema, TasJoinTypeSchema, TasLayerFilterSchema, TasLegacyFilterSchema, TasLuceneFilterSchema, TasNotFilterSchema, TasOrFilterSchema, TasOrderSchema, TasProjectionFilterSchema, TasQuerySchema, TasServiceFilterSchema, TasStatusFilterSchema, TasStoreAttributeValueSchema, TasStoreChangeSchema, TasStoreEdgeSchema, TasStoreGraphInputSchema, TasStoreGraphResponseSchema, TasStoreGraphSchema, TasStoreVertexSchema, TasTakeEdgesFilterSchema, TasTakeFlowsFilterSchema, TasTakeVerticesFilterSchema, TasTraverseFilterSchema, TasVariableFilterSchema, TasVariableSchema, TasVertexIdFilterSchema, TasVertexSchema, TasViewSchema, TemplateDeleteResponseSchema, TemplateWriteBodySchema, TemplateWriteResponseSchema, TenantConfigAttributeSchema, TenantConfigAttributesResponseSchema, TenantConfigAttributesWriteBodySchema, TenantConfigAttributesWriteResponseSchema, TenantProductSchema, TenantProductsResponseSchema, TenantRoleSchema, TenantRolesResponseSchema, TenantService, TicketEnrichmentAlarmFieldSchema, TicketEnrichmentAlarmFieldsResponseSchema, TicketEnrichmentListResponseSchema, TicketEnrichmentMappingSchema, TicketEnrichmentRuleSchema, TicketEnrichmentWriteBodySchema, TicketEnrichmentWriteResponseSchema, TokenCreateResponseSchema, TokenDetailsSchema, TokenGetAndVerifyRequestSchema, TokenMetadataSchema, TokenQueryRequestSchema, TokenQueryResponseSchema, TokenVerifyRequestSchema, Trace, TraversalEdgeFilterSchema, TraversalVertexFilterSchema, TraverseCollectSchema, TraverseDirectionSchema, TraverseSchema, UIM_LOGS_INGESTION_PATH, UpdateAgentTokenRequestSchema, UpdateTenantTokenRequestSchema, UpdateUserTokenRequestSchema, VertexGroupSchema, VertexMappingConfigurationModule, VertexService, VertexStateAlertFilterSchema, VertexStateAllFilterSchema, VertexStateAnalyticResultSchema, VertexStateAndFilterSchema, VertexStateClampSettingSchema, VertexStateCollectVertexGroupStatusFilterSchema, VertexStateEmptyFilterSchema, VertexStateExternalIdInputSchema, VertexStateExternalIdResponseSchema, VertexStateExternalIdSchema, VertexStateFetchRequestSchema, VertexStateFetchResponseSchema, VertexStateFilterSchema, VertexStateGroupResultSchema, VertexStateInputSchema, VertexStateManagementModuleFilterSchema, VertexStateMetricFilterSchema, VertexStateNamespaceFilterSchema, VertexStateNumericIdSchema, VertexStateOrFilterSchema, VertexStateProjectionSchema, VertexStateRangeRequestSchema, VertexStateRangeResponseSchema, VertexStateRepublishRequestSchema, VertexStateResponseItemSchema, VertexStateSchema, VertexStateStateFilterSchema, VertexStateStoreRequestSchema, VertexStateStoreResponseSchema, VertexStateVertexIdFilterSchema, VertexStatusChanges, ViewAccessEntrySchema, ViewAccessRoleSchema, ViewAccessSchema, ViewActiveFilterSchema, ViewAllFilterSchema, ViewAndFilterSchema, ViewAttributeExpressionSchema, ViewAttributeFilterSchema, ViewAttributesSchema, ViewBodySchema, ViewFilterSchema, ViewIdFilterSchema, ViewListResponseSchema, ViewNassSpecSchema, ViewOrFilterSchema, ViewOwnerSchema, ViewQueryRequestSchema, ViewQueryResponseSchema, ViewResponseSchema, ViewSearchRequestSchema, ViewSpecsSchema, ViewTasSpecSchema, WebhookAuthDetailsSchema, WebhookChannelSchema, WebhookSpecSchema, WebhookTestInputSchema, WebhookTestRequestSchema, WebhookTestResponseSchema, ags, agsresponse, alarmFilterDisplayColumnsFor, alertsForSliIndex, algorithmicSituationsEnabled, allAlarmQueues, apiTokenCreate, apiTokenDelete, apiTokenGet, apiTokenList, apiTokenUpdate, appendSli, appendSloTriplet, authHeaderValue, buildAlarmFilterUpdateBody, buildAlarmQueueFilterExpression, buildAlarmQueueUpdateBody, buildAlertEntry, buildClusteringPolicyUpdateBody, buildEnrichmentRuleUpdateBody, buildInventoryCustomFilter, buildInventoryQueueUpdateBody, buildPolicyFilterExpression, buildSliFunction, buildSloTriplet, buildTemplateRefs, buildUimLogPayload, capVertexDetail, checkGet, composeMetricTypeBits, contactActivate, contactDelete, contactTestSend, contactsBlockDelete, contactsBlockPut, contactsConfirm, contactsCreate, contactsGet, contactsGetDetail, contactsReplaceNotificationsWith, contactsRequestConfirmationCode, contactsUpdate, convertLegacyConfiguration, createCurlCommand, createCurlScript, createPostmanRequest, createServiceMonolith, decodeMetricTypeBits, defaultItsmPropertyList, defaultRuleName, deriveSliAs, deriveVertexName, describeClusteringCriteria, displayColumnsFor, dottedFileSlot, draftKey, encodeItsmSecret, ensureParallelAlerts, escapeRegExp, evaluate, evaluateTemplate, example, excludedAttributes, exportFileLabel, exportIncludesToken, expressionPipelineNames, extractComponentGridData, findAlertByTarget, findInventoryGroup, findProduct, findRedactedSecretPaths, findSliByName, flattenAxiosHeaders, folderAccessGet, folderDelete, folderGet, folderPost, folderUpdate, foldersList, formExternalId, getDataStoreSchema, getUserTokenSub, getUserTokenTid, getVertexAttributeValue, getVertexAttributeValueOrNull, hasTypeTagsFlag, hasVertexAttribute, impliedDxo2Version, incrementVariant, inventoryDisplayColumnsFor, inventoryQueuesOf, inventorySearchRequestBodyExample, inventorySearchResponseBody, isAlarmFilter, isAlarmQueue, isAlarmQueueNotFound, isAuthorizationHeader, isBuiltInClusteringPolicy, isBuiltInPolicy, isBuiltInTemplate, isDataStoreSchemaType, isEmptyCriteria, isInventoryQueueNotFound, isPersonalQueue, isProductProvisioned, isTemplate, isTenantToken, isUserToken, itsmMapToProperties, itsmPropertiesToMap, javaFullMatch, javaRegexToJs, javaReplaceAll, javaReplaceFirst, javaSplit, listDataStoreSchemaOps, listSlis, locationsCreate, locationsDelete, locationsGet, locationsGetAll, locationsGetByType, locationsLeafGetFilter, locationsPost, logGet, logGetEvent, logIngestionURLForGateway, maintenanceDelete, maintenanceDeleteWindows, maintenanceFilter, maintenanceGet, maintenanceGetDetail, maintenanceGetWindows, maintenanceGetWindowsDetail, maintenanceUpdateWindowsDetail, maintenancesCreate, maintenancesImmediateDelete, maintenancesImmediatePut, maintenancesPostWindows, maintenancesUpdate, messageGet, messageTemplateVariables, messagesList, monitorActivate, monitorCreate, monitorDeactivate, monitorDelete, monitorGet, monitorGetAll, monitorUpdate, normalizeAlarmQueueSharing, oauthClientTokensCreate, oauthClientTokensDelete, oauthClientTokensGet, oauthClientTokensList, oauthClientTokensUpdate, oauthCreateToken, oauthGetRefreshTokenList, oauthGetTokenList, oauthRefreshTokenDeleteId, oauthTokenCognateDelete, oauthTokenCognateDeleteCurrent, oauthTokenDelete, oauthTokenDeleteCurrent, parseExpression, parseFilter, parseSaasGateway, parseServiceNowUrl, planEnrichmentReorder, policyCategoryGuard, policyFieldBounds, policyFilterAtoms, producedMetricName, projectCustomAttributes, projectRule, pruneOrphanSloFunctions, redactChannelSecrets, reencodeItsmForWrite, removeAlert, removeSli, removeSloTriplet, resolveEnrichmentMappings, resolveWebhookPayload, sampleServiceDetailRequestBody, searchUniverse, serviceDetailResponseBody, settingsGet, settingsGetDetail, settingsUpdate, sharedRoleDelta, sliHumanName, sloTripletFor, sortRulesByPriority, splitAttributePath, splitTemplate, stationDelete, stationsAgentType, stationsCreate, stationsDeleteMaintenance, stationsGet, stationsGetAgents, stationsLatest, stationsList, stationsOnpremiseConnected, stationsOnpremiseConnectedAll, stationsOnpremiseList, stationsPutMaintenance, stationsUpdate, statistic, summarizeDataStoreSchema, tagsGetAll, tcSourceNameMatches, tcSourceNameToMmPattern, templateUsage, tenantConfigAttribute, timezonesList, toAlarmFilterWriteBody, toAlarmQueueWriteBody, toChannelWriteBody, toClusteringPolicyPreviewBody, toClusteringPolicyWriteBody, toEnrichmentRuleCreateBody, toGroupMetricsRequest, toInventoryQueueWriteBody, toItsmTestConnectionRequest, toPolicyWriteBody, toSliGroupSaveRequest, toTemplateWriteBody, toTicketEnrichmentWriteBody, tokenize, translateRuleToMmQuery, truthy, userBlockDelete, userBlockPut, userDelete, userGet, userLockDelete, userPut, userSubaccountsGet, userSubaccountsPost, verifyAndDumpLegacyConfiguration, verifyAndDumpVersion3Configuration, verifyAndDumpVersion4Configuration, vertexMatchesFilters, visibleAlarmQueueColumns, visibleInventoryColumns };
|
|
87096
|
+
export { ALARM_CATEGORIES, ALARM_FILTER_CATEGORIES, ALARM_FILTER_DEFAULT_COLUMN_ORDER, ALARM_FILTER_DEFAULT_VISIBLE_COLUMNS, ALARM_FILTER_DISPLAY_COLUMN_KEYS, ALARM_FILTER_FIELD_PATHS, ALARM_QUEUE_CATEGORIES, ALARM_QUEUE_DEFAULT_COLUMN_ORDER, ALARM_QUEUE_DEFAULT_FILTER_SETTINGS, ALARM_QUEUE_DEFAULT_VISIBLE_COLUMNS, ALARM_QUEUE_DISPLAY_COLUMN_KEYS, ALARM_QUEUE_FILTER_CONDITIONS, ALARM_QUEUE_FILTER_SETTING_KEYS, ALARM_VIEW_CATEGORIES, ALARM_VIEW_FIELD_PATHS, ALARM_VIEW_SEARCH_PATHS, ALGORITHMIC_SITUATIONS_KEY, AXAActivities, AccService, AgentService, AgentTrace, AlarmCategorySchema, AlarmEnrichment, AlarmEnrichmentFilter, AlarmFilterFieldSchema, AlarmFilterFieldsResponseSchema, AlarmFilterWriteBodySchema, AlarmFilterWriteResponseSchema, AlarmQueueDeleteResponseSchema, AlarmQueueDetailSchema, AlarmQueueFieldSchema, AlarmQueueFieldsResponseSchema, AlarmQueueFilterSettingsSchema, AlarmQueueListResponseSchema, AlarmQueuePreferencesResponseSchema, AlarmQueuePreferencesSchema, AlarmQueueSchema, AlarmQueueWriteBodySchema, AlarmQueueWriteResponseSchema, AlarmService, AlertDefinitionResponse, AlertResponse, AlertResponseV2, AlertService, AlignmentSchema, AllAlarmQueuesResponseSchema, AnyChannelSchema, ApmUniverseService, AppVersionSchema, AppVersionsResponseSchema, AsmService, AttributeExpressionComparatorSchema, AttributeExpressionOperatorSchema, AttributeExpressionSchema, AttributeFilterOperator, AttributeNameAllSpecifierSchema, AttributeNameAndSpecifierSchema, AttributeNameAnyNumericSpecifierSchema, AttributeNameAttributeSpecifierSchema, AttributeNameChildrenSpecifierSchema, AttributeNameExactSpecifierSchema, AttributeNameFolderSpecifierSchema, AttributeNameNoneSpecifierSchema, AttributeNameNotSpecifierSchema, AttributeNameOperatorSpecifierSchema, AttributeNameOrSpecifierSchema, AttributeNameRegExSpecifierSchema, AttributeNameSpecifierSchema, AttributeNameTypeSpecifierSchema, AttributeService, AttributeValueAsFieldSchema, AuditGlobalQueryRequestSchema, AuditQueryRequestSchema, AuditQueryResponseSchema, AuditRecordEsSchema, AuditRecordSchema, AuditStoreResponseSchema, AuthorizationService, AxaService, BlobAllFilterSchema, BlobAsyncCommandSchema, BlobAsyncDeleteSchemaCommandSchema, BlobAsyncResultEntrySchema, BlobAsyncResultRequestSchema, BlobAsyncResultResponseSchema, BlobAsyncResultStateSchema, BlobAttributeExpressionSchema, BlobAttributeFilterSchema, BlobAttributesSchema, BlobBulkDeleteEntrySchema, BlobBulkDeleteRequestSchema, BlobBulkDeleteResponseSchema, BlobBulkItemSchema, BlobBulkStoreRequestSchema, BlobBulkStoreResponseSchema, BlobDeleteParamsSchema, BlobDeleteResponseSchema, BlobDeleteSchemaResultSchema, BlobExecuteAsyncRequestSchema, BlobExecuteAsyncResponseSchema, BlobFetchParamsSchema, BlobFileEnvelopeSchema, BlobFilterSchema, BlobMetadataSchema, BlobQueryRequestSchema, BlobQueryResponseSchema, BlobSchemaItemSchema, BlobSchemaListRequestSchema, BlobSchemaListResponseSchema, BlobService, BlobStoreParamsSchema, BlobStoreResponseSchema, CLUSTERING_POLICY_BUILTIN_AUTHORS, CLUSTERING_POLICY_CONDITIONS, CLUSTERING_POLICY_PRESENCE_CONDITIONS, CLUSTERING_POLICY_PREVIEW_RANGES, CLUSTERING_POLICY_STATUSES, CURL_COHORT_VAR, CURL_HOST_VAR, CURL_TOKEN_VAR, CUSTOM_FIELD_PATTERN, CalendarIntervalSchema, CancelRevokeRequestSchema, ChannelDeleteResponseSchema, ChannelEnvelopeSchema, ChannelLinkedEntitySchema, ChannelListResponseSchema, ChannelService, ChannelTemplateRefSchema, ChannelWriteBodySchema, ChannelWriteResponseSchema, ClusteringCriteriaValuesSchema, ClusteringCriterionPropertiesSchema, ClusteringCriterionSchema, ClusteringPolicyCriteriaSchema, ClusteringPolicyPreviewResponseSchema, ClusteringPolicySchema, ClusteringPolicySearchRequestSchema, ClusteringPolicySearchResponseSchema, ClusteringPolicyService, ClusteringPolicyWriteBodySchema, ClusteringPreviewClusterSchema, ClusteringPreviewTemplateSchema, CreateAgentTokenRequestSchema, CreateInternalTokenRequestSchema, CreateServices, CreateTenantTokenRequestSchema, CreateUserTokenRequestSchema, DEFAULT_EXPERIENCE_REQUEST_BODY, DEFAULT_EXTERNAL_ID_FORMAT, DEFAULT_WEBHOOK_AUTH_DETAILS, DEFAULT_WEBHOOK_PAYLOAD_FIELDS, DRAFT_FILE_SUFFIX, DXChannel, DXO2_SAAS_GATEWAYS, DXO2_SAAS_GATEWAY_HOSTNAMES, DXO2_STATUS_PAGE_URL, DashboardPermissionsUpdateRequest, DashboardSearch, DashboardService, DataStoreAuditService, DataStoreAuthViewsService, DataStoreBlobStorageService, DataStoreFeaturesService, DataStoreMetricsMetadataService, DataStoreNASSQLService, DataStoreNASSService, DataStoreStatesService, DataStoreTASService, DataStoreTokensService, DefaultViewsResponseSchema, DeleteTokenRequestSchema, DeleteTokensResponseSchema, DxO2SaasRegionSchema, DxSaasService, DxoiService, ENRICHMENT_FILTER_CONDITIONS, ENRICHMENT_PREVIEW_WINDOWS, ENRICHMENT_SOURCES, EXPORT_INCLUDE_TOKEN_ENV, EdgeNumericIdSchema, EmptyCriteriaSchema, EnrichmentCustomFieldSchema, EnrichmentCustomFieldsResponseSchema, EnrichmentMappingSchema, EnrichmentPreviewResponseSchema, EnrichmentRuleSchema, EnrichmentRuleWriteBodySchema, EnrichmentRulesResponseSchema, EnrichmentSchema, EventService, ExperienceService, FILTER_FIELDS, FeatureAttributesSchema, FeatureDatascopeSchema, FeatureDeleteRequestSchema, FeatureFieldSchema, FeatureFieldTypeSchema, FeatureFilterSchema, FeatureFilterTemplateSchema, FeatureFilterTemplateTypeSchema, FeatureIdFilterSchema, FeatureListResponseSchema, FeatureNodeSchema, FeatureQueryRequestSchema, FeatureStoreRequestSchema, FeatureStoreResponseSchema, FeatureToggleListResponseSchema, FeatureToggleListSchema, FillModeSchema, FilterOperation, FolderNameAllSpecifierSchema, FolderNameAndSpecifierSchema, FolderNameChildrenSpecifierSchema, FolderNameExactSpecifierSchema, FolderNameNoneSpecifierSchema, FolderNameNotSpecifierSchema, FolderNameOrSpecifierSchema, FolderNameRegExSpecifierSchema, FolderNameSpecifierSchema, GenericChannelSchema, GraphResponse, GraphService, INVENTORY_QUEUE_CATEGORY, INVENTORY_QUEUE_DEFAULT_SELECT_TOGGLES, INVENTORY_QUEUE_DEFAULT_VISIBLE_COLUMNS, INVENTORY_QUEUE_FILTER_CONDITIONS, INVENTORY_QUEUE_NO_GROUP, ITSM_DEFAULT_TICKET_TEMPLATE, ITSM_SECRET_KEYS, ImportTokenRequestSchema, InventorizeDeleteResponseSchema, InventorizeDraftSchema, InventorizeLayerSchema, InventorizePreviewResponseSchema, InventorizePreviewSchema, InventorizeRuleListResponseSchema, InventorizeRuleSchema, InventorizeSaveResponseSchema, Inventory, InventoryAttributes, InventoryGroupSchema, InventoryGroupsResponseSchema, InventoryQueueDeleteResponseSchema, InventoryQueueDetailSchema, InventoryQueueFieldSchema, InventoryQueueFieldsResponseSchema, InventoryQueueFilterAtomSchema, InventoryQueueListResponseSchema, InventoryQueuePreferencesResponseSchema, InventoryQueuePreferencesSchema, InventoryQueueSchema, InventoryQueueWriteBodySchema, InventoryQueueWriteResponseSchema, InventoryService, ItsmChannelSchema, ItsmPropertySchema, ItsmTestConnectionRequestSchema, ItsmTestConnectionResponseSchema, JavaRegexError, JexlEvalError, JexlSyntaxError, JoinTypeSchema, JsExtensionService, LOG_ANALYTICS_PRODUCT, LogCustomIngest, LogIngest, LogQuery, LogTypes, LogsService, MAX_SLIS_PER_GROUP, MESSAGE_TEMPLATE_ALARM_TYPES, METRIC_TYPE_ENUM, METRIC_TYPE_ENUM_NAMES, METRIC_TYPE_REGION, MServe, MaintenanceBulkDeleteResponseSchema, MaintenanceCreateRequestSchema, MaintenanceCreateResponseSchema, MaintenanceDeleteRequestSchema, MaintenanceDetailSchema, MaintenanceExcludedMemberSchema, MaintenanceFilterLeafSchema, MaintenanceFilterSchema, MaintenanceMemberSchema, MaintenanceMemberSourceSchema, MaintenanceMemberTypeSchema, MaintenancePreviewRequestSchema, MaintenancePreviewResponseSchema, MaintenanceScheduleSchema, MaintenanceSearchRequestSchema, MaintenanceSearchResponseSchema, MaintenanceService, MaintenanceSummarySchema, ManagementModuleIdSchema, ManagementModuleService, MatchType, MessageTemplateFieldSchema, MessageTemplateFieldsResponseSchema, MetadataMetricQueryResponseV2Schema, MetadataMetricQuerySchema, MetricAttributeSchema, MetricBatchService, MetricFolderSchema, MetricGroupingService, MetricRegisterInputSchema, MetricRegisterRequestSchema, MetricRegisterResponseSchema, MetricRegisterSchema, MetricRegisterSourceSchema, MetricTypeEnumNameSchema, NASS, NASSService, NassDatapointSchema, NassExtensionDatapointSchema, NassRegularDatapointSchema, NassStoreRequestSchema, NassStoreResponseSchema, NassValueTypeSchema, NotificationService, NumericOperatorSchema, O2NotificationService, O2UniverseService, OIAlarm, OIService, OIUsersV2, OperatorSchema, POLICY_ALARM_CATEGORIES, POLICY_FILTER_CONDITIONS, POSTMAN_TOKEN_VAR, PRODUCT_STATUS_PROVISIONED, PerspectiveService, PlatformAlertService, PlatformFilters, PlatformManagementModuleService, PlatformMetricGroupingService, PolicyDeleteResponseSchema, PolicyFieldSchema, PolicyFieldsResponseSchema, PolicyFilterAtomSchema, PolicyFilterExpressionSchema, PolicyLinkedEntitySchema, PolicyNamingOperationSchema, PolicyWriteBodySchema, PolicyWriteResponseSchema, PublicKeyJsonResponseSchema, QuantileMethodSchema, QueryAllSpecifierSchema, QueryAndSpecifierSchema, QueryAttributeExpressionSchema, QueryAttributeSpecifierSchema, QueryColumnTypeSpecSchema, QueryFilterPredicateSpecSchema, QueryFunctionSpecSchema, QueryHintForceRangeSchema, QueryHintSchema, QueryIdSpecifierSchema, QueryMetricGroupSpecifierSchema, QueryMetricIdSchema, QueryNoneSpecifierSchema, QueryNotSpecifierSchema, QueryOrSpecifierSchema, QueryRangeSpecSchema, QueryRequestSchema, QueryResultSchema, QuerySpecSpecifierSchema, QuerySpecifierSchema, REDACTED_SECRET, RecurrencePattern, RevokeTokenRequestSchema, RevokeTokensResponseSchema, SLIService, SLI_DERIVED_METRIC_SOURCE, SMTP_DEFAULT_TEMPLATES, SQLService, ServiceDeskFieldSchema, ServiceDeskFieldsResponseSchema, ServiceExport, ServiceFilterSpecifierSchema, ServiceService, ServiceTransform, ServiceUniverseAccessEntrySchema, ServiceUniverseAccessSchema, ServiceUniverseAttributesSchema, ServiceUniverseBodySchema, ServiceUniverseListItemSchema, ServiceUniverseListResponseSchema, ServiceUniverseNassViewSchema, ServiceUniversePermissionSchema, ServiceUniverseQueryResponseSchema, ServiceUniverseSchema, ServiceUniverseService, ServiceUniverseTasSpecSchema, ServiceUniverseTasViewSchema, ServiceUniverseViewSchema, SessionService, SessionValidateRequestSchema, SessionValidateResponseSchema, SetDefaultViewRequestSchema, SimpleHTTPError, SituationLifecycle, SituationService, Situations, SliAggregationIntervalSchema, SliAlertEntrySchema, SliAlertOperatorSchema, SliAlertTargetSchema, SliDerivedMetricAttributeSchema, SliDerivedMetricsSchema, SliExpressionSchema, SliFilterSchema, SliFunctionCustomParamsSchema, SliFunctionInputSchema, SliFunctionOpSchema, SliFunctionOutputSchema, SliFunctionSchema, SliGroupDeleteResponseSchema, SliGroupMetricsEntrySchema, SliGroupMetricsRequestSchema, SliGroupMetricsResponseSchema, SliGroupSaveRequestSchema, SliGroupSaveResponseSchema, SliGroupSchema, SliGroupSearchRequestSchema, SliGroupSearchResponseSchema, SliMetricFieldSchema, SliMetricFieldsRequestSchema, SliMetricFieldsResponseSchema, SliThresholdComparatorSchema, SliThresholdSchema, SloCalendarPeriodSchema, SloFunctionOpSchema, SloFunctionSchema, SmtpChannelConfigsSchema, SmtpChannelSchema, SmtpTestInputSchema, SmtpTestRequestSchema, SmtpTestResponseSchema, SourceNameAllSpecifierSchema, SourceNameAndSpecifierSchema, SourceNameExactSpecifierSchema, SourceNameNoneSpecifierSchema, SourceNameNotSpecifierSchema, SourceNameOrSpecifierSchema, SourceNamePartOperatorSpecifierSchema, SourceNameRegExSpecifierSchema, SourceNameSpecifierSchema, StatusPageComponentSchema, StatusPageComponentsSchema, StoredCriteriaSchema, TAGS_ATTRIBUTE_KEY, TAS, TASGraph, TASService, TC_METRIC_CAP, TICKET_ENRICHMENT_ALARM_TYPES, TICKET_ENRICHMENT_FIELD_CODES, TasAddFlowsFilterSchema, TasAddTransitioningEdgesFilterSchema, TasAddWireContextFilterSchema, TasAddWiresFilterSchema, TasAllFilterSchema, TasAnalyticBaseSchema, TasAnalyticResultSchema, TasAndFilterSchema, TasAttributeAlertStatisticsSchema, TasAttributeFilterModeSchema, TasAttributeFilterSchema, TasAttributeNameSchema, TasAttributeTypeSchema, TasCollectAttributeNamesFilterSchema, TasCollectAttributeNamesResultSchema, TasCollectAttributeResultSchema, TasCollectAttributesFilterSchema, TasCollectCardInfoFilterSchema, TasCollectCardInfoResultSchema, TasCollectCardInfoTierSchema, TasCollectCountsFilterSchema, TasCollectCountsResultSchema, TasCollectExperienceAttributesFilterSchema, TasCollectExperienceSelectorSchema, TasCollectGroupingInfoFilterSchema, TasCollectGroupingInfoResultSchema, TasCollectVertexIdFilterSchema, TasCoverageFilterSchema, TasEdgeSchema, TasEmptyFilterSchema, TasExternalIdSchema, TasFilterSchema, TasFollowPathFilterSchema, TasFollowPathFlowFilterSchema, TasFollowPathTypeSchema, TasGraphSchema, TasGroupingAlertStatisticsSchema, TasGroupingInfoSchema, TasGroupingItemSchema, TasJoinFilterSchema, TasJoinTypeSchema, TasLayerFilterSchema, TasLegacyFilterSchema, TasLuceneFilterSchema, TasNotFilterSchema, TasOrFilterSchema, TasOrderSchema, TasProjectionFilterSchema, TasQuerySchema, TasServiceFilterSchema, TasStatusFilterSchema, TasStoreAttributeValueSchema, TasStoreChangeSchema, TasStoreEdgeSchema, TasStoreGraphInputSchema, TasStoreGraphResponseSchema, TasStoreGraphSchema, TasStoreVertexSchema, TasTakeEdgesFilterSchema, TasTakeFlowsFilterSchema, TasTakeVerticesFilterSchema, TasTraverseFilterSchema, TasVariableFilterSchema, TasVariableSchema, TasVertexIdFilterSchema, TasVertexSchema, TasViewSchema, TemplateDeleteResponseSchema, TemplateWriteBodySchema, TemplateWriteResponseSchema, TenantConfigAttributeSchema, TenantConfigAttributesResponseSchema, TenantConfigAttributesWriteBodySchema, TenantConfigAttributesWriteResponseSchema, TenantProductSchema, TenantProductsResponseSchema, TenantRoleSchema, TenantRolesResponseSchema, TenantService, TicketEnrichmentAlarmFieldSchema, TicketEnrichmentAlarmFieldsResponseSchema, TicketEnrichmentListResponseSchema, TicketEnrichmentMappingSchema, TicketEnrichmentRuleSchema, TicketEnrichmentWriteBodySchema, TicketEnrichmentWriteResponseSchema, TokenCreateResponseSchema, TokenDetailsSchema, TokenGetAndVerifyRequestSchema, TokenMetadataSchema, TokenQueryRequestSchema, TokenQueryResponseSchema, TokenVerifyRequestSchema, Trace, TraversalEdgeFilterSchema, TraversalVertexFilterSchema, TraverseCollectSchema, TraverseDirectionSchema, TraverseSchema, UIM_LOGS_INGESTION_PATH, UpdateAgentTokenRequestSchema, UpdateTenantTokenRequestSchema, UpdateUserTokenRequestSchema, VertexGroupSchema, VertexMappingConfigurationModule, VertexService, VertexStateAlertFilterSchema, VertexStateAllFilterSchema, VertexStateAnalyticResultSchema, VertexStateAndFilterSchema, VertexStateClampSettingSchema, VertexStateCollectVertexGroupStatusFilterSchema, VertexStateEmptyFilterSchema, VertexStateExternalIdInputSchema, VertexStateExternalIdResponseSchema, VertexStateExternalIdSchema, VertexStateFetchRequestSchema, VertexStateFetchResponseSchema, VertexStateFilterSchema, VertexStateGroupResultSchema, VertexStateInputSchema, VertexStateManagementModuleFilterSchema, VertexStateMetricFilterSchema, VertexStateNamespaceFilterSchema, VertexStateNumericIdSchema, VertexStateOrFilterSchema, VertexStateProjectionSchema, VertexStateRangeRequestSchema, VertexStateRangeResponseSchema, VertexStateRepublishRequestSchema, VertexStateResponseItemSchema, VertexStateSchema, VertexStateStateFilterSchema, VertexStateStoreRequestSchema, VertexStateStoreResponseSchema, VertexStateVertexIdFilterSchema, VertexStatusChanges, ViewAccessEntrySchema, ViewAccessRoleSchema, ViewAccessSchema, ViewActiveFilterSchema, ViewAllFilterSchema, ViewAndFilterSchema, ViewAttributeExpressionSchema, ViewAttributeFilterSchema, ViewAttributesSchema, ViewBodySchema, ViewFilterSchema, ViewIdFilterSchema, ViewListResponseSchema, ViewNassSpecSchema, ViewOrFilterSchema, ViewOwnerSchema, ViewQueryRequestSchema, ViewQueryResponseSchema, ViewResponseSchema, ViewSearchRequestSchema, ViewSpecsSchema, ViewTasSpecSchema, WebhookAuthDetailsSchema, WebhookChannelSchema, WebhookSpecSchema, WebhookTestInputSchema, WebhookTestRequestSchema, WebhookTestResponseSchema, ags, agsresponse, alarmFilterDisplayColumnsFor, alertsForSliIndex, algorithmicSituationsEnabled, allAlarmQueues, apiTokenCreate, apiTokenDelete, apiTokenGet, apiTokenList, apiTokenUpdate, appendSli, appendSloTriplet, authHeaderValue, buildAlarmFilterUpdateBody, buildAlarmQueueFilterExpression, buildAlarmQueueUpdateBody, buildAlertEntry, buildClusteringPolicyUpdateBody, buildCustomLogPayload, buildEnrichmentRuleUpdateBody, buildInventoryCustomFilter, buildInventoryQueueUpdateBody, buildPolicyFilterExpression, buildSliFunction, buildSloTriplet, buildTemplateRefs, buildUimLogPayload, capVertexDetail, checkGet, chunkPayloads, classifyIngestionError, composeMetricTypeBits, contactActivate, contactDelete, contactTestSend, contactsBlockDelete, contactsBlockPut, contactsConfirm, contactsCreate, contactsGet, contactsGetDetail, contactsReplaceNotificationsWith, contactsRequestConfirmationCode, contactsUpdate, convertLegacyConfiguration, createCurlCommand, createCurlScript, createPostmanRequest, createServiceMonolith, decodeMetricTypeBits, defaultItsmPropertyList, defaultRuleName, deriveSliAs, deriveVertexName, describeClusteringCriteria, displayColumnsFor, dottedFileSlot, draftKey, encodeItsmSecret, ensureParallelAlerts, escapeRegExp, evaluate, evaluateTemplate, example, excludedAttributes, exportFileLabel, exportIncludesToken, expressionPipelineNames, extractComponentGridData, findAlertByTarget, findInventoryGroup, findProduct, findRedactedSecretPaths, findSliByName, flattenAxiosHeaders, folderAccessGet, folderDelete, folderGet, folderPost, folderUpdate, foldersList, formExternalId, getDataStoreSchema, getUserTokenSub, getUserTokenTid, getVertexAttributeValue, getVertexAttributeValueOrNull, hasTypeTagsFlag, hasVertexAttribute, impliedDxo2Version, incrementVariant, inventoryDisplayColumnsFor, inventoryQueuesOf, inventorySearchRequestBodyExample, inventorySearchResponseBody, isAlarmFilter, isAlarmQueue, isAlarmQueueNotFound, isAuthorizationHeader, isBuiltInClusteringPolicy, isBuiltInPolicy, isBuiltInTemplate, isDataStoreSchemaType, isEmptyCriteria, isInventoryQueueNotFound, isPersonalQueue, isProductProvisioned, isTemplate, isTenantToken, isUserToken, itsmMapToProperties, itsmPropertiesToMap, javaFullMatch, javaRegexToJs, javaReplaceAll, javaReplaceFirst, javaSplit, listDataStoreSchemaOps, listSlis, locationsCreate, locationsDelete, locationsGet, locationsGetAll, locationsGetByType, locationsLeafGetFilter, locationsPost, logGet, logGetEvent, logIngestionURLForGateway, maintenanceDelete, maintenanceDeleteWindows, maintenanceFilter, maintenanceGet, maintenanceGetDetail, maintenanceGetWindows, maintenanceGetWindowsDetail, maintenanceUpdateWindowsDetail, maintenancesCreate, maintenancesImmediateDelete, maintenancesImmediatePut, maintenancesPostWindows, maintenancesUpdate, measureBytes, messageGet, messageTemplateVariables, messagesList, monitorActivate, monitorCreate, monitorDeactivate, monitorDelete, monitorGet, monitorGetAll, monitorUpdate, normalizeAlarmQueueSharing, oauthClientTokensCreate, oauthClientTokensDelete, oauthClientTokensGet, oauthClientTokensList, oauthClientTokensUpdate, oauthCreateToken, oauthGetRefreshTokenList, oauthGetTokenList, oauthRefreshTokenDeleteId, oauthTokenCognateDelete, oauthTokenCognateDeleteCurrent, oauthTokenDelete, oauthTokenDeleteCurrent, parseExpression, parseFilter, parseSaasGateway, parseServiceNowUrl, planEnrichmentReorder, policyCategoryGuard, policyFieldBounds, policyFilterAtoms, producedMetricName, projectCustomAttributes, projectRule, pruneOrphanSloFunctions, redactChannelSecrets, reencodeItsmForWrite, removeAlert, removeSli, removeSloTriplet, resolveEnrichmentMappings, resolveWebhookPayload, sampleServiceDetailRequestBody, searchUniverse, sendWithRetry, serviceDetailResponseBody, settingsGet, settingsGetDetail, settingsUpdate, sharedRoleDelta, sleep, sliHumanName, sloTripletFor, sortRulesByPriority, splitAttributePath, splitTemplate, stationDelete, stationsAgentType, stationsCreate, stationsDeleteMaintenance, stationsGet, stationsGetAgents, stationsLatest, stationsList, stationsOnpremiseConnected, stationsOnpremiseConnectedAll, stationsOnpremiseList, stationsPutMaintenance, stationsUpdate, statistic, summarizeDataStoreSchema, tagsGetAll, tcSourceNameMatches, tcSourceNameToMmPattern, templateUsage, tenantConfigAttribute, timezonesList, toAlarmFilterWriteBody, toAlarmQueueWriteBody, toChannelWriteBody, toClusteringPolicyPreviewBody, toClusteringPolicyWriteBody, toEnrichmentRuleCreateBody, toGroupMetricsRequest, toInventoryQueueWriteBody, toItsmTestConnectionRequest, toPolicyWriteBody, toSliGroupSaveRequest, toTemplateWriteBody, toTicketEnrichmentWriteBody, tokenize, translateRuleToMmQuery, truthy, userBlockDelete, userBlockPut, userDelete, userGet, userLockDelete, userPut, userSubaccountsGet, userSubaccountsPost, verifyAndDumpLegacyConfiguration, verifyAndDumpVersion3Configuration, verifyAndDumpVersion4Configuration, vertexMatchesFilters, visibleAlarmQueueColumns, visibleInventoryColumns };
|
|
86402
87097
|
//# sourceMappingURL=index.esm.js.map
|