@daocloud-proto/insight 0.18.1-dev2-14-gea6ff2f → 0.18.1-dev2-20-geda661d

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.
@@ -21,6 +21,17 @@ export enum DownloadFileType {
21
21
  JSON = "JSON",
22
22
  }
23
23
 
24
+ export enum LogField {
25
+ LOG_FIELD_UNSPECIFIED = "LOG_FIELD_UNSPECIFIED",
26
+ Timestamp = "Timestamp",
27
+ Cluster = "Cluster",
28
+ Namespace = "Namespace",
29
+ Pod = "Pod",
30
+ Container = "Container",
31
+ Node = "Node",
32
+ File = "File",
33
+ }
34
+
24
35
  export type SearchLogRequest = {
25
36
  index?: string
26
37
  query?: string
@@ -129,7 +140,7 @@ export type DownloadLogRequest = {
129
140
  type?: DownloadFileType
130
141
  queryLog?: QueryLogRequest
131
142
  queryLogContext?: QueryLogContextRequest
132
- fields?: string[]
143
+ fields?: LogField[]
133
144
  }
134
145
 
135
146
  export type DownloadLogResponse = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/insight",
3
- "version":"0.18.1-dev2-14-gea6ff2f",
3
+ "version":"0.18.1-dev2-20-geda661d",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {