removing kibana_datatable in favor of datatable` (#75184)

This commit is contained in:
Peter Pisljar 2020-10-13 17:00:38 +02:00 committed by GitHub
parent f4534674f2
commit 255b865be8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
143 changed files with 708 additions and 1099 deletions

View file

@ -8,7 +8,7 @@
```typescript
data: {
table: KibanaDatatable;
table: Datatable;
column: number;
range: number[];
timeFieldName?: string;

View file

@ -14,6 +14,6 @@ export interface RangeSelectContext<T extends IEmbeddable = IEmbeddable>
| Property | Type | Description |
| --- | --- | --- |
| [data](./kibana-plugin-plugins-embeddable-public.rangeselectcontext.data.md) | <code>{</code><br/><code> table: KibanaDatatable;</code><br/><code> column: number;</code><br/><code> range: number[];</code><br/><code> timeFieldName?: string;</code><br/><code> }</code> | |
| [data](./kibana-plugin-plugins-embeddable-public.rangeselectcontext.data.md) | <code>{</code><br/><code> table: Datatable;</code><br/><code> column: number;</code><br/><code> range: number[];</code><br/><code> timeFieldName?: string;</code><br/><code> }</code> | |
| [embeddable](./kibana-plugin-plugins-embeddable-public.rangeselectcontext.embeddable.md) | <code>T</code> | |

View file

@ -9,7 +9,7 @@
```typescript
data: {
data: Array<{
table: Pick<KibanaDatatable, 'rows' | 'columns'>;
table: Pick<Datatable, 'rows' | 'columns'>;
column: number;
row: number;
value: any;

View file

@ -14,6 +14,6 @@ export interface ValueClickContext<T extends IEmbeddable = IEmbeddable>
| Property | Type | Description |
| --- | --- | --- |
| [data](./kibana-plugin-plugins-embeddable-public.valueclickcontext.data.md) | <code>{</code><br/><code> data: Array&lt;{</code><br/><code> table: Pick&lt;KibanaDatatable, 'rows' &#124; 'columns'&gt;;</code><br/><code> column: number;</code><br/><code> row: number;</code><br/><code> value: any;</code><br/><code> }&gt;;</code><br/><code> timeFieldName?: string;</code><br/><code> negate?: boolean;</code><br/><code> }</code> | |
| [data](./kibana-plugin-plugins-embeddable-public.valueclickcontext.data.md) | <code>{</code><br/><code> data: Array&lt;{</code><br/><code> table: Pick&lt;Datatable, 'rows' &#124; 'columns'&gt;;</code><br/><code> column: number;</code><br/><code> row: number;</code><br/><code> value: any;</code><br/><code> }&gt;;</code><br/><code> timeFieldName?: string;</code><br/><code> negate?: boolean;</code><br/><code> }</code> | |
| [embeddable](./kibana-plugin-plugins-embeddable-public.valueclickcontext.embeddable.md) | <code>T</code> | |

View file

@ -4,10 +4,10 @@
## DatatableColumnType type
This type represents the `type` of any `DatatableColumn` in a `Datatable`<!-- -->.
This type represents the `type` of any `DatatableColumn` in a `Datatable`<!-- -->. its duplicated from KBN\_FIELD\_TYPES
<b>Signature:</b>
```typescript
export declare type DatatableColumnType = 'string' | 'number' | 'boolean' | 'date' | 'null';
export declare type DatatableColumnType = '_source' | 'attachment' | 'boolean' | 'date' | 'geo_point' | 'geo_shape' | 'ip' | 'murmur3' | 'number' | 'string' | 'unknown' | 'conflict' | 'object' | 'nested' | 'histogram' | 'null';
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatable](./kibana-plugin-plugins-expressions-public.kibanadatatable.md) &gt; [columns](./kibana-plugin-plugins-expressions-public.kibanadatatable.columns.md)
## KibanaDatatable.columns property
<b>Signature:</b>
```typescript
columns: KibanaDatatableColumn[];
```

View file

@ -1,20 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatable](./kibana-plugin-plugins-expressions-public.kibanadatatable.md)
## KibanaDatatable interface
<b>Signature:</b>
```typescript
export interface KibanaDatatable
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [columns](./kibana-plugin-plugins-expressions-public.kibanadatatable.columns.md) | <code>KibanaDatatableColumn[]</code> | |
| [rows](./kibana-plugin-plugins-expressions-public.kibanadatatable.rows.md) | <code>KibanaDatatableRow[]</code> | |
| [type](./kibana-plugin-plugins-expressions-public.kibanadatatable.type.md) | <code>typeof name</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatable](./kibana-plugin-plugins-expressions-public.kibanadatatable.md) &gt; [rows](./kibana-plugin-plugins-expressions-public.kibanadatatable.rows.md)
## KibanaDatatable.rows property
<b>Signature:</b>
```typescript
rows: KibanaDatatableRow[];
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatable](./kibana-plugin-plugins-expressions-public.kibanadatatable.md) &gt; [type](./kibana-plugin-plugins-expressions-public.kibanadatatable.type.md)
## KibanaDatatable.type property
<b>Signature:</b>
```typescript
type: typeof name;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.md) &gt; [formatHint](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.formathint.md)
## KibanaDatatableColumn.formatHint property
<b>Signature:</b>
```typescript
formatHint?: SerializedFieldFormat;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.md) &gt; [id](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.id.md)
## KibanaDatatableColumn.id property
<b>Signature:</b>
```typescript
id: string;
```

View file

@ -1,21 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.md)
## KibanaDatatableColumn interface
<b>Signature:</b>
```typescript
export interface KibanaDatatableColumn
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [formatHint](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.formathint.md) | <code>SerializedFieldFormat</code> | |
| [id](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.id.md) | <code>string</code> | |
| [meta](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.meta.md) | <code>KibanaDatatableColumnMeta</code> | |
| [name](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.name.md) | <code>string</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.md) &gt; [meta](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.meta.md)
## KibanaDatatableColumn.meta property
<b>Signature:</b>
```typescript
meta?: KibanaDatatableColumnMeta;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.md) &gt; [name](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.name.md)
## KibanaDatatableColumn.name property
<b>Signature:</b>
```typescript
name: string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.md) &gt; [aggConfigParams](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.aggconfigparams.md)
## KibanaDatatableColumnMeta.aggConfigParams property
<b>Signature:</b>
```typescript
aggConfigParams?: Record<string, any>;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.md) &gt; [indexPatternId](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.indexpatternid.md)
## KibanaDatatableColumnMeta.indexPatternId property
<b>Signature:</b>
```typescript
indexPatternId?: string;
```

View file

@ -1,20 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.md)
## KibanaDatatableColumnMeta interface
<b>Signature:</b>
```typescript
export interface KibanaDatatableColumnMeta
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [aggConfigParams](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.aggconfigparams.md) | <code>Record&lt;string, any&gt;</code> | |
| [indexPatternId](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.indexpatternid.md) | <code>string</code> | |
| [type](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.type.md) | <code>string</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.md) &gt; [type](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.type.md)
## KibanaDatatableColumnMeta.type property
<b>Signature:</b>
```typescript
type: string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) &gt; [KibanaDatatableRow](./kibana-plugin-plugins-expressions-public.kibanadatatablerow.md)
## KibanaDatatableRow interface
<b>Signature:</b>
```typescript
export interface KibanaDatatableRow
```

View file

