@grepr/cli 1.8.4-b895a9f → 1.8.5-ca825ac
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.
|
@@ -2124,6 +2124,26 @@ export interface paths {
|
|
|
2124
2124
|
patch?: never;
|
|
2125
2125
|
trace?: never;
|
|
2126
2126
|
};
|
|
2127
|
+
"/v1/jobs/backfills": {
|
|
2128
|
+
parameters: {
|
|
2129
|
+
query?: never;
|
|
2130
|
+
header?: never;
|
|
2131
|
+
path?: never;
|
|
2132
|
+
cookie?: never;
|
|
2133
|
+
};
|
|
2134
|
+
get?: never;
|
|
2135
|
+
put?: never;
|
|
2136
|
+
/**
|
|
2137
|
+
* Create a logs backfill job
|
|
2138
|
+
* @description Creates a logs backfill batch job from backfill parameters (time window, query, vendor sinks, and optional limit, variables, and tags). This is an asynchronous batch job: the response returns an identifier (field: `id`) that can be used to query the status of the job using the `GET` jobs endpoint. The server builds the backfill job graph from the parameters, so callers do not assemble it themselves.
|
|
2139
|
+
*/
|
|
2140
|
+
post: operations["submitBackfillJob"];
|
|
2141
|
+
delete?: never;
|
|
2142
|
+
options?: never;
|
|
2143
|
+
head?: never;
|
|
2144
|
+
patch?: never;
|
|
2145
|
+
trace?: never;
|
|
2146
|
+
};
|
|
2127
2147
|
"/v1/jobs/query": {
|
|
2128
2148
|
parameters: {
|
|
2129
2149
|
query?: never;
|
|
@@ -4002,6 +4022,60 @@ export interface components {
|
|
|
4002
4022
|
*/
|
|
4003
4023
|
startDate: string;
|
|
4004
4024
|
};
|
|
4025
|
+
/** @description Parameters for creating a logs backfill batch job. */
|
|
4026
|
+
CreateBackfillJob: {
|
|
4027
|
+
/** @description The dataset the backfill reads from and the dedup sinks track delivery in. */
|
|
4028
|
+
datasetId: string;
|
|
4029
|
+
/**
|
|
4030
|
+
* Format: date-time
|
|
4031
|
+
* @description End of the time interval to backfill.
|
|
4032
|
+
* @example 2023-01-01T01:00:00Z
|
|
4033
|
+
*/
|
|
4034
|
+
end: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* Format: int32
|
|
4037
|
+
* @description Maximum number of rows to backfill. Default and max is 500,000. A negative value means no limit.
|
|
4038
|
+
* @default 500000
|
|
4039
|
+
* @example 100000
|
|
4040
|
+
*/
|
|
4041
|
+
limit?: number;
|
|
4042
|
+
/**
|
|
4043
|
+
* @description Name of the backfill job. Must match the job name pattern [a-z0-9_]{1,128}.
|
|
4044
|
+
* @example manual_backfill_1
|
|
4045
|
+
*/
|
|
4046
|
+
name: string;
|
|
4047
|
+
query: components["schemas"]["EventPredicate"];
|
|
4048
|
+
/** @description The vendor sink operations that deliver the backfilled events. Passed through verbatim, matching the sinks a rule action would carry. */
|
|
4049
|
+
sinks: components["schemas"]["Operation"][];
|
|
4050
|
+
/**
|
|
4051
|
+
* Format: date-time
|
|
4052
|
+
* @description Start of the time interval to backfill, inclusive.
|
|
4053
|
+
* @example 2023-01-01T00:00:00Z
|
|
4054
|
+
*/
|
|
4055
|
+
start: string;
|
|
4056
|
+
/**
|
|
4057
|
+
* @description Custom tags added to the backfill job for ease of search.
|
|
4058
|
+
* @default {}
|
|
4059
|
+
* @example {
|
|
4060
|
+
* "source": "manual"
|
|
4061
|
+
* }
|
|
4062
|
+
*/
|
|
4063
|
+
tags?: {
|
|
4064
|
+
[key: string]: string;
|
|
4065
|
+
};
|
|
4066
|
+
/**
|
|
4067
|
+
* @description Variables used to modify the query while it is parsed.
|
|
4068
|
+
* @default {}
|
|
4069
|
+
*/
|
|
4070
|
+
variables?: {
|
|
4071
|
+
[key: string]: components["schemas"]["Any"];
|
|
4072
|
+
};
|
|
4073
|
+
/**
|
|
4074
|
+
* @description Vendor integration IDs, if any, whose prior delivery the backfill skips. Also gates concurrent overlapping backfills. Empty (the default) does no per-vendor dedup join and never blocks on other backfills.
|
|
4075
|
+
* @default []
|
|
4076
|
+
*/
|
|
4077
|
+
vendorSinkIntegrationIds?: string[];
|
|
4078
|
+
};
|
|
4005
4079
|
/** @description Attributes of the Grepr Job to create */
|
|
4006
4080
|
CreateJob: {
|
|
4007
4081
|
/**
|
|
@@ -6507,6 +6581,45 @@ export interface components {
|
|
|
6507
6581
|
/** @default [] */
|
|
6508
6582
|
vendorSinkIntegrationIds?: string[];
|
|
6509
6583
|
};
|
|
6584
|
+
/**
|
|
6585
|
+
* Inputs Schema
|
|
6586
|
+
* @description Schema for the logs backfill job graph.
|
|
6587
|
+
*/
|
|
6588
|
+
LogsBackfillTemplateInput: {
|
|
6589
|
+
/**
|
|
6590
|
+
* @description ISO-8601 value stamped onto backfilled events as the grepr.backfilled.timestamp tag. Computed by the builder so the template stays free of time logic.
|
|
6591
|
+
* @example 2023-01-01t01:00:00z
|
|
6592
|
+
*/
|
|
6593
|
+
backfillTimestampTag: string;
|
|
6594
|
+
/** @description The dataset the backfill reads from and the dedup sinks track delivery in. */
|
|
6595
|
+
datasetId: string;
|
|
6596
|
+
/**
|
|
6597
|
+
* Format: date-time
|
|
6598
|
+
* @description End of the time interval to backfill.
|
|
6599
|
+
* @example 2023-01-01T01:00:00Z
|
|
6600
|
+
*/
|
|
6601
|
+
end: string;
|
|
6602
|
+
/**
|
|
6603
|
+
* Format: int32
|
|
6604
|
+
* @description The maximum number of rows to backfill. A negative value means no limit.
|
|
6605
|
+
*/
|
|
6606
|
+
limit: number;
|
|
6607
|
+
query: components["schemas"]["EventPredicate"];
|
|
6608
|
+
/** @description The vendor sink operations to deliver the backfilled events to. */
|
|
6609
|
+
sinks: components["schemas"]["Operation"][];
|
|
6610
|
+
/**
|
|
6611
|
+
* Format: date-time
|
|
6612
|
+
* @description Start of the time interval to backfill.
|
|
6613
|
+
* @example 2023-01-01T00:00:00Z
|
|
6614
|
+
*/
|
|
6615
|
+
start: string;
|
|
6616
|
+
/** @description Variables used to modify the query while it is parsed. */
|
|
6617
|
+
variables?: {
|
|
6618
|
+
[key: string]: components["schemas"]["Any"];
|
|
6619
|
+
};
|
|
6620
|
+
/** @description Vendor integration IDs, if any, whose prior delivery the backfill source skips. Empty when the source does no per-vendor dedup join (e.g. trace backfills). */
|
|
6621
|
+
vendorSinkIntegrationIds?: string[];
|
|
6622
|
+
};
|
|
6510
6623
|
LogsBranch: {
|
|
6511
6624
|
/** @example operation_name */
|
|
6512
6625
|
name: string;
|
|
@@ -11813,6 +11926,7 @@ export type SchemaConditionalDataLakeConfig = components["schemas"]["Conditional
|
|
|
11813
11926
|
export type SchemaConsoleSetupInfo = components["schemas"]["ConsoleSetupInfo"];
|
|
11814
11927
|
export type SchemaConstantSampling = components["schemas"]["ConstantSampling"];
|
|
11815
11928
|
export type SchemaContract = components["schemas"]["Contract"];
|
|
11929
|
+
export type SchemaCreateBackfillJob = components["schemas"]["CreateBackfillJob"];
|
|
11816
11930
|
export type SchemaCreateJob = components["schemas"]["CreateJob"];
|
|
11817
11931
|
export type SchemaCreateRole = components["schemas"]["CreateRole"];
|
|
11818
11932
|
export type SchemaCreateServiceAccount = components["schemas"]["CreateServiceAccount"];
|
|
@@ -11943,6 +12057,7 @@ export type SchemaLogReducerTemplateInput = components["schemas"]["LogReducerTem
|
|
|
11943
12057
|
export type SchemaLogRulesApplication = components["schemas"]["LogRulesApplication"];
|
|
11944
12058
|
export type SchemaLogTransformAction = components["schemas"]["LogTransformAction"];
|
|
11945
12059
|
export type SchemaLogsBackfillFlinkSource = components["schemas"]["LogsBackfillFlinkSource"];
|
|
12060
|
+
export type SchemaLogsBackfillTemplateInput = components["schemas"]["LogsBackfillTemplateInput"];
|
|
11946
12061
|
export type SchemaLogsBranch = components["schemas"]["LogsBranch"];
|
|
11947
12062
|
export type SchemaLogsEventSampler = components["schemas"]["LogsEventSampler"];
|
|
11948
12063
|
export type SchemaLogsFilter = components["schemas"]["LogsFilter"];
|
|
@@ -17973,6 +18088,44 @@ export interface operations {
|
|
|
17973
18088
|
};
|
|
17974
18089
|
};
|
|
17975
18090
|
};
|
|
18091
|
+
submitBackfillJob: {
|
|
18092
|
+
parameters: {
|
|
18093
|
+
query?: never;
|
|
18094
|
+
header?: never;
|
|
18095
|
+
path?: never;
|
|
18096
|
+
cookie?: never;
|
|
18097
|
+
};
|
|
18098
|
+
requestBody?: {
|
|
18099
|
+
content: {
|
|
18100
|
+
"application/json": components["schemas"]["CreateBackfillJob"];
|
|
18101
|
+
};
|
|
18102
|
+
};
|
|
18103
|
+
responses: {
|
|
18104
|
+
/** @description Backfill job submitted successfully */
|
|
18105
|
+
201: {
|
|
18106
|
+
headers: {
|
|
18107
|
+
[name: string]: unknown;
|
|
18108
|
+
};
|
|
18109
|
+
content: {
|
|
18110
|
+
"application/json": components["schemas"]["ReadJob"];
|
|
18111
|
+
};
|
|
18112
|
+
};
|
|
18113
|
+
/** @description Bad Request */
|
|
18114
|
+
400: {
|
|
18115
|
+
headers: {
|
|
18116
|
+
[name: string]: unknown;
|
|
18117
|
+
};
|
|
18118
|
+
content?: never;
|
|
18119
|
+
};
|
|
18120
|
+
/** @description Unauthorized */
|
|
18121
|
+
401: {
|
|
18122
|
+
headers: {
|
|
18123
|
+
[name: string]: unknown;
|
|
18124
|
+
};
|
|
18125
|
+
content?: never;
|
|
18126
|
+
};
|
|
18127
|
+
};
|
|
18128
|
+
};
|
|
17976
18129
|
query: {
|
|
17977
18130
|
parameters: {
|
|
17978
18131
|
query?: never;
|