UNPKG

dsl-builder

Version:

OpenSearch Query Builder - Extract from OpenSearch Dashboards

35 lines (34 loc) 951 B
"use strict"; /* * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Any modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.stubIndexPatternWithFields = exports.stubIndexPattern = void 0; const field_stub_1 = require("./field.stub"); exports.stubIndexPattern = { id: 'logstash-*', fields: field_stub_1.stubFields, title: 'logstash-*', timeFieldName: '@timestamp', }; exports.stubIndexPatternWithFields = { id: '1234', title: 'logstash-*', fields: [ { name: 'response', type: 'number', esTypes: ['integer'], aggregatable: true, filterable: true, searchable: true, }, ], };