@ -72,10 +72,6 @@
| [IExpressionLoaderParams](./kibana-plugin-plugins-expressions-public.iexpressionloaderparams.md) | |
| [IInterpreterRenderHandlers](./kibana-plugin-plugins-expressions-public.iinterpreterrenderhandlers.md) | |
| [IRegistry](./kibana-plugin-plugins-expressions-public.iregistry.md) | |
| [KibanaDatatable](./kibana-plugin-plugins-expressions-public.kibanadatatable.md) | |
| [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumn.md) | |
| [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-public.kibanadatatablecolumnmeta.md) | |
| [KibanaDatatableRow](./kibana-plugin-plugins-expressions-public.kibanadatatablerow.md) | |
| [PointSeriesColumn](./kibana-plugin-plugins-expressions-public.pointseriescolumn.md) | Column in a PointSeries |
| [Range](./kibana-plugin-plugins-expressions-public.range.md) | |
| [ReactExpressionRendererProps](./kibana-plugin-plugins-expressions-public.reactexpressionrendererprops.md) | |
@ -95,7 +91,7 @@
| [AnyExpressionFunctionDefinition](./kibana-plugin-plugins-expressions-public.anyexpressionfunctiondefinition.md) | Type to capture every possible expression function definition. |
| [AnyExpressionTypeDefinition](./kibana-plugin-plugins-expressions-public.anyexpressiontypedefinition.md) | |
| [ArgumentType](./kibana-plugin-plugins-expressions-public.argumenttype.md) | This type represents all of the possible combinations of properties of an Argument in an Expression Function. The presence or absence of certain fields influence the shape and presence of others within each <code>arg</code> in the specification. |
| [DatatableColumnType](./kibana-plugin-plugins-expressions-public.datatablecolumntype.md) | This type represents the <code>type</code> of any <code>DatatableColumn</code> in a <code>Datatable</code>. |
| [DatatableColumnType](./kibana-plugin-plugins-expressions-public.datatablecolumntype.md) | This type represents the <code>type</code> of any <code>DatatableColumn</code> in a <code>Datatable</code>. its duplicated from KBN\_FIELD\_TYPES |
| [DatatableRow](./kibana-plugin-plugins-expressions-public.datatablerow.md) | This type represents a row in a <code>Datatable</code>. |
| [ExecutionContainer](./kibana-plugin-plugins-expressions-public.executioncontainer.md) | |
| [ExecutorContainer](./kibana-plugin-plugins-expressions-public.executorcontainer.md) | |

View file

@ -4,10 +4,10 @@
## DatatableColumnType type
This type represents the `type` of any `DatatableColumn` in a `Datatable`<!-- -->.
This type represents the `type` of any `DatatableColumn` in a `Datatable`<!-- -->. its duplicated from KBN\_FIELD\_TYPES
<b>Signature:</b>
```typescript
export declare type DatatableColumnType = 'string' | 'number' | 'boolean' | 'date' | 'null';
export declare type DatatableColumnType = '_source' | 'attachment' | 'boolean' | 'date' | 'geo_point' | 'geo_shape' | 'ip' | 'murmur3' | 'number' | 'string' | 'unknown' | 'conflict' | 'object' | 'nested' | 'histogram' | 'null';
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatable](./kibana-plugin-plugins-expressions-server.kibanadatatable.md) &gt; [columns](./kibana-plugin-plugins-expressions-server.kibanadatatable.columns.md)
## KibanaDatatable.columns property
<b>Signature:</b>
```typescript
columns: KibanaDatatableColumn[];
```

View file

@ -1,20 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatable](./kibana-plugin-plugins-expressions-server.kibanadatatable.md)
## KibanaDatatable interface
<b>Signature:</b>
```typescript
export interface KibanaDatatable
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [columns](./kibana-plugin-plugins-expressions-server.kibanadatatable.columns.md) | <code>KibanaDatatableColumn[]</code> | |
| [rows](./kibana-plugin-plugins-expressions-server.kibanadatatable.rows.md) | <code>KibanaDatatableRow[]</code> | |
| [type](./kibana-plugin-plugins-expressions-server.kibanadatatable.type.md) | <code>typeof name</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatable](./kibana-plugin-plugins-expressions-server.kibanadatatable.md) &gt; [rows](./kibana-plugin-plugins-expressions-server.kibanadatatable.rows.md)
## KibanaDatatable.rows property
<b>Signature:</b>
```typescript
rows: KibanaDatatableRow[];
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatable](./kibana-plugin-plugins-expressions-server.kibanadatatable.md) &gt; [type](./kibana-plugin-plugins-expressions-server.kibanadatatable.type.md)
## KibanaDatatable.type property
<b>Signature:</b>
```typescript
type: typeof name;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.md) &gt; [formatHint](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.formathint.md)
## KibanaDatatableColumn.formatHint property
<b>Signature:</b>
```typescript
formatHint?: SerializedFieldFormat;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.md) &gt; [id](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.id.md)
## KibanaDatatableColumn.id property
<b>Signature:</b>
```typescript
id: string;
```

View file

@ -1,21 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.md)
## KibanaDatatableColumn interface
<b>Signature:</b>
```typescript
export interface KibanaDatatableColumn
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [formatHint](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.formathint.md) | <code>SerializedFieldFormat</code> | |
| [id](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.id.md) | <code>string</code> | |
| [meta](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.meta.md) | <code>KibanaDatatableColumnMeta</code> | |
| [name](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.name.md) | <code>string</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.md) &gt; [meta](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.meta.md)
## KibanaDatatableColumn.meta property
<b>Signature:</b>
```typescript
meta?: KibanaDatatableColumnMeta;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.md) &gt; [name](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.name.md)
## KibanaDatatableColumn.name property
<b>Signature:</b>
```typescript
name: string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.md) &gt; [aggConfigParams](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.aggconfigparams.md)
## KibanaDatatableColumnMeta.aggConfigParams property
<b>Signature:</b>
```typescript
aggConfigParams?: Record<string, any>;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.md) &gt; [indexPatternId](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.indexpatternid.md)
## KibanaDatatableColumnMeta.indexPatternId property
<b>Signature:</b>
```typescript
indexPatternId?: string;
```

View file

@ -1,20 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.md)
## KibanaDatatableColumnMeta interface
<b>Signature:</b>
```typescript
export interface KibanaDatatableColumnMeta
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [aggConfigParams](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.aggconfigparams.md) | <code>Record&lt;string, any&gt;</code> | |
| [indexPatternId](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.indexpatternid.md) | <code>string</code> | |
| [type](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.type.md) | <code>string</code> | |

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.md) &gt; [type](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.type.md)
## KibanaDatatableColumnMeta.type property
<b>Signature:</b>
```typescript
type: string;
```

View file

@ -1,11 +0,0 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [kibana-plugin-plugins-expressions-server](./kibana-plugin-plugins-expressions-server.md) &gt; [KibanaDatatableRow](./kibana-plugin-plugins-expressions-server.kibanadatatablerow.md)
## KibanaDatatableRow interface
<b>Signature:</b>
```typescript
export interface KibanaDatatableRow
```

View file

@ -63,10 +63,6 @@
| [Font](./kibana-plugin-plugins-expressions-server.font.md) | An interface representing a font in Canvas, with a textual label and the CSS <code>font-value</code>. |
| [IInterpreterRenderHandlers](./kibana-plugin-plugins-expressions-server.iinterpreterrenderhandlers.md) | |
| [IRegistry](./kibana-plugin-plugins-expressions-server.iregistry.md) | |
| [KibanaDatatable](./kibana-plugin-plugins-expressions-server.kibanadatatable.md) | |
| [KibanaDatatableColumn](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumn.md) | |
| [KibanaDatatableColumnMeta](./kibana-plugin-plugins-expressions-server.kibanadatatablecolumnmeta.md) | |
| [KibanaDatatableRow](./kibana-plugin-plugins-expressions-server.kibanadatatablerow.md) | |
| [PointSeriesColumn](./kibana-plugin-plugins-expressions-server.pointseriescolumn.md) | Column in a PointSeries |
| [Range](./kibana-plugin-plugins-expressions-server.range.md) | |
| [SerializedDatatable](./kibana-plugin-plugins-expressions-server.serializeddatatable.md) | |
@ -79,7 +75,7 @@
| [AnyExpressionFunctionDefinition](./kibana-plugin-plugins-expressions-server.anyexpressionfunctiondefinition.md) | Type to capture every possible expression function definition. |
| [AnyExpressionTypeDefinition](./kibana-plugin-plugins-expressions-server.anyexpressiontypedefinition.md) | |
| [ArgumentType](./kibana-plugin-plugins-expressions-server.argumenttype.md) | This type represents all of the possible combinations of properties of an Argument in an Expression Function. The presence or absence of certain fields influence the shape and presence of others within each <code>arg</code> in the specification. |
| [DatatableColumnType](./kibana-plugin-plugins-expressions-server.datatablecolumntype.md) | This type represents the <code>type</code> of any <code>DatatableColumn</code> in a <code>Datatable</code>. |
| [DatatableColumnType](./kibana-plugin-plugins-expressions-server.datatablecolumntype.md) | This type represents the <code>type</code> of any <code>DatatableColumn</code> in a <code>Datatable</code>. its duplicated from KBN\_FIELD\_TYPES |
| [DatatableRow](./kibana-plugin-plugins-expressions-server.datatablerow.md) | This type represents a row in a <code>Datatable</code>. |
| [ExecutionContainer](./kibana-plugin-plugins-expressions-server.executioncontainer.md) | |
| [ExecutorContainer](./kibana-plugin-plugins-expressions-server.executorcontainer.md) | |

