oci-logging 2.82.2 → 2.83.0
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/lib/client.d.ts +30 -30
- package/lib/client.js +30 -30
- package/lib/model/create-unified-agent-configuration-details.d.ts +3 -3
- package/lib/model/create-unified-agent-configuration-details.js.map +1 -1
- package/lib/model/grep-filter-allow-rule.d.ts +33 -0
- package/lib/model/grep-filter-allow-rule.js +33 -0
- package/lib/model/grep-filter-allow-rule.js.map +1 -0
- package/lib/model/grep-filter-deny-rule.d.ts +33 -0
- package/lib/model/grep-filter-deny-rule.js +33 -0
- package/lib/model/grep-filter-deny-rule.js.map +1 -0
- package/lib/model/index.d.ts +54 -0
- package/lib/model/index.js +56 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/operational-metrics-source.d.ts +1 -1
- package/lib/model/record-transformer-pair.d.ts +33 -0
- package/lib/model/record-transformer-pair.js +33 -0
- package/lib/model/record-transformer-pair.js.map +1 -0
- package/lib/model/unified-agent-configuration.d.ts +1 -1
- package/lib/model/unified-agent-configuration.js.map +1 -1
- package/lib/model/unified-agent-custom-filter.d.ts +42 -0
- package/lib/model/unified-agent-custom-filter.js +70 -0
- package/lib/model/unified-agent-custom-filter.js.map +1 -0
- package/lib/model/unified-agent-custom-plugin-log-source.d.ts +32 -0
- package/lib/model/unified-agent-custom-plugin-log-source.js +58 -0
- package/lib/model/unified-agent-custom-plugin-log-source.js.map +1 -0
- package/lib/model/unified-agent-custom-section.d.ts +35 -0
- package/lib/model/unified-agent-custom-section.js +33 -0
- package/lib/model/unified-agent-custom-section.js.map +1 -0
- package/lib/model/unified-agent-kubernetes-configuration-details.d.ts +31 -0
- package/lib/model/unified-agent-kubernetes-configuration-details.js +78 -0
- package/lib/model/unified-agent-kubernetes-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-kubernetes-filter.d.ts +36 -0
- package/lib/model/unified-agent-kubernetes-filter.js +58 -0
- package/lib/model/unified-agent-kubernetes-filter.js.map +1 -0
- package/lib/model/unified-agent-kubernetes-scrape-target.d.ts +52 -0
- package/lib/model/unified-agent-kubernetes-scrape-target.js +45 -0
- package/lib/model/unified-agent-kubernetes-scrape-target.js.map +1 -0
- package/lib/model/unified-agent-kubernetes-source.d.ts +34 -0
- package/lib/model/unified-agent-kubernetes-source.js +65 -0
- package/lib/model/unified-agent-kubernetes-source.js.map +1 -0
- package/lib/model/unified-agent-logging-configuration.d.ts +4 -0
- package/lib/model/unified-agent-logging-configuration.js +10 -0
- package/lib/model/unified-agent-logging-configuration.js.map +1 -1
- package/lib/model/unified-agent-logging-filter.d.ts +30 -0
- package/lib/model/unified-agent-logging-filter.js +84 -0
- package/lib/model/unified-agent-logging-filter.js.map +1 -0
- package/lib/model/unified-agent-logging-grep-filter.d.ts +38 -0
- package/lib/model/unified-agent-logging-grep-filter.js +80 -0
- package/lib/model/unified-agent-logging-grep-filter.js.map +1 -0
- package/lib/model/unified-agent-logging-record-transformer-filter.d.ts +58 -0
- package/lib/model/unified-agent-logging-record-transformer-filter.js +70 -0
- package/lib/model/unified-agent-logging-record-transformer-filter.js.map +1 -0
- package/lib/model/unified-agent-logging-source.js +4 -0
- package/lib/model/unified-agent-logging-source.js.map +1 -1
- package/lib/model/unified-agent-monitoring-application-configuration-details.d.ts +26 -0
- package/lib/model/unified-agent-monitoring-application-configuration-details.js +80 -0
- package/lib/model/unified-agent-monitoring-application-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-monitoring-configuration-details.d.ts +32 -0
- package/lib/model/unified-agent-monitoring-configuration-details.js +70 -0
- package/lib/model/unified-agent-monitoring-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-monitoring-destination.d.ts +33 -0
- package/lib/model/unified-agent-monitoring-destination.js +33 -0
- package/lib/model/unified-agent-monitoring-destination.js.map +1 -0
- package/lib/model/unified-agent-monitoring-filter.d.ts +30 -0
- package/lib/model/unified-agent-monitoring-filter.js +76 -0
- package/lib/model/unified-agent-monitoring-filter.js.map +1 -0
- package/lib/model/unified-agent-monitoring-source-types.d.ts +33 -0
- package/lib/model/unified-agent-monitoring-source-types.js +44 -0
- package/lib/model/unified-agent-monitoring-source-types.js.map +1 -0
- package/lib/model/unified-agent-monitoring-url-source.d.ts +34 -0
- package/lib/model/unified-agent-monitoring-url-source.js +65 -0
- package/lib/model/unified-agent-monitoring-url-source.js.map +1 -0
- package/lib/model/unified-agent-openmetrics-parser-record.d.ts +40 -0
- package/lib/model/unified-agent-openmetrics-parser-record.js +33 -0
- package/lib/model/unified-agent-openmetrics-parser-record.js.map +1 -0
- package/lib/model/unified-agent-openmetrics-parser.d.ts +29 -0
- package/lib/model/unified-agent-openmetrics-parser.js +66 -0
- package/lib/model/unified-agent-openmetrics-parser.js.map +1 -0
- package/lib/model/unified-agent-openmetrics-tail-configuration-details.d.ts +33 -0
- package/lib/model/unified-agent-openmetrics-tail-configuration-details.js +76 -0
- package/lib/model/unified-agent-openmetrics-tail-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-parser-filter.d.ts +66 -0
- package/lib/model/unified-agent-parser-filter.js +64 -0
- package/lib/model/unified-agent-parser-filter.js.map +1 -0
- package/lib/model/unified-agent-parser.js +4 -0
- package/lib/model/unified-agent-parser.js.map +1 -1
- package/lib/model/unified-agent-service-configuration-details.js +4 -0
- package/lib/model/unified-agent-service-configuration-details.js.map +1 -1
- package/lib/model/unified-agent-service-configuration-types.d.ts +1 -0
- package/lib/model/unified-agent-service-configuration-types.js +1 -0
- package/lib/model/unified-agent-service-configuration-types.js.map +1 -1
- package/lib/model/unified-agent-tail-log-source.d.ts +2 -1
- package/lib/model/unified-agent-tail-log-source.js +7 -1
- package/lib/model/unified-agent-tail-log-source.js.map +1 -1
- package/lib/model/unified-agent-tail-source-advanced-options.d.ts +29 -0
- package/lib/model/unified-agent-tail-source-advanced-options.js +33 -0
- package/lib/model/unified-agent-tail-source-advanced-options.js.map +1 -0
- package/lib/model/unified-agent-url-configuration-details.d.ts +31 -0
- package/lib/model/unified-agent-url-configuration-details.js +76 -0
- package/lib/model/unified-agent-url-configuration-details.js.map +1 -0
- package/lib/model/unified-agent-url-filter.d.ts +36 -0
- package/lib/model/unified-agent-url-filter.js +58 -0
- package/lib/model/unified-agent-url-filter.js.map +1 -0
- package/lib/model/unified-agent-url-scrape-target.d.ts +33 -0
- package/lib/model/unified-agent-url-scrape-target.js +33 -0
- package/lib/model/unified-agent-url-scrape-target.js.map +1 -0
- package/lib/model/unified-js-on-parser.d.ts +8 -0
- package/lib/model/unified-js-on-parser.js.map +1 -1
- package/lib/model/update-unified-agent-configuration-details.d.ts +1 -1
- package/lib/model/update-unified-agent-configuration-details.js.map +1 -1
- package/lib/request/change-log-group-compartment-request.d.ts +1 -1
- package/lib/request/change-log-log-group-request.d.ts +1 -1
- package/lib/request/change-log-saved-search-compartment-request.d.ts +1 -1
- package/lib/request/change-unified-agent-configuration-compartment-request.d.ts +1 -1
- package/lib/request/create-log-group-request.d.ts +1 -1
- package/lib/request/create-log-request.d.ts +1 -1
- package/lib/request/create-log-saved-search-request.d.ts +1 -1
- package/lib/request/create-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/delete-log-group-request.d.ts +1 -1
- package/lib/request/delete-log-request.d.ts +1 -1
- package/lib/request/delete-log-saved-search-request.d.ts +1 -1
- package/lib/request/delete-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/delete-work-request-request.d.ts +1 -1
- package/lib/request/get-log-group-request.d.ts +1 -1
- package/lib/request/get-log-request.d.ts +1 -1
- package/lib/request/get-log-saved-search-request.d.ts +1 -1
- package/lib/request/get-unified-agent-configuration-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-log-groups-request.d.ts +1 -1
- package/lib/request/list-log-saved-searches-request.d.ts +1 -1
- package/lib/request/list-logs-request.d.ts +1 -1
- package/lib/request/list-services-request.d.ts +1 -1
- package/lib/request/list-unified-agent-configurations-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-log-group-request.d.ts +1 -1
- package/lib/request/update-log-request.d.ts +1 -1
- package/lib/request/update-log-saved-search-request.d.ts +1 -1
- package/lib/request/update-unified-agent-configuration-request.d.ts +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Logging Management API
|
|
4
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
5
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
6
|
+
|
|
7
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20200531
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UnifiedAgentOpenmetricsTailConfigurationDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentOpenmetricsTailConfigurationDetails;
|
|
41
|
+
(function (UnifiedAgentOpenmetricsTailConfigurationDetails) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj(obj))), {
|
|
46
|
+
"sources": obj.sources
|
|
47
|
+
? obj.sources.map(item => {
|
|
48
|
+
return model.UnifiedAgentTailLogSource.getJsonObj(item);
|
|
49
|
+
})
|
|
50
|
+
: undefined,
|
|
51
|
+
"destination": obj.destination
|
|
52
|
+
? model.UnifiedAgentMonitoringDestination.getJsonObj(obj.destination)
|
|
53
|
+
: undefined
|
|
54
|
+
});
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
UnifiedAgentOpenmetricsTailConfigurationDetails.getJsonObj = getJsonObj;
|
|
58
|
+
UnifiedAgentOpenmetricsTailConfigurationDetails.sourceType = "TAIL";
|
|
59
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
61
|
+
? obj
|
|
62
|
+
: model.UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj(obj))), {
|
|
63
|
+
"sources": obj.sources
|
|
64
|
+
? obj.sources.map(item => {
|
|
65
|
+
return model.UnifiedAgentTailLogSource.getDeserializedJsonObj(item);
|
|
66
|
+
})
|
|
67
|
+
: undefined,
|
|
68
|
+
"destination": obj.destination
|
|
69
|
+
? model.UnifiedAgentMonitoringDestination.getDeserializedJsonObj(obj.destination)
|
|
70
|
+
: undefined
|
|
71
|
+
});
|
|
72
|
+
return jsonObj;
|
|
73
|
+
}
|
|
74
|
+
UnifiedAgentOpenmetricsTailConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
75
|
+
})(UnifiedAgentOpenmetricsTailConfigurationDetails = exports.UnifiedAgentOpenmetricsTailConfigurationDetails || (exports.UnifiedAgentOpenmetricsTailConfigurationDetails = {}));
|
|
76
|
+
//# sourceMappingURL=unified-agent-openmetrics-tail-configuration-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-openmetrics-tail-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-openmetrics-tail-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,+CAA+C,CAkD/D;AAlDD,WAAiB,+CAA+C;IAC9D,SAAgB,UAAU,CACxB,GAAoD,EACpD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qDAAqD,CAAC,UAAU,CACrE,GAAG,CACgD,CAAC,GACvD;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAC1D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,0DAAU,aAuBzB,CAAA;IACY,0DAAU,GAAG,MAAM,CAAC;IACjC,SAAgB,sBAAsB,CACpC,GAAoD,EACpD,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qDAAqD,CAAC,sBAAsB,CACjF,GAAG,CACgD,CAAC,GACvD;YACD,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACtE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAvBe,sEAAsB,yBAuBrC,CAAA;AACH,CAAC,EAlDgB,+CAA+C,GAA/C,uDAA+C,KAA/C,uDAA+C,QAkD/D"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logging Management API
|
|
3
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
4
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
5
|
+
|
|
6
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200531
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* Logging parser filter object.
|
|
20
|
+
* Ref: https://docs.fluentd.org/filter/parser
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export interface UnifiedAgentParserFilter extends model.UnifiedAgentLoggingFilter {
|
|
24
|
+
"parser": model.UnifiedAgentMultilineGrokParser | model.UnifiedJSONParser | model.UnifiedAgentGrokParser | model.UnifiedAgentNoneParser | model.UnifiedAgentSyslogParser | model.UnifiedAgentOpenmetricsParser | model.UnifiedAgentAuditdParser | model.UnifiedAgentApache2Parser | model.UnifiedAgentRegexParser | model.UnifiedAgentMultilineParser | model.UnifiedAgentTsvParser | model.UnifiedAgentCriParser | model.UnifiedAgentApacheErrorParser | model.UnifiedAgentMsgpackParser | model.UnifiedAgentCsvParser;
|
|
25
|
+
/**
|
|
26
|
+
* The field name in the record to parse.
|
|
27
|
+
*/
|
|
28
|
+
"keyName": string;
|
|
29
|
+
/**
|
|
30
|
+
* If true, keep the original event time in the parsed result.
|
|
31
|
+
*/
|
|
32
|
+
"reserveTime"?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* If true, keep the original key-value pair in the parsed result.
|
|
35
|
+
*/
|
|
36
|
+
"reserveData"?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* If true, remove the keyName field when parsing is succeeded.
|
|
39
|
+
*/
|
|
40
|
+
"removeKeyNameField"?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* If true, the invalid string is replaced with safe characters and is re-parsed.
|
|
43
|
+
*/
|
|
44
|
+
"replaceInvalidSequence"?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Store the parsed values with the specified key name prefix.
|
|
47
|
+
*/
|
|
48
|
+
"injectKeyPrefix"?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Store the parsed values as a hash value in a field.
|
|
51
|
+
*/
|
|
52
|
+
"hashValueField"?: string;
|
|
53
|
+
/**
|
|
54
|
+
* If true, emit invalid record to @ERROR label. Invalid cases are: 1) key does not exist; 2) the format
|
|
55
|
+
* does not match; or 3) an unexpected error. You can rescue unexpected format logs in the @ERROR lable.
|
|
56
|
+
* If you want to ignore these errors, set this to false.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
"emitInvalidRecordToError"?: boolean;
|
|
60
|
+
"filterType": string;
|
|
61
|
+
}
|
|
62
|
+
export declare namespace UnifiedAgentParserFilter {
|
|
63
|
+
function getJsonObj(obj: UnifiedAgentParserFilter, isParentJsonObj?: boolean): object;
|
|
64
|
+
const filterType = "PARSER_FILTER";
|
|
65
|
+
function getDeserializedJsonObj(obj: UnifiedAgentParserFilter, isParentJsonObj?: boolean): object;
|
|
66
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Logging Management API
|
|
4
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
5
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
6
|
+
|
|
7
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20200531
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UnifiedAgentParserFilter = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentParserFilter;
|
|
41
|
+
(function (UnifiedAgentParserFilter) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UnifiedAgentLoggingFilter.getJsonObj(obj))), {
|
|
46
|
+
"parser": obj.parser ? model.UnifiedAgentParser.getJsonObj(obj.parser) : undefined
|
|
47
|
+
});
|
|
48
|
+
return jsonObj;
|
|
49
|
+
}
|
|
50
|
+
UnifiedAgentParserFilter.getJsonObj = getJsonObj;
|
|
51
|
+
UnifiedAgentParserFilter.filterType = "PARSER_FILTER";
|
|
52
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
53
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
54
|
+
? obj
|
|
55
|
+
: model.UnifiedAgentLoggingFilter.getDeserializedJsonObj(obj))), {
|
|
56
|
+
"parser": obj.parser
|
|
57
|
+
? model.UnifiedAgentParser.getDeserializedJsonObj(obj.parser)
|
|
58
|
+
: undefined
|
|
59
|
+
});
|
|
60
|
+
return jsonObj;
|
|
61
|
+
}
|
|
62
|
+
UnifiedAgentParserFilter.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
63
|
+
})(UnifiedAgentParserFilter = exports.UnifiedAgentParserFilter || (exports.UnifiedAgentParserFilter = {}));
|
|
64
|
+
//# sourceMappingURL=unified-agent-parser-filter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-parser-filter.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-parser-filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgElC,IAAiB,wBAAwB,CAiCxC;AAjCD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B,EAAE,eAAyB;QACjF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAA8B,CAAC,GAC/E;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;SACnF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,mCAAU,aAWzB,CAAA;IACY,mCAAU,GAAG,eAAe,CAAC;IAC1C,SAAgB,sBAAsB,CACpC,GAA6B,EAC7B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CACyB,CAAC,GAChC;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC7D,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,+CAAsB,yBAkBrC,CAAA;AACH,CAAC,EAjCgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAiCxC"}
|
|
@@ -54,6 +54,8 @@ var UnifiedAgentParser;
|
|
|
54
54
|
return model.UnifiedAgentNoneParser.getJsonObj(jsonObj, true);
|
|
55
55
|
case "SYSLOG":
|
|
56
56
|
return model.UnifiedAgentSyslogParser.getJsonObj(jsonObj, true);
|
|
57
|
+
case "OPENMETRICS":
|
|
58
|
+
return model.UnifiedAgentOpenmetricsParser.getJsonObj(jsonObj, true);
|
|
57
59
|
case "AUDITD":
|
|
58
60
|
return model.UnifiedAgentAuditdParser.getJsonObj(jsonObj, true);
|
|
59
61
|
case "APACHE2":
|
|
@@ -94,6 +96,8 @@ var UnifiedAgentParser;
|
|
|
94
96
|
return model.UnifiedAgentNoneParser.getDeserializedJsonObj(jsonObj, true);
|
|
95
97
|
case "SYSLOG":
|
|
96
98
|
return model.UnifiedAgentSyslogParser.getDeserializedJsonObj(jsonObj, true);
|
|
99
|
+
case "OPENMETRICS":
|
|
100
|
+
return model.UnifiedAgentOpenmetricsParser.getDeserializedJsonObj(jsonObj, true);
|
|
97
101
|
case "AUDITD":
|
|
98
102
|
return model.UnifiedAgentAuditdParser.getDeserializedJsonObj(jsonObj, true);
|
|
99
103
|
case "APACHE2":
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unified-agent-parser.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AA2DtC,IAAiB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"unified-agent-parser.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-parser.ts"],"names":[],"mappings":"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"}
|
|
@@ -46,6 +46,8 @@ var UnifiedAgentServiceConfigurationDetails;
|
|
|
46
46
|
switch (obj.configurationType) {
|
|
47
47
|
case "LOGGING":
|
|
48
48
|
return model.UnifiedAgentLoggingConfiguration.getJsonObj(jsonObj, true);
|
|
49
|
+
case "MONITORING":
|
|
50
|
+
return model.UnifiedAgentMonitoringConfigurationDetails.getJsonObj(jsonObj, true);
|
|
49
51
|
default:
|
|
50
52
|
if (common.LOG.logger)
|
|
51
53
|
common.LOG.logger.info(`Unknown value for: ${obj.configurationType}`);
|
|
@@ -60,6 +62,8 @@ var UnifiedAgentServiceConfigurationDetails;
|
|
|
60
62
|
switch (obj.configurationType) {
|
|
61
63
|
case "LOGGING":
|
|
62
64
|
return model.UnifiedAgentLoggingConfiguration.getDeserializedJsonObj(jsonObj, true);
|
|
65
|
+
case "MONITORING":
|
|
66
|
+
return model.UnifiedAgentMonitoringConfigurationDetails.getDeserializedJsonObj(jsonObj, true);
|
|
63
67
|
default:
|
|
64
68
|
if (common.LOG.logger)
|
|
65
69
|
common.LOG.logger.info(`Unknown value for: ${obj.configurationType}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unified-agent-service-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-service-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,uCAAuC,
|
|
1
|
+
{"version":3,"file":"unified-agent-service-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-service-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,uCAAuC,CA6CvD;AA7CD,WAAiB,uCAAuC;IACtD,SAAgB,UAAU,CAAC,GAA4C;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,mBAAmB,IAAI,GAAG,IAAI,GAAG,CAAC,iBAAiB,EAAE;YAC9D,QAAQ,GAAG,CAAC,iBAAiB,EAAE;gBAC7B,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,gCAAgC,CAAC,UAAU,CACL,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,0CAA0C,CAAC,UAAU,CACL,OAAQ,EACnE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,iBAAiB,EAAE,CAAC,CAAC;aAC3E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,kDAAU,aAqBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4C;QACjF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,mBAAmB,IAAI,GAAG,IAAI,GAAG,CAAC,iBAAiB,EAAE;YAC9D,QAAQ,GAAG,CAAC,iBAAiB,EAAE;gBAC7B,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,gCAAgC,CAAC,sBAAsB,CACjB,OAAQ,EACzD,IAAI,CACL,CAAC;gBACJ,KAAK,YAAY;oBACf,OAAO,KAAK,CAAC,0CAA0C,CAAC,sBAAsB,CACjB,OAAQ,EACnE,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBACnB,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,iBAAiB,EAAE,CAAC,CAAC;aAC3E;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,8DAAsB,yBAqBrC,CAAA;AACH,CAAC,EA7CgB,uCAAuC,GAAvC,+CAAuC,KAAvC,+CAAuC,QA6CvD"}
|
|
@@ -19,6 +19,7 @@ For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/logg
|
|
|
19
19
|
**/
|
|
20
20
|
export declare enum UnifiedAgentServiceConfigurationTypes {
|
|
21
21
|
Logging = "LOGGING",
|
|
22
|
+
Monitoring = "MONITORING",
|
|
22
23
|
/**
|
|
23
24
|
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
25
|
* version of the SDK.
|
|
@@ -23,6 +23,7 @@ exports.UnifiedAgentServiceConfigurationTypes = void 0;
|
|
|
23
23
|
var UnifiedAgentServiceConfigurationTypes;
|
|
24
24
|
(function (UnifiedAgentServiceConfigurationTypes) {
|
|
25
25
|
UnifiedAgentServiceConfigurationTypes["Logging"] = "LOGGING";
|
|
26
|
+
UnifiedAgentServiceConfigurationTypes["Monitoring"] = "MONITORING";
|
|
26
27
|
/**
|
|
27
28
|
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
28
29
|
* version of the SDK.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unified-agent-service-configuration-types.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-service-configuration-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAKH;;IAEI;AACJ,IAAY,
|
|
1
|
+
{"version":3,"file":"unified-agent-service-configuration-types.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-service-configuration-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAKH;;IAEI;AACJ,IAAY,qCASX;AATD,WAAY,qCAAqC;IAC/C,4DAAmB,CAAA;IACnB,kEAAyB,CAAA;IAEzB;;;OAGG;IACH,uEAA8B,CAAA;AAChC,CAAC,EATW,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QAShD;AAED,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CACxB,GAA0C;QAE1C,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,gDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CACpC,GAA0C;QAE1C,OAAO,GAAG,CAAC;IACb,CAAC;IAJe,4DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QAWrD"}
|
|
@@ -23,7 +23,8 @@ export interface UnifiedAgentTailLogSource extends model.UnifiedAgentLoggingSour
|
|
|
23
23
|
* Absolute paths for log source files. Wildcards can be used.
|
|
24
24
|
*/
|
|
25
25
|
"paths": Array<string>;
|
|
26
|
-
"parser"?: model.UnifiedAgentMultilineGrokParser | model.UnifiedJSONParser | model.UnifiedAgentGrokParser | model.UnifiedAgentNoneParser | model.UnifiedAgentSyslogParser | model.UnifiedAgentAuditdParser | model.UnifiedAgentApache2Parser | model.UnifiedAgentRegexParser | model.UnifiedAgentMultilineParser | model.UnifiedAgentTsvParser | model.UnifiedAgentCriParser | model.UnifiedAgentApacheErrorParser | model.UnifiedAgentMsgpackParser | model.UnifiedAgentCsvParser;
|
|
26
|
+
"parser"?: model.UnifiedAgentMultilineGrokParser | model.UnifiedJSONParser | model.UnifiedAgentGrokParser | model.UnifiedAgentNoneParser | model.UnifiedAgentSyslogParser | model.UnifiedAgentOpenmetricsParser | model.UnifiedAgentAuditdParser | model.UnifiedAgentApache2Parser | model.UnifiedAgentRegexParser | model.UnifiedAgentMultilineParser | model.UnifiedAgentTsvParser | model.UnifiedAgentCriParser | model.UnifiedAgentApacheErrorParser | model.UnifiedAgentMsgpackParser | model.UnifiedAgentCsvParser;
|
|
27
|
+
"advancedOptions"?: model.UnifiedAgentTailSourceAdvancedOptions;
|
|
27
28
|
"sourceType": string;
|
|
28
29
|
}
|
|
29
30
|
export declare namespace UnifiedAgentTailLogSource {
|
|
@@ -43,7 +43,10 @@ var UnifiedAgentTailLogSource;
|
|
|
43
43
|
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
44
|
? obj
|
|
45
45
|
: model.UnifiedAgentLoggingSource.getJsonObj(obj))), {
|
|
46
|
-
"parser": obj.parser ? model.UnifiedAgentParser.getJsonObj(obj.parser) : undefined
|
|
46
|
+
"parser": obj.parser ? model.UnifiedAgentParser.getJsonObj(obj.parser) : undefined,
|
|
47
|
+
"advancedOptions": obj.advancedOptions
|
|
48
|
+
? model.UnifiedAgentTailSourceAdvancedOptions.getJsonObj(obj.advancedOptions)
|
|
49
|
+
: undefined
|
|
47
50
|
});
|
|
48
51
|
return jsonObj;
|
|
49
52
|
}
|
|
@@ -55,6 +58,9 @@ var UnifiedAgentTailLogSource;
|
|
|
55
58
|
: model.UnifiedAgentLoggingSource.getDeserializedJsonObj(obj))), {
|
|
56
59
|
"parser": obj.parser
|
|
57
60
|
? model.UnifiedAgentParser.getDeserializedJsonObj(obj.parser)
|
|
61
|
+
: undefined,
|
|
62
|
+
"advancedOptions": obj.advancedOptions
|
|
63
|
+
? model.UnifiedAgentTailSourceAdvancedOptions.getDeserializedJsonObj(obj.advancedOptions)
|
|
58
64
|
: undefined
|
|
59
65
|
});
|
|
60
66
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unified-agent-tail-log-source.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-tail-log-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"unified-agent-tail-log-source.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-tail-log-source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgClC,IAAiB,yBAAyB,CAuCzC;AAvCD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B,EAAE,eAAyB;QAClF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAA+B,CAAC,GAChF;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YAClF,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,UAAU,CAAC,GAAG,CAAC,eAAe,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,oCAAU,aAczB,CAAA;IACY,oCAAU,GAAG,UAAU,CAAC;IACrC,SAAgB,sBAAsB,CACpC,GAA8B,EAC9B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CACrD,GAAG,CAC0B,CAAC,GACjC;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC7D,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,KAAK,CAAC,qCAAqC,CAAC,sBAAsB,CAAC,GAAG,CAAC,eAAe,CAAC;gBACzF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IArBe,gDAAsB,yBAqBrC,CAAA;AACH,CAAC,EAvCgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAuCzC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logging Management API
|
|
3
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
4
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
5
|
+
|
|
6
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200531
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Advanced options for logging configuration
|
|
19
|
+
*/
|
|
20
|
+
export interface UnifiedAgentTailSourceAdvancedOptions {
|
|
21
|
+
/**
|
|
22
|
+
* Starts to read the logs from the head of the file or the last read position recorded in pos_file, not tail.
|
|
23
|
+
*/
|
|
24
|
+
"isReadFromHead"?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace UnifiedAgentTailSourceAdvancedOptions {
|
|
27
|
+
function getJsonObj(obj: UnifiedAgentTailSourceAdvancedOptions): object;
|
|
28
|
+
function getDeserializedJsonObj(obj: UnifiedAgentTailSourceAdvancedOptions): object;
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Logging Management API
|
|
4
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
5
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
6
|
+
|
|
7
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20200531
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.UnifiedAgentTailSourceAdvancedOptions = void 0;
|
|
20
|
+
var UnifiedAgentTailSourceAdvancedOptions;
|
|
21
|
+
(function (UnifiedAgentTailSourceAdvancedOptions) {
|
|
22
|
+
function getJsonObj(obj) {
|
|
23
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
24
|
+
return jsonObj;
|
|
25
|
+
}
|
|
26
|
+
UnifiedAgentTailSourceAdvancedOptions.getJsonObj = getJsonObj;
|
|
27
|
+
function getDeserializedJsonObj(obj) {
|
|
28
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
29
|
+
return jsonObj;
|
|
30
|
+
}
|
|
31
|
+
UnifiedAgentTailSourceAdvancedOptions.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
32
|
+
})(UnifiedAgentTailSourceAdvancedOptions = exports.UnifiedAgentTailSourceAdvancedOptions || (exports.UnifiedAgentTailSourceAdvancedOptions = {}));
|
|
33
|
+
//# sourceMappingURL=unified-agent-tail-source-advanced-options.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-tail-source-advanced-options.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-tail-source-advanced-options.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAeH,IAAiB,qCAAqC,CAWrD;AAXD,WAAiB,qCAAqC;IACpD,SAAgB,UAAU,CAAC,GAA0C;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0C;QAC/E,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qCAAqC,GAArC,6CAAqC,KAArC,6CAAqC,QAWrD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logging Management API
|
|
3
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
4
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
5
|
+
|
|
6
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200531
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* Unified Agent scrape URL configuration object.
|
|
20
|
+
*/
|
|
21
|
+
export interface UnifiedAgentUrlConfigurationDetails extends model.UnifiedAgentMonitoringApplicationConfigurationDetails {
|
|
22
|
+
"source": model.UnifiedAgentMonitoringUrlSource;
|
|
23
|
+
"filter"?: model.UnifiedAgentUrlFilter;
|
|
24
|
+
"destination": model.UnifiedAgentMonitoringDestination;
|
|
25
|
+
"sourceType": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace UnifiedAgentUrlConfigurationDetails {
|
|
28
|
+
function getJsonObj(obj: UnifiedAgentUrlConfigurationDetails, isParentJsonObj?: boolean): object;
|
|
29
|
+
const sourceType = "URL";
|
|
30
|
+
function getDeserializedJsonObj(obj: UnifiedAgentUrlConfigurationDetails, isParentJsonObj?: boolean): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Logging Management API
|
|
4
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
5
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
6
|
+
|
|
7
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20200531
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UnifiedAgentUrlConfigurationDetails = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentUrlConfigurationDetails;
|
|
41
|
+
(function (UnifiedAgentUrlConfigurationDetails) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj(obj))), {
|
|
46
|
+
"source": obj.source
|
|
47
|
+
? model.UnifiedAgentMonitoringUrlSource.getJsonObj(obj.source)
|
|
48
|
+
: undefined,
|
|
49
|
+
"filter": obj.filter ? model.UnifiedAgentUrlFilter.getJsonObj(obj.filter) : undefined,
|
|
50
|
+
"destination": obj.destination
|
|
51
|
+
? model.UnifiedAgentMonitoringDestination.getJsonObj(obj.destination)
|
|
52
|
+
: undefined
|
|
53
|
+
});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
UnifiedAgentUrlConfigurationDetails.getJsonObj = getJsonObj;
|
|
57
|
+
UnifiedAgentUrlConfigurationDetails.sourceType = "URL";
|
|
58
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
60
|
+
? obj
|
|
61
|
+
: model.UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj(obj))), {
|
|
62
|
+
"source": obj.source
|
|
63
|
+
? model.UnifiedAgentMonitoringUrlSource.getDeserializedJsonObj(obj.source)
|
|
64
|
+
: undefined,
|
|
65
|
+
"filter": obj.filter
|
|
66
|
+
? model.UnifiedAgentUrlFilter.getDeserializedJsonObj(obj.filter)
|
|
67
|
+
: undefined,
|
|
68
|
+
"destination": obj.destination
|
|
69
|
+
? model.UnifiedAgentMonitoringDestination.getDeserializedJsonObj(obj.destination)
|
|
70
|
+
: undefined
|
|
71
|
+
});
|
|
72
|
+
return jsonObj;
|
|
73
|
+
}
|
|
74
|
+
UnifiedAgentUrlConfigurationDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
75
|
+
})(UnifiedAgentUrlConfigurationDetails = exports.UnifiedAgentUrlConfigurationDetails || (exports.UnifiedAgentUrlConfigurationDetails = {}));
|
|
76
|
+
//# sourceMappingURL=unified-agent-url-configuration-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unified-agent-url-configuration-details.js","sourceRoot":"","sources":["../../../../../lib/logging/lib/model/unified-agent-url-configuration-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAelC,IAAiB,mCAAmC,CAkDnD;AAlDD,WAAiB,mCAAmC;IAClD,SAAgB,UAAU,CACxB,GAAwC,EACxC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qDAAqD,CAAC,UAAU,CACrE,GAAG,CACoC,CAAC,GAC3C;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC9D,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YACrF,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBACrE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAtBe,8CAAU,aAsBzB,CAAA;IACY,8CAAU,GAAG,KAAK,CAAC;IAChC,SAAgB,sBAAsB,CACpC,GAAwC,EACxC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,qDAAqD,CAAC,sBAAsB,CACjF,GAAG,CACoC,CAAC,GAC3C;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC;gBAC1E,CAAC,CAAC,SAAS;YACb,QAAQ,EAAE,GAAG,CAAC,MAAM;gBAClB,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC;gBAChE,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBACjF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAxBe,0DAAsB,yBAwBrC,CAAA;AACH,CAAC,EAlDgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAkDnD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logging Management API
|
|
3
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
4
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
5
|
+
|
|
6
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20200531
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
import * as model from "../model";
|
|
18
|
+
/**
|
|
19
|
+
* Kubernetes filter object
|
|
20
|
+
*/
|
|
21
|
+
export interface UnifiedAgentUrlFilter extends model.UnifiedAgentMonitoringFilter {
|
|
22
|
+
/**
|
|
23
|
+
* List of metrics regex to be allowed.
|
|
24
|
+
*/
|
|
25
|
+
"allowList"?: Array<string>;
|
|
26
|
+
/**
|
|
27
|
+
* List of metrics regex to be denied.
|
|
28
|
+
*/
|
|
29
|
+
"denyList"?: Array<string>;
|
|
30
|
+
"filterType": string;
|
|
31
|
+
}
|
|
32
|
+
export declare namespace UnifiedAgentUrlFilter {
|
|
33
|
+
function getJsonObj(obj: UnifiedAgentUrlFilter, isParentJsonObj?: boolean): object;
|
|
34
|
+
const filterType = "URL_FILTER";
|
|
35
|
+
function getDeserializedJsonObj(obj: UnifiedAgentUrlFilter, isParentJsonObj?: boolean): object;
|
|
36
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Logging Management API
|
|
4
|
+
* Use the Logging Management API to create, read, list, update, move and delete
|
|
5
|
+
log groups, log objects, log saved searches, and agent configurations.
|
|
6
|
+
|
|
7
|
+
For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
|
|
8
|
+
|
|
9
|
+
* OpenAPI spec version: 20200531
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
|
16
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
17
|
+
*/
|
|
18
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
21
|
+
}) : (function(o, m, k, k2) {
|
|
22
|
+
if (k2 === undefined) k2 = k;
|
|
23
|
+
o[k2] = m[k];
|
|
24
|
+
}));
|
|
25
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
26
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
27
|
+
}) : function(o, v) {
|
|
28
|
+
o["default"] = v;
|
|
29
|
+
});
|
|
30
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UnifiedAgentUrlFilter = void 0;
|
|
39
|
+
const model = __importStar(require("../model"));
|
|
40
|
+
var UnifiedAgentUrlFilter;
|
|
41
|
+
(function (UnifiedAgentUrlFilter) {
|
|
42
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
44
|
+
? obj
|
|
45
|
+
: model.UnifiedAgentMonitoringFilter.getJsonObj(obj))), {});
|
|
46
|
+
return jsonObj;
|
|
47
|
+
}
|
|
48
|
+
UnifiedAgentUrlFilter.getJsonObj = getJsonObj;
|
|
49
|
+
UnifiedAgentUrlFilter.filterType = "URL_FILTER";
|
|
50
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
51
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
52
|
+
? obj
|
|
53
|
+
: model.UnifiedAgentMonitoringFilter.getDeserializedJsonObj(obj))), {});
|
|
54
|
+
return jsonObj;
|
|
55
|
+
}
|
|
56
|
+
UnifiedAgentUrlFilter.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
57
|
+
})(UnifiedAgentUrlFilter = exports.UnifiedAgentUrlFilter || (exports.UnifiedAgentUrlFilter = {}));
|
|
58
|
+
//# sourceMappingURL=unified-agent-url-filter.js.map
|