View file

@ -19,12 +19,12 @@
import {
KibanaContext,
KibanaDatatable,
Datatable,
ExpressionFunctionDefinition,
} from '../../../../../plugins/expressions/common';
type Input = KibanaContext | null;
type Output = Promise<KibanaDatatable>;
type Output = Promise<Datatable>;
interface Arguments {
index: string;

View file

@ -21,7 +21,12 @@ import moment from 'moment';
import { createFiltersFromRangeSelectAction } from './create_filters_from_range_select';
import { IndexPatternsContract, RangeFilter } from '../../../public';
import {
fieldFormats,
FieldFormatsGetConfigFn,
IndexPatternsContract,
RangeFilter,
} from '../../../public';
import { dataPluginMock } from '../../../public/mocks';
import { setIndexPatterns, setSearchService } from '../../../public/services';
import { TriggerContextMapping } from '../../../../ui_actions/public';
@ -31,23 +36,30 @@ describe('brushEvent', () => {
const JAN_01_2014 = 1388559600000;
let baseEvent: TriggerContextMapping['SELECT_RANGE_TRIGGER']['data'];
const mockField = {
name: 'time',
indexPattern: {
id: 'logstash-*',
},
filterable: true,
format: new fieldFormats.DateFormat({}, (() => {}) as FieldFormatsGetConfigFn),
};
const indexPattern = {
id: 'indexPatternId',
timeFieldName: 'time',
fields: {
getByName: () => undefined,
filter: () => [],
getByName: () => mockField,
filter: () => [mockField],
},
};
const aggConfigs = [
{
params: {
field: {},
},
getIndexPattern: () => indexPattern,
const serializedAggConfig = {
type: 'date_histogram',
params: {
field: {},
},
];
};
beforeEach(() => {
const dataStart = dataPluginMock.createStartContract();
@ -60,15 +72,18 @@ describe('brushEvent', () => {
baseEvent = {
column: 0,
table: {
type: 'kibana_datatable',
type: 'datatable',
columns: [
{
id: '1',
name: '1',
meta: {
type: 'histogram',
indexPatternId: 'indexPatternId',
aggConfigParams: aggConfigs[0].params,
type: 'date',
sourceParams: {
indexPatternId: 'indexPatternId',
...serializedAggConfig,
},
source: 'esaggs',
},
},
],
@ -90,7 +105,7 @@ describe('brushEvent', () => {
describe('handles an event when the x-axis field is a date field', () => {
describe('date field is index pattern timefield', () => {
beforeEach(() => {
aggConfigs[0].params.field = {
serializedAggConfig.params.field = {
name: 'time',
type: 'date',
};
@ -98,7 +113,7 @@ describe('brushEvent', () => {
afterAll(() => {
baseEvent.range = [];
aggConfigs[0].params.field = {};
serializedAggConfig.params.field = {};
});
test('by ignoring the event when range spans zero time', async () => {
@ -123,7 +138,7 @@ describe('brushEvent', () => {
describe('date field is not index pattern timefield', () => {
beforeEach(() => {
aggConfigs[0].params.field = {
serializedAggConfig.params.field = {
name: 'anotherTimeField',
type: 'date',
};
@ -131,7 +146,7 @@ describe('brushEvent', () => {
afterAll(() => {
baseEvent.range = [];
aggConfigs[0].params.field = {};
serializedAggConfig.params.field = {};
});
test('creates a new range filter', async () => {
@ -157,7 +172,7 @@ describe('brushEvent', () => {
describe('handles an event when the x-axis field is a number', () => {
beforeAll(() => {
aggConfigs[0].params.field = {
serializedAggConfig.params.field = {
name: 'numberField',
type: 'number',
};

View file

@ -20,9 +20,9 @@
import { last } from 'lodash';
import moment from 'moment';
import { esFilters, IFieldType, RangeFilterParams } from '../../../public';
import { getIndexPatterns } from '../../../public/services';
import { deserializeAggConfig } from '../../search/expressions/utils';
import type { RangeSelectContext } from '../../../../embeddable/public';
import { getIndexPatterns, getSearchService } from '../../../public/services';
import { RangeSelectContext } from '../../../../embeddable/public';
import { AggConfigSerialized } from '../../../common/search/aggs';
export async function createFiltersFromRangeSelectAction(event: RangeSelectContext['data']) {
const column: Record<string, any> = event.table.columns[event.column];
@ -31,11 +31,12 @@ export async function createFiltersFromRangeSelectAction(event: RangeSelectConte
return [];
}
const indexPattern = await getIndexPatterns().get(column.meta.indexPatternId);
const aggConfig = deserializeAggConfig({
...column.meta,
indexPattern,
});
const { indexPatternId, ...aggConfigs } = column.meta.sourceParams;
const indexPattern = await getIndexPatterns().get(indexPatternId);
const aggConfigsInstance = getSearchService().aggs.createAggConfigs(indexPattern, [
aggConfigs as AggConfigSerialized,
]);
const aggConfig = aggConfigsInstance.aggs[0];
const field: IFieldType = aggConfig.params.field;
if (!field || event.range.length <= 1) {

View file

@ -45,12 +45,16 @@ describe('createFiltersFromValueClick', () => {
name: 'test',
id: '1-1',
meta: {
type: 'histogram',
indexPatternId: 'logstash-*',
aggConfigParams: {
field: 'bytes',
interval: 30,
otherBucket: true,
type: 'date',
source: 'esaggs',
sourceParams: {
indexPatternId: 'logstash-*',
type: 'histogram',
params: {
field: 'bytes',
interval: 30,
otherBucket: true,
},
},
},
},
@ -91,9 +95,7 @@ describe('createFiltersFromValueClick', () => {
});
test('handles an event when aggregations type is a terms', async () => {
if (dataPoints[0].table.columns[0].meta) {
dataPoints[0].table.columns[0].meta.type = 'terms';
}
(dataPoints[0].table.columns[0].meta.sourceParams as any).type = 'terms';
const filters = await createFiltersFromValueClickAction({ data: dataPoints });
expect(filters.length).toEqual(1);

View file

@ -17,11 +17,11 @@
* under the License.
*/
import { KibanaDatatable } from '../../../../../plugins/expressions/public';
import { deserializeAggConfig } from '../../search/expressions';
import { Datatable } from '../../../../../plugins/expressions/public';
import { esFilters, Filter } from '../../../public';
import { getIndexPatterns } from '../../../public/services';
import type { ValueClickContext } from '../../../../embeddable/public';
import { getIndexPatterns, getSearchService } from '../../../public/services';
import { ValueClickContext } from '../../../../embeddable/public';
import { AggConfigSerialized } from '../../../common/search/aggs';
/**
* For terms aggregations on `__other__` buckets, this assembles a list of applicable filter
@ -33,7 +33,7 @@ import type { ValueClickContext } from '../../../../embeddable/public';
* @return {array} - array of terms to filter against
*/
const getOtherBucketFilterTerms = (
table: Pick<KibanaDatatable, 'rows' | 'columns'>,
table: Pick<Datatable, 'rows' | 'columns'>,
columnIndex: number,
rowIndex: number
) => {
@ -71,22 +71,28 @@ const getOtherBucketFilterTerms = (
* @return {Filter[]|undefined} - list of filters to provide to queryFilter.addFilters()
*/
const createFilter = async (
table: Pick<KibanaDatatable, 'rows' | 'columns'>,
table: Pick<Datatable, 'rows' | 'columns'>,
columnIndex: number,
rowIndex: number
) => {
if (!table || !table.columns || !table.columns[columnIndex]) {
if (
!table ||
!table.columns ||
!table.columns[columnIndex] ||
!table.columns[columnIndex].meta ||
table.columns[columnIndex].meta.source !== 'esaggs' ||
!table.columns[columnIndex].meta.sourceParams?.indexPatternId
) {
return;
}
const column = table.columns[columnIndex];
if (!column.meta || !column.meta.indexPatternId) {
return;
}
const aggConfig = deserializeAggConfig({
type: column.meta.type,
aggConfigParams: column.meta.aggConfigParams ? column.meta.aggConfigParams : {},
indexPattern: await getIndexPatterns().get(column.meta.indexPatternId),
});
const { indexPatternId, ...aggConfigParams } = table.columns[columnIndex].meta
.sourceParams as any;
const aggConfigsInstance = getSearchService().aggs.createAggConfigs(
await getIndexPatterns().get(indexPatternId),
[aggConfigParams as AggConfigSerialized]
);
const aggConfig = aggConfigsInstance.aggs[0];
let filter: Filter[] = [];
const value: any = rowIndex > -1 ? table.rows[rowIndex][column.id] : null;
if (value === null || value === undefined || !aggConfig.isFilterable()) {

View file

@ -19,7 +19,7 @@
import { get, hasIn } from 'lodash';
import { i18n } from '@kbn/i18n';
import { KibanaDatatable, KibanaDatatableColumn } from 'src/plugins/expressions/public';
import { Datatable, DatatableColumn } from 'src/plugins/expressions/public';
import { PersistedState } from '../../../../../plugins/visualizations/public';
import { Adapters } from '../../../../../plugins/inspector/public';
@ -49,7 +49,6 @@ import {
getSearchService,
} from '../../services';
import { buildTabularInspectorData } from './build_tabular_inspector_data';
import { serializeAggConfig } from './utils';
export interface RequestHandlerParams {
searchSource: ISearchSource;
@ -193,11 +192,9 @@ const handleCourierRequest = async ({
: undefined,
};
(searchSource as any).tabifiedResponse = tabifyAggResponse(
aggs,
(searchSource as any).finalResponse,
tabifyParams
);
const response = tabifyAggResponse(aggs, (searchSource as any).finalResponse, tabifyParams);
(searchSource as any).tabifiedResponse = response;
inspectorAdapters.data.setTabularLoader(
() =>
@ -208,12 +205,12 @@ const handleCourierRequest = async ({
{ returnsFormattedValues: true }
);
return (searchSource as any).tabifiedResponse;
return response;
};
export const esaggs = (): EsaggsExpressionFunctionDefinition => ({
name,
type: 'kibana_datatable',
type: 'datatable',
inputTypes: ['kibana_context', 'null'],
help: i18n.translate('data.functions.esaggs.help', {
defaultMessage: 'Run AggConfig aggregation',
@ -279,18 +276,25 @@ export const esaggs = (): EsaggsExpressionFunctionDefinition => ({
abortSignal: (abortSignal as unknown) as AbortSignal,
});
const table: KibanaDatatable = {
type: 'kibana_datatable',
const table: Datatable = {
type: 'datatable',
rows: response.rows,
columns: response.columns.map((column: any) => {
const cleanedColumn: KibanaDatatableColumn = {
columns: response.columns.map((column) => {
const cleanedColumn: DatatableColumn = {
id: column.id,
name: column.name,
meta: serializeAggConfig(column.aggConfig),
meta: {
type: column.aggConfig.params.field?.type || 'number',
field: column.aggConfig.params.field?.name,
index: indexPattern.title,
params: column.aggConfig.toSerializedFieldFormat(),
source: 'esaggs',
sourceParams: {
indexPatternId: indexPattern.id,
...column.aggConfig.serialize(),
},
},
};
if (args.includeFormatHints) {
cleanedColumn.formatHint = column.aggConfig.toSerializedFieldFormat();
}
return cleanedColumn;
}),
};

View file

@ -20,4 +20,3 @@
export * from './esaggs';
export * from './es_raw_response';
export * from './esdsl';
export * from './utils';

View file

@ -1,20 +0,0 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
export * from './serialize_agg_config';

View file

@ -1,54 +0,0 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import { KibanaDatatableColumnMeta } from '../../../../../../plugins/expressions/public';
import { IAggConfig } from '../../../../common';
import { IndexPattern } from '../../../index_patterns';
import { getSearchService } from '../../../../public/services';
/** @internal */
export const serializeAggConfig = (aggConfig: IAggConfig): KibanaDatatableColumnMeta => {
return {
type: aggConfig.type.name,
indexPatternId: aggConfig.getIndexPattern().id,
aggConfigParams: aggConfig.serialize().params,
};
};
interface DeserializeAggConfigParams {
type: string;
aggConfigParams: Record<string, any>;
indexPattern: IndexPattern;
}
/** @internal */
export const deserializeAggConfig = ({
type,
aggConfigParams,
indexPattern,
}: DeserializeAggConfigParams) => {
const { aggs } = getSearchService();
const aggConfigs = aggs.createAggConfigs(indexPattern);
const aggConfig = aggConfigs.createAggConfig({
enabled: true,
type,
params: aggConfigParams,
});
return aggConfig;
};

View file

@ -17,7 +17,7 @@
* under the License.
*/
import { KibanaDatatable } from '../../../../expressions';
import { Datatable } from '../../../../expressions';
import { Trigger } from '../../../../ui_actions/public';
import { IEmbeddable } from '..';
@ -29,7 +29,7 @@ export interface ValueClickContext<T extends IEmbeddable = IEmbeddable> {
embeddable?: T;
data: {
data: Array<{
table: Pick<KibanaDatatable, 'rows' | 'columns'>;
table: Pick<Datatable, 'rows' | 'columns'>;
column: number;
row: number;
value: any;
@ -42,7 +42,7 @@ export interface ValueClickContext<T extends IEmbeddable = IEmbeddable> {
export interface RangeSelectContext<T extends IEmbeddable = IEmbeddable> {
embeddable?: T;
data: {
table: KibanaDatatable;
table: Datatable;
column: number;
range: number[];
timeFieldName?: string;

View file

@ -326,7 +326,7 @@ export abstract class Embeddable<TEmbeddableInput extends EmbeddableInput = Embe
// Warning: (ae-missing-release-tag) "EmbeddableChildPanel" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export class EmbeddableChildPanel extends React.Component<EmbeddableChildPanelProps, State_2> {
export class EmbeddableChildPanel extends React.Component<EmbeddableChildPanelProps, State_3> {
constructor(props: EmbeddableChildPanelProps);
// (undocumented)
[panel: string]: any;
@ -477,7 +477,7 @@ export interface EmbeddablePackageState {
// Warning: (ae-missing-release-tag) "EmbeddablePanel" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class EmbeddablePanel extends React.Component<Props, State_3> {
export class EmbeddablePanel extends React.Component<Props, State_4> {
constructor(props: Props);
// (undocumented)
closeMyContextMenuPanel: () => void;
@ -810,7 +810,7 @@ export interface PropertySpec {
export interface RangeSelectContext<T extends IEmbeddable = IEmbeddable> {
// (undocumented)
data: {
table: KibanaDatatable;
table: Datatable;
column: number;
range: number[];
timeFieldName?: string;
@ -841,7 +841,7 @@ export interface ValueClickContext<T extends IEmbeddable = IEmbeddable> {
// (undocumented)
data: {
data: Array<{
table: Pick<KibanaDatatable, 'rows' | 'columns'>;
table: Pick<Datatable, 'rows' | 'columns'>;
column: number;
row: number;
value: any;
@ -881,7 +881,7 @@ export const withEmbeddableSubscription: <I extends EmbeddableInput, O extends E
// src/plugins/embeddable/common/types.ts:59:3 - (ae-forgotten-export) The symbol "TimeRange" needs to be exported by the entry point index.d.ts
// src/plugins/embeddable/common/types.ts:64:3 - (ae-forgotten-export) The symbol "Query" needs to be exported by the entry point index.d.ts
// src/plugins/embeddable/common/types.ts:69:3 - (ae-forgotten-export) The symbol "Filter" needs to be exported by the entry point index.d.ts
// src/plugins/embeddable/public/lib/triggers/triggers.ts:45:5 - (ae-forgotten-export) The symbol "KibanaDatatable" needs to be exported by the entry point index.d.ts
// src/plugins/embeddable/public/lib/triggers/triggers.ts:45:5 - (ae-forgotten-export) The symbol "Datatable" needs to be exported by the entry point index.d.ts
// (No @packageDocumentation comment for this package)

View file

@ -22,6 +22,7 @@ import { map, pick, zipObject } from 'lodash';
import { ExpressionTypeDefinition } from '../types';
import { PointSeries, PointSeriesColumn } from './pointseries';
import { ExpressionValueRender } from './render';
import { SerializedFieldFormat } from '../../types';
type State = string | number | boolean | null | undefined | SerializableState;
@ -41,22 +42,58 @@ export const isDatatable = (datatable: unknown): datatable is Datatable =>
/**
* This type represents the `type` of any `DatatableColumn` in a `Datatable`.
* its duplicated from KBN_FIELD_TYPES
*/
export type DatatableColumnType = 'string' | 'number' | 'boolean' | 'date' | 'null';
export type DatatableColumnType =
| '_source'
| 'attachment'
| 'boolean'
| 'date'
| 'geo_point'
| 'geo_shape'
| 'ip'
| 'murmur3'
| 'number'
| 'string'
| 'unknown'
| 'conflict'
| 'object'
| 'nested'
| 'histogram'
| 'null';
/**
* This type represents a row in a `Datatable`.
*/
export type DatatableRow = Record<string, any>;
/**
* Datatable column meta information
*/
export interface DatatableColumnMeta {
type: DatatableColumnType;
/**
* field this column is based on
*/
field?: string;
/**
* index/table this column is based on
*/
index?: string;
params?: SerializableState;
/**
* serialized field format
*/
params?: SerializedFieldFormat;
/**
* source function that produced this column
*/
source?: string;
/**
* any extra parameters for the source that produced this column
*/
sourceParams?: SerializableState;
}
/**
* This type represents the shape of a column in a `Datatable`.
*/

View file

@ -23,7 +23,6 @@ import { error } from './error';
import { filter } from './filter';
import { image } from './image';
import { kibanaContext } from './kibana_context';
import { kibanaDatatable } from './kibana_datatable';
import { nullType } from './null';
import { num } from './num';
import { number } from './number';
@ -42,7 +41,6 @@ export const typeSpecs: AnyExpressionTypeDefinition[] = [
filter,
image,
kibanaContext,
kibanaDatatable,
nullType,
num,
number,
@ -60,7 +58,6 @@ export * from './error';
export * from './filter';
export * from './image';
export * from './kibana_context';
export * from './kibana_datatable';
export * from './null';
export * from './num';
export * from './number';

View file

@ -1,75 +0,0 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import { map } from 'lodash';
import { SerializedFieldFormat } from '../../types/common';
import { Datatable, PointSeries, PointSeriesColumn } from '.';
const name = 'kibana_datatable';
export interface KibanaDatatableColumnMeta {
type: string;
indexPatternId?: string;
aggConfigParams?: Record<string, any>;
}
export interface KibanaDatatableColumn {
id: string;
name: string;
meta?: KibanaDatatableColumnMeta;
formatHint?: SerializedFieldFormat;
}
export interface KibanaDatatableRow {
[key: string]: unknown;
}
export interface KibanaDatatable {
type: typeof name;
columns: KibanaDatatableColumn[];
rows: KibanaDatatableRow[];
}
export const kibanaDatatable = {
name,
from: {
datatable: (context: Datatable) => {
return {
type: name,
rows: context.rows,
columns: context.columns.map((column) => {
return {
id: column.name,
name: column.name,
};
}),
};
},
pointseries: (context: PointSeries) => {
const columns = map(context.columns, (column: PointSeriesColumn, n) => {
return { id: n, name: n, ...column };
});
return {
type: name,
rows: context.rows,
columns,
};
},
},
};

View file

@ -98,10 +98,6 @@ export {
isExpressionAstBuilder,
KIBANA_CONTEXT_NAME,
KibanaContext,
KibanaDatatable,
KibanaDatatableColumn,
KibanaDatatableColumnMeta,
KibanaDatatableRow,
KnownTypeToString,
Overflow,
parse,

View file

@ -82,7 +82,7 @@ export interface DatatableColumn {
// Warning: (ae-missing-release-tag) "DatatableColumnType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export type DatatableColumnType = 'string' | 'number' | 'boolean' | 'date' | 'null';
export type DatatableColumnType = '_source' | 'attachment' | 'boolean' | 'date' | 'geo_point' | 'geo_shape' | 'ip' | 'murmur3' | 'number' | 'string' | 'unknown' | 'conflict' | 'object' | 'nested' | 'histogram' | 'null';
// Warning: (ae-missing-release-tag) "DatatableRow" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
@ -942,54 +942,6 @@ export type KIBANA_CONTEXT_NAME = 'kibana_context';
// @public (undocumented)
export type KibanaContext = ExpressionValueSearchContext;
// Warning: (ae-missing-release-tag) "KibanaDatatable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface KibanaDatatable {
// (undocumented)
columns: KibanaDatatableColumn[];
// (undocumented)
rows: KibanaDatatableRow[];
// Warning: (ae-forgotten-export) The symbol "name" needs to be exported by the entry point index.d.ts
//
// (undocumented)
type: typeof name_3;
}
// Warning: (ae-missing-release-tag) "KibanaDatatableColumn" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface KibanaDatatableColumn {
// (undocumented)
formatHint?: SerializedFieldFormat;
// (undocumented)
id: string;
// (undocumented)
meta?: KibanaDatatableColumnMeta;
// (undocumented)
name: string;
}
// Warning: (ae-missing-release-tag) "KibanaDatatableColumnMeta" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface KibanaDatatableColumnMeta {
// (undocumented)
aggConfigParams?: Record<string, any>;
// (undocumented)
indexPatternId?: string;
// (undocumented)
type: string;
}
// Warning: (ae-missing-release-tag) "KibanaDatatableRow" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface KibanaDatatableRow {
// (undocumented)
[key: string]: unknown;
}
// Warning: (ae-missing-release-tag) "KnownTypeToString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
@ -1073,7 +1025,7 @@ export interface Range {
// Warning: (ae-forgotten-export) The symbol "name" needs to be exported by the entry point index.d.ts
//
// (undocumented)
type: typeof name_4;
type: typeof name_3;
}
// Warning: (ae-missing-release-tag) "ReactExpressionRenderer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)

View file

@ -89,10 +89,6 @@ export {
isExpressionAstBuilder,
KIBANA_CONTEXT_NAME,
KibanaContext,
KibanaDatatable,
KibanaDatatableColumn,
KibanaDatatableColumnMeta,
KibanaDatatableRow,
KnownTypeToString,
Overflow,
parse,

View file

@ -79,7 +79,7 @@ export interface DatatableColumn {
// Warning: (ae-missing-release-tag) "DatatableColumnType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export type DatatableColumnType = 'string' | 'number' | 'boolean' | 'date' | 'null';
export type DatatableColumnType = '_source' | 'attachment' | 'boolean' | 'date' | 'geo_point' | 'geo_shape' | 'ip' | 'murmur3' | 'number' | 'string' | 'unknown' | 'conflict' | 'object' | 'nested' | 'histogram' | 'null';
// Warning: (ae-missing-release-tag) "DatatableRow" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
@ -768,54 +768,6 @@ export type KIBANA_CONTEXT_NAME = 'kibana_context';
// @public (undocumented)
export type KibanaContext = ExpressionValueSearchContext;
// Warning: (ae-missing-release-tag) "KibanaDatatable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface KibanaDatatable {
// (undocumented)
columns: KibanaDatatableColumn[];
// (undocumented)
rows: KibanaDatatableRow[];
// Warning: (ae-forgotten-export) The symbol "name" needs to be exported by the entry point index.d.ts
//
// (undocumented)
type: typeof name_3;
}
// Warning: (ae-missing-release-tag) "KibanaDatatableColumn" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface KibanaDatatableColumn {
// (undocumented)
formatHint?: SerializedFieldFormat;
// (undocumented)
id: string;
// (undocumented)
meta?: KibanaDatatableColumnMeta;
// (undocumented)
name: string;
}
// Warning: (ae-missing-release-tag) "KibanaDatatableColumnMeta" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface KibanaDatatableColumnMeta {
// (undocumented)
aggConfigParams?: Record<string, any>;
// (undocumented)
indexPatternId?: string;
// (undocumented)
type: string;
}
// Warning: (ae-missing-release-tag) "KibanaDatatableRow" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface KibanaDatatableRow {
// (undocumented)
[key: string]: unknown;
}
// Warning: (ae-missing-release-tag) "KnownTypeToString" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
@ -898,7 +850,7 @@ export interface Range {
// Warning: (ae-forgotten-export) The symbol "name" needs to be exported by the entry point index.d.ts
//
// (undocumented)
type: typeof name_4;
type: typeof name_3;
}
// Warning: (ae-missing-release-tag) "SerializedDatatable" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)

View file

@ -19,7 +19,7 @@
import { i18n } from '@kbn/i18n';
import { ExpressionFunctionDefinition, KibanaDatatable, Render } from '../../expressions/public';
import { ExpressionFunctionDefinition, Datatable, Render } from '../../expressions/public';
interface Arguments {
visConfig: string;
@ -34,7 +34,7 @@ interface RenderValue {
export const createInputControlVisFn = (): ExpressionFunctionDefinition<
'input_control_vis',
KibanaDatatable,
Datatable,
Arguments,
Render<RenderValue>
> => ({

View file

@ -50,7 +50,7 @@ Object {
"col-0-1": 0,
},
],
"type": "kibana_datatable",
"type": "datatable",
},
"visType": "region_map",
},

View file

@ -23,7 +23,7 @@ export const createRegionMapFn = () => ({
name: 'regionmap',
type: 'render',
context: {
types: ['kibana_datatable'],
types: ['datatable'],
},
help: i18n.translate('regionMap.function.help', {
defaultMessage: 'Regionmap visualization',

View file

@ -24,7 +24,7 @@ import { createRegionMapFn } from './region_map_fn';
describe('interpreter/functions#regionmap', () => {
const fn = functionWrapper(createRegionMapFn());
const context = {
type: 'kibana_datatable',
type: 'datatable',
rows: [{ 'col-0-1': 0 }],
columns: [{ id: 'col-0-1', name: 'Count' }],
};

View file

@ -23,7 +23,7 @@ export const createTileMapFn = () => ({
name: 'tilemap',
type: 'render',
context: {
types: ['kibana_datatable'],
types: ['datatable'],
},
help: i18n.translate('tileMap.function.help', {
defaultMessage: 'Tilemap visualization',

View file

@ -73,19 +73,19 @@ export const createTileMapVisualization = (dependencies) => {
};
const bounds = this._kibanaMap.getBounds();
const mapCollar = scaleBounds(bounds);
if (!geoContains(geohashAgg.aggConfigParams.boundingBox, mapCollar)) {
if (!geoContains(geohashAgg.sourceParams.params.boundingBox, mapCollar)) {
updateVarsObject.data.boundingBox = {
top_left: mapCollar.top_left,
bottom_right: mapCollar.bottom_right,
};
} else {
updateVarsObject.data.boundingBox = geohashAgg.aggConfigParams.boundingBox;
updateVarsObject.data.boundingBox = geohashAgg.sourceParams.params.boundingBox;
}
// todo: autoPrecision should be vis parameter, not aggConfig one
const zoomPrecision = getZoomPrecision();
updateVarsObject.data.precision = geohashAgg.aggConfigParams.autoPrecision
updateVarsObject.data.precision = geohashAgg.sourceParams.params.autoPrecision
? zoomPrecision[this.vis.getUiState().get('mapZoom')]
: getPrecision(geohashAgg.aggConfigParams.precision);
: getPrecision(geohashAgg.sourceParams.params.precision);
this.vis.eventsSubject.next(updateVarsObject);
};
@ -118,8 +118,8 @@ export const createTileMapVisualization = (dependencies) => {
return;
}
const isAutoPrecision =
typeof geohashAgg.aggConfigParams.autoPrecision === 'boolean'
? geohashAgg.aggConfigParams.autoPrecision
typeof geohashAgg.sourceParams.params.autoPrecision === 'boolean'
? geohashAgg.sourceParams.params.autoPrecision
: true;
if (!isAutoPrecision) {
return;
@ -243,7 +243,7 @@ export const createTileMapVisualization = (dependencies) => {
}
const indexPatternName = agg.indexPatternId;
const field = agg.aggConfigParams.field;
const field = agg.field;
const filter = { meta: { negate: false, index: indexPatternName } };
filter[filterName] = { ignore_unmapped: true };
filter[filterName][field] = filterData;
@ -264,7 +264,7 @@ export const createTileMapVisualization = (dependencies) => {
const DEFAULT = false;
const agg = this._getGeoHashAgg();
if (agg) {
return get(agg, 'aggConfigParams.isFilteredByCollar', DEFAULT);
return get(agg, 'sourceParams.params.isFilteredByCollar', DEFAULT);
} else {
return DEFAULT;
}

View file

@ -41,7 +41,7 @@ import { convertToGeoJson } from '../../maps_legacy/public';
describe('interpreter/functions#tilemap', () => {
const fn = functionWrapper(createTileMapFn());
const context = {
type: 'kibana_datatable',
type: 'datatable',
rows: [{ 'col-0-1': 0 }],
columns: [{ id: 'col-0-1', name: 'Count' }],
};

View file

@ -36,7 +36,7 @@ export const markdownVisRenderer: ExpressionRenderDefinition<MarkdownVisRenderVa
});
render(
<VisualizationContainer className="markdownVis">
<VisualizationContainer className="markdownVis" handlers={handlers}>
<MarkdownVisComponent {...visParams} renderComplete={handlers.done} />
</VisualizationContainer>,
domNode

View file

@ -43,7 +43,7 @@ Object {
"col-0-1": 0,
},
],
"type": "kibana_datatable",
"type": "datatable",
},
"visType": "metric",
},

View file

@ -23,7 +23,7 @@ import { isColorDark } from '@elastic/eui';
import { MetricVisValue } from './metric_vis_value';
import { Input } from '../metric_vis_fn';
import { FieldFormatsContentType, IFieldFormat } from '../../../data/public';
import { KibanaDatatable } from '../../../expressions/public';
import { Datatable } from '../../../expressions/public';
import { getHeatmapColors } from '../../../charts/public';
import { VisParams, MetricVisMetric } from '../types';
import { getFormatService } from '../services';
@ -109,7 +109,7 @@ class MetricVisComponent extends Component<MetricVisComponentProps> {
return fieldFormatter.convert(value, format);
};
private processTableGroups(table: KibanaDatatable) {
private processTableGroups(table: Datatable) {
const config = this.props.visParams.metric;
const dimensions = this.props.visParams.dimensions;
const isPercentageMode = config.percentageMode;

View file

@ -23,7 +23,7 @@ import { functionWrapper } from '../../expressions/common/expression_functions/s
describe('interpreter/functions#metric', () => {
const fn = functionWrapper(createMetricVisFn());
const context = {
type: 'kibana_datatable',
type: 'datatable',
rows: [{ 'col-0-1': 0 }],
columns: [{ id: 'col-0-1', name: 'Count' }],
};

View file

@ -21,7 +21,7 @@ import { i18n } from '@kbn/i18n';
import {
ExpressionFunctionDefinition,
KibanaDatatable,
Datatable,
Range,
Render,
Style,
@ -29,7 +29,7 @@ import {
import { visType, DimensionsVisParam, VisParams } from './types';
import { ColorSchemas, vislibColorMaps, ColorModes } from '../../charts/public';
export type Input = KibanaDatatable;
export type Input = Datatable;
interface Arguments {
percentageMode: boolean;
@ -63,7 +63,7 @@ export type MetricVisExpressionFunctionDefinition = ExpressionFunctionDefinition
export const createMetricVisFn = (): MetricVisExpressionFunctionDefinition => ({
name: 'metricVis',
type: 'render',
inputTypes: ['kibana_datatable'],
inputTypes: ['datatable'],
help: i18n.translate('visTypeMetric.function.help', {
defaultMessage: 'Metric visualization',
}),

View file

@ -36,7 +36,11 @@ export const metricVisRenderer: () => ExpressionRenderDefinition<MetricVisRender
});
render(
<VisualizationContainer className="mtrVis" showNoResult={!visData.rows?.length}>
<VisualizationContainer
className="mtrVis"
showNoResult={!visData.rows?.length}
handlers={handlers}
>
<MetricVisComponent
visData={visData}
visParams={visConfig}

View file

@ -31,7 +31,7 @@ jest.mock('./table_vis_response_handler', () => ({
describe('interpreter/functions#table', () => {
const fn = functionWrapper(createTableVisFn());
const context = {
type: 'kibana_datatable',
type: 'datatable',
rows: [{ 'col-0-1': 0 }],
columns: [{ id: 'col-0-1', name: 'Count' }],
};

View file

@ -19,10 +19,10 @@
import { i18n } from '@kbn/i18n';
import { tableVisResponseHandler, TableContext } from './table_vis_response_handler';
import { ExpressionFunctionDefinition, KibanaDatatable, Render } from '../../expressions/public';
import { ExpressionFunctionDefinition, Datatable, Render } from '../../expressions/public';
import { TableVisConfig } from './types';
export type Input = KibanaDatatable;
export type Input = Datatable;
interface Arguments {
visConfig: string | null;
@ -44,7 +44,7 @@ export type TableExpressionFunctionDefinition = ExpressionFunctionDefinition<
export const createTableVisFn = (): TableExpressionFunctionDefinition => ({
name: 'kibana_table',
type: 'render',
inputTypes: ['kibana_datatable'],
inputTypes: ['datatable'],
help: i18n.translate('visTypeTable.function.help', {
defaultMessage: 'Table visualization',
}),

View file

@ -17,7 +17,7 @@ Object {
"col-0-1": 0,
},
],
"type": "kibana_datatable",
"type": "datatable",
},
"visParams": Object {
"maxFontSize": 72,

View file

@ -24,7 +24,7 @@ import { functionWrapper } from '../../expressions/common/expression_functions/s
describe('interpreter/functions#tagcloud', () => {
const fn = functionWrapper(createTagCloudFn());
const context = {
type: 'kibana_datatable',
type: 'datatable',
rows: [{ 'col-0-1': 0 }],
columns: [{ id: 'col-0-1', name: 'Count' }],
};

View file

@ -19,7 +19,7 @@
import { i18n } from '@kbn/i18n';
import { ExpressionFunctionDefinition, KibanaDatatable, Render } from '../../expressions/public';
import { ExpressionFunctionDefinition, Datatable, Render } from '../../expressions/public';
import { TagCloudVisParams } from './types';
const name = 'tagcloud';
@ -31,13 +31,13 @@ interface Arguments extends TagCloudVisParams {
export interface TagCloudVisRenderValue {
visType: typeof name;
visData: KibanaDatatable;
visData: Datatable;
visParams: Arguments;
}
export type TagcloudExpressionFunctionDefinition = ExpressionFunctionDefinition<
typeof name,
KibanaDatatable,
Datatable,
Arguments,
Render<TagCloudVisRenderValue>
>;
@ -45,7 +45,7 @@ export type TagcloudExpressionFunctionDefinition = ExpressionFunctionDefinition<
export const createTagCloudFn = (): TagcloudExpressionFunctionDefinition => ({
name,
type: 'render',
inputTypes: ['kibana_datatable'],
inputTypes: ['datatable'],
help: i18n.translate('visTypeTagCloud.function.help', {
defaultMessage: 'Tagcloud visualization',
}),

View file

@ -39,7 +39,7 @@ export const getTagCloudVisRenderer: (
});
render(
<VisualizationContainer>
<VisualizationContainer handlers={handlers}>
<TagCloudChart
{...config}
colors={colors}

View file

@ -49,7 +49,7 @@ export const getTimelionVisRenderer: (
}
render(
<VisualizationContainer showNoResult={showNoResult}>
<VisualizationContainer handlers={handlers} showNoResult={showNoResult}>
<KibanaContextProvider services={{ ...deps }}>
<TimelionVisComponent
interval={visParams.interval}

View file

@ -42,7 +42,7 @@ jest.mock('./vislib/response_handler', () => ({
describe('interpreter/functions#pie', () => {
const fn = functionWrapper(createPieVisFn());
const context = {
type: 'kibana_datatable',
type: 'datatable',
rows: [{ 'col-0-1': 0 }],
columns: [{ id: 'col-0-1', name: 'Count' }],
};

View file

@ -18,7 +18,7 @@
*/
import { i18n } from '@kbn/i18n';
import { ExpressionFunctionDefinition, KibanaDatatable, Render } from '../../expressions/public';
import { ExpressionFunctionDefinition, Datatable, Render } from '../../expressions/public';
// @ts-ignore
import { vislibSlicesResponseHandler } from './vislib/response_handler';
@ -34,13 +34,13 @@ interface RenderValue {
export const createPieVisFn = (): ExpressionFunctionDefinition<
'kibana_pie',
KibanaDatatable,
Datatable,
Arguments,
Render<RenderValue>
> => ({
name: 'kibana_pie',
type: 'render',
inputTypes: ['kibana_datatable'],
inputTypes: ['datatable'],
help: i18n.translate('visTypeVislib.functions.pie.help', {
defaultMessage: 'Pie visualization',
}),

View file

@ -18,7 +18,7 @@
*/
import { i18n } from '@kbn/i18n';
import { ExpressionFunctionDefinition, KibanaDatatable, Render } from '../../expressions/public';
import { ExpressionFunctionDefinition, Datatable, Render } from '../../expressions/public';
// @ts-ignore
import { vislibSeriesResponseHandler } from './vislib/response_handler';
@ -36,13 +36,13 @@ interface RenderValue {
export const createVisTypeVislibVisFn = (): ExpressionFunctionDefinition<
'vislib',
KibanaDatatable,
Datatable,
Arguments,
Render<RenderValue>
> => ({
name: 'vislib',
type: 'render',
inputTypes: ['kibana_datatable'],
inputTypes: ['datatable'],
help: i18n.translate('visTypeVislib.functions.vislib.help', {
defaultMessage: 'Vislib visualization',
}),

View file

@ -21,16 +21,19 @@ import React, { ReactNode, Suspense } from 'react';
import { EuiLoadingChart } from '@elastic/eui';
import classNames from 'classnames';
import { VisualizationNoResults } from './visualization_noresults';
import { IInterpreterRenderHandlers } from '../../../expressions/common';
interface VisualizationContainerProps {
className?: string;
children: ReactNode;
handlers: IInterpreterRenderHandlers;
showNoResult?: boolean;
}
export const VisualizationContainer = ({
className,
children,
handlers,
showNoResult = false,
}: VisualizationContainerProps) => {
const classes = classNames('visualization', className);
@ -44,7 +47,7 @@ export const VisualizationContainer = ({
return (
<div className={classes}>
<Suspense fallback={fallBack}>
{showNoResult ? <VisualizationNoResults /> : children}
{showNoResult ? <VisualizationNoResults onInit={() => handlers.done()} /> : children}
</Suspense>
</div>
);

View file

@ -18,7 +18,7 @@
*/
import { i18n } from '@kbn/i18n';
import { ExpressionFunctionDefinition, KibanaDatatable, Range } from '../../../expressions/public';
import { ExpressionFunctionDefinition, Datatable, Range } from '../../../expressions/public';
interface Arguments {
from: number;
@ -27,7 +27,7 @@ interface Arguments {
export const range = (): ExpressionFunctionDefinition<
'range',
KibanaDatatable | null,
Datatable | null,
Arguments,
Range
> => ({

View file

@ -21,8 +21,8 @@ import { i18n } from '@kbn/i18n';
import {
ExpressionFunctionDefinition,
ExpressionValueBoxed,
KibanaDatatable,
KibanaDatatableColumn,
Datatable,
DatatableColumn,
} from '../../../expressions/public';
interface Arguments {
@ -34,7 +34,7 @@ interface Arguments {
type ExpressionValueVisDimension = ExpressionValueBoxed<
'vis_dimension',
{
accessor: number | KibanaDatatableColumn;
accessor: number | DatatableColumn;
format: {
id?: string;
params: unknown;
@ -44,7 +44,7 @@ type ExpressionValueVisDimension = ExpressionValueBoxed<
export const visDimension = (): ExpressionFunctionDefinition<
'visdimension',
KibanaDatatable,
Datatable,
Arguments,
ExpressionValueVisDimension
> => ({
@ -53,7 +53,7 @@ export const visDimension = (): ExpressionFunctionDefinition<
defaultMessage: 'Generates visConfig dimension object',
}),
type: 'vis_dimension',
inputTypes: ['kibana_datatable'],
inputTypes: ['datatable'],
args: {
accessor: {
types: ['string', 'number'],

View file

@ -1 +1 @@
{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"}
{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":2,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"},{"id":"col-2-1","meta":{"aggConfigParams":{"field":"bytes"},"indexPatternId":"logstash-*","type":"max"},"name":"Max bytes"}],"rows":[{"col-0-2":"200","col-1-1":12891,"col-2-1":19986},{"col-0-2":"404","col-1-1":696,"col-2-1":19881},{"col-0-2":"503","col-1-1":417,"col-2-1":0}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":2,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"},{"id":"col-2-1","meta":{"field":"bytes","index":"logstash-*","params":{"id":"bytes","params":{"parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{"field":"bytes"},"schema":"metric","type":"max"},"type":"number"},"name":"Max bytes"}],"rows":[{"col-0-2":"200","col-1-1":12891,"col-2-1":19986},{"col-0-2":"404","col-1-1":696,"col-2-1":19881},{"col-0-2":"503","col-1-1":417,"col-2-1":0}],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
"[metricVis] > [visdimension] > Can not cast 'null' to any of 'kibana_datatable'"
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[],"meta":{},"rows":[],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},{"accessor":1,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"},{"id":"col-2-1","meta":{"aggConfigParams":{"field":"bytes"},"indexPatternId":"logstash-*","type":"max"},"name":"Max bytes"}],"rows":[{"col-0-2":"200","col-1-1":12891,"col-2-1":19986},{"col-0-2":"404","col-1-1":696,"col-2-1":19881},{"col-0-2":"503","col-1-1":417,"col-2-1":0}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},{"accessor":1,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"},{"id":"col-2-1","meta":{"field":"bytes","index":"logstash-*","params":{"id":"bytes","params":{"parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{"field":"bytes"},"schema":"metric","type":"max"},"type":"number"},"name":"Max bytes"}],"rows":[{"col-0-2":"200","col-1-1":12891,"col-2-1":19986},{"col-0-2":"404","col-1-1":696,"col-2-1":19881},{"col-0-2":"503","col-1-1":417,"col-2-1":0}],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":1000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":true,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"},{"id":"col-2-1","meta":{"aggConfigParams":{"field":"bytes"},"indexPatternId":"logstash-*","type":"max"},"name":"Max bytes"}],"rows":[{"col-0-2":"200","col-1-1":12891,"col-2-1":19986},{"col-0-2":"404","col-1-1":696,"col-2-1":19881},{"col-0-2":"503","col-1-1":417,"col-2-1":0}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":1000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":true,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"},{"id":"col-2-1","meta":{"field":"bytes","index":"logstash-*","params":{"id":"bytes","params":{"parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{"field":"bytes"},"schema":"metric","type":"max"},"type":"number"},"name":"Max bytes"}],"rows":[{"col-0-2":"200","col-1-1":12891,"col-2-1":19986},{"col-0-2":"404","col-1-1":696,"col-2-1":19881},{"col-0-2":"503","col-1-1":417,"col-2-1":0}],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"},{"id":"col-2-1","meta":{"aggConfigParams":{"field":"bytes"},"indexPatternId":"logstash-*","type":"max"},"name":"Max bytes"}],"rows":[{"col-0-2":"200","col-1-1":12891,"col-2-1":19986},{"col-0-2":"404","col-1-1":696,"col-2-1":19881},{"col-0-2":"503","col-1-1":417,"col-2-1":0}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"metrics":[{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"},{"id":"col-2-1","meta":{"field":"bytes","index":"logstash-*","params":{"id":"bytes","params":{"parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{"field":"bytes"},"schema":"metric","type":"max"},"type":"number"},"name":"Max bytes"}],"rows":[{"col-0-2":"200","col-1-1":12891,"col-2-1":19986},{"col-0-2":"404","col-1-1":696,"col-2-1":19881},{"col-0-2":"503","col-1-1":417,"col-2-1":0}],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visParams":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"maxFontSize":72,"metric":{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visParams":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"maxFontSize":72,"metric":{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
{"as":"visualization","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"bucket":{"accessor":0},"metric":{"accessor":1,"format":{"id":"number"}}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visType":"region_map"}}
{"as":"visualization","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"bucket":{"accessor":0},"metric":{"accessor":1,"format":{"id":"number"}}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visType":"region_map"}}

View file

@ -1 +1 @@
{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"}
{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visType":"metric"}}

View file

@ -1 +1 @@
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visParams":{"bucket":{"accessor":1,"format":{"id":"string","params":{}},"type":"vis_dimension"},"maxFontSize":72,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visParams":{"bucket":{"accessor":1,"format":{"id":"string","params":{}},"type":"vis_dimension"},"maxFontSize":72,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}

View file

@ -1 +1 @@
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visParams":{"bucket":{"accessor":1,"format":{"id":"string","params":{}},"type":"vis_dimension"},"maxFontSize":40,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":20,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visParams":{"bucket":{"accessor":1,"format":{"id":"string","params":{}},"type":"vis_dimension"},"maxFontSize":40,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":20,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}

View file

@ -1 +1 @@
"[tagcloud] > [visdimension] > Can not cast 'null' to any of 'kibana_datatable'"
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[],"meta":{},"rows":[],"type":"datatable"},"visParams":{"maxFontSize":72,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}

View file

@ -1 +1 @@
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visParams":{"maxFontSize":72,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visParams":{"maxFontSize":72,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"single","scale":"linear","showLabel":true},"visType":"tagcloud"}}

View file

@ -1 +1 @@
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visParams":{"bucket":{"accessor":1,"format":{"id":"string","params":{}},"type":"vis_dimension"},"maxFontSize":72,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"multiple","scale":"log","showLabel":true},"visType":"tagcloud"}}
{"as":"tagloud_vis","type":"render","value":{"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:6121","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visParams":{"bucket":{"accessor":1,"format":{"id":"string","params":{}},"type":"vis_dimension"},"maxFontSize":72,"metric":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"minFontSize":18,"orientation":"multiple","scale":"log","showLabel":true},"visType":"tagcloud"}}

View file

@ -1 +1 @@
{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"}
{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:5620","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"}

View file

@ -1 +1 @@
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"aggConfigParams":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"indexPatternId":"logstash-*","type":"terms"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"aggConfigParams":{},"indexPatternId":"logstash-*","type":"count"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"kibana_datatable"},"visType":"metric"}}
{"as":"metric_vis","type":"render","value":{"params":{"listenOnChange":true},"visConfig":{"dimensions":{"bucket":{"accessor":0,"format":{"id":"string","params":{}},"type":"vis_dimension"},"metrics":[{"accessor":1,"format":{"id":"number","params":{}},"type":"vis_dimension"}]},"metric":{"colorSchema":"Green to Red","colorsRange":[{"from":0,"to":10000,"type":"range"}],"invertColors":false,"labels":{"show":true},"metricColorMode":"None","percentageMode":false,"style":{"bgColor":false,"bgFill":"#000","fontSize":60,"labelColor":false,"subText":""},"useRanges":false}},"visData":{"columns":[{"id":"col-0-2","meta":{"field":"response.raw","index":"logstash-*","params":{"id":"terms","params":{"id":"string","missingBucketLabel":"Missing","otherBucketLabel":"Other","parsedUrl":{"basePath":"","origin":"http://localhost:5620","pathname":"/app/management"}}},"source":"esaggs","sourceParams":{"enabled":true,"id":"2","indexPatternId":"logstash-*","params":{"field":"response.raw","missingBucket":false,"missingBucketLabel":"Missing","order":"desc","orderBy":"1","otherBucket":false,"otherBucketLabel":"Other","size":4},"schema":"segment","type":"terms"},"type":"string"},"name":"response.raw: Descending"},{"id":"col-1-1","meta":{"field":null,"index":"logstash-*","params":{"id":"number"},"source":"esaggs","sourceParams":{"enabled":true,"id":"1","indexPatternId":"logstash-*","params":{},"schema":"metric","type":"count"},"type":"number"},"name":"Count"}],"rows":[{"col-0-2":"200","col-1-1":12891},{"col-0-2":"404","col-1-1":696},{"col-0-2":"503","col-1-1":417}],"type":"datatable"},"visType":"metric"}}

Some files were not shown because too many files have changed in this diff Show more