-
-
-
-
-
-
- |
-
- Time
- |
-
- _source
- |
-
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- -
- ip_count
- :
-
- -
-
- 176
-
-
-
-
- -
- sum_bytes
- :
-
- -
-
- 1021420
-
-
-
-
- -
- host
- :
-
- -
-
- artifacts.opensearch.org
-
-
-
-
- -
- resp_code
- :
-
- -
-
- 404
-
-
-
-
- -
- per_ip_bytes
- :
-
- -
-
- 5803
-
-
-
-
- -
- double_per_ip_bytes
- :
-
- -
-
- 11606
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- -
- ip_count
- :
-
- -
-
- 111
-
-
-
-
- -
- sum_bytes
- :
-
- -
-
- 560638
-
-
-
-
- -
- host
- :
-
- -
-
- www.opensearch.org
-
-
-
-
- -
- resp_code
- :
-
- -
-
- 404
-
-
-
-
- -
- per_ip_bytes
- :
-
- -
-
- 5050
-
-
-
-
- -
- double_per_ip_bytes
- :
-
- -
-
- 10100
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- -
- ip_count
- :
-
- -
-
- 94
-
-
-
-
- -
- sum_bytes
- :
-
- -
-
- 0
-
-
-
-
- -
- host
- :
-
- -
-
- artifacts.opensearch.org
-
-
-
-
- -
- resp_code
- :
-
- -
-
- 503
-
-
-
-
- -
- per_ip_bytes
- :
-
- -
-
- 0
-
-
-
-
- -
- double_per_ip_bytes
- :
-
- -
-
- 0
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- -
- ip_count
- :
-
- -
-
- 78
-
-
-
-
- -
- sum_bytes
- :
-
- -
-
- 0
-
-
-
-
- -
- host
- :
-
- -
-
- www.opensearch.org
-
-
-
-
- -
- resp_code
- :
-
- -
-
- 503
-
-
-
-
- -
- per_ip_bytes
- :
-
- -
-
- 0
-
-
-
-
- -
- double_per_ip_bytes
- :
-
- -
-
- 0
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- -
- ip_count
- :
-
- -
-
- 43
-
-
-
-
- -
- sum_bytes
- :
-
- -
-
- 247840
-
-
-
-
- -
- host
- :
-
- -
-
- cdn.opensearch-opensearch-opensearch.org
-
-
-
-
- -
- resp_code
- :
-
- -
-
- 404
-
-
-
-
- -
- per_ip_bytes
- :
-
- -
-
- 5763
-
-
-
-
- -
- double_per_ip_bytes
- :
-
- -
-
- 11526
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- -
- ip_count
- :
-
- -
-
- 34
-
-
-
-
- -
- sum_bytes
- :
-
- -
-
- 0
-
-
-
-
- -
- host
- :
-
- -
-
- cdn.opensearch-opensearch-opensearch.org
-
-
-
-
- -
- resp_code
- :
-
- -
-
- 503
-
-
-
-
- -
- per_ip_bytes
- :
-
- -
-
- 0
-
-
-
-
- -
- double_per_ip_bytes
- :
-
- -
-
- 0
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- -
- ip_count
- :
-
- -
-
- 13
-
-
-
-
- -
- sum_bytes
- :
-
- -
-
- 57735
-
-
-
-
- -
- host
- :
-
- -
-
- opensearch-opensearch-opensearch.org
-
-
-
-
- -
- resp_code
- :
-
- -
-
- 404
-
-
-
-
- -
- per_ip_bytes
- :
-
- -
-
- 4441
-
-
-
-
- -
- double_per_ip_bytes
- :
-
- -
-
- 8882
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
- |
-
-
-
-
-
- -
- ip_count
- :
-
- -
-
- 6
-
-
-
-
- -
- sum_bytes
- :
-
- -
-
- 0
-
-
-
-
- -
- host
- :
-
- -
-
- opensearch-opensearch-opensearch.org
-
-
-
-
- -
- resp_code
- :
-
- -
-
- 503
-
-
-
-
- -
- per_ip_bytes
- :
-
- -
-
- 0
-
-
-
-
- -
- double_per_ip_bytes
- :
-
- -
-
- 0
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-`;
diff --git a/public/components/visualizations/charts/__tests__/logs_view.test.tsx b/public/components/visualizations/charts/__tests__/logs_view.test.tsx
deleted file mode 100644
index e467d60556..0000000000
--- a/public/components/visualizations/charts/__tests__/logs_view.test.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright OpenSearch Contributors
- * SPDX-License-Identifier: Apache-2.0
- */
-
-import { configure, mount } from 'enzyme';
-import Adapter from 'enzyme-adapter-react-16';
-import React from 'react';
-import { waitFor } from '@testing-library/react';
-import { LogsView } from '../logs_view/logs_view';
-import {
- LAYOUT_CONFIG,
- TEST_VISUALIZATIONS_DATA,
-} from '../../../../../test/event_analytics_constants';
-
-describe('Logs View component', () => {
- configure({ adapter: new Adapter() });
-
- it('Renders logs view component', async () => {
- const wrapper = mount(
-
- );
-
- wrapper.update();
-
- await waitFor(() => {
- expect(wrapper).toMatchSnapshot();
- });
- });
-});
diff --git a/public/components/visualizations/charts/logs_view/logs_view.scss b/public/components/visualizations/charts/logs_view/logs_view.scss
deleted file mode 100644
index 013f0d307d..0000000000
--- a/public/components/visualizations/charts/logs_view/logs_view.scss
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright OpenSearch Contributors
- * SPDX-License-Identifier: Apache-2.0
- */
-table {
- border-collapse: collapse;
- width: 100%;
-}
-
-th,
-td {
- text-align: left;
-}
-
-tr:hover {
- background-color: #ddd;
-}
-
-.logs-view-container {
- font-size: 16px;
-}
diff --git a/public/components/visualizations/charts/logs_view/logs_view.tsx b/public/components/visualizations/charts/logs_view/logs_view.tsx
deleted file mode 100644
index 0e8e88f4c7..0000000000
--- a/public/components/visualizations/charts/logs_view/logs_view.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright OpenSearch Contributors
- * SPDX-License-Identifier: Apache-2.0
- */
-import React from 'react';
-import { IExplorerFields } from '../../../../../common/types/explorer';
-import { RAW_QUERY, SELECTED_TIMESTAMP } from '../../../../../common/constants/explorer';
-import { DataGrid } from '../../../../components/event_analytics/explorer/events_views/data_grid';
-import './logs_view.scss';
-
-export const LogsView = ({ visualizations }: any) => {
- const explorer = visualizations?.data?.explorer;
-
- const http = explorer?.http;
- const pplService = explorer?.pplService;
- const explorerData = explorer?.explorerData;
- const explorerFields = explorer?.explorerFields;
- const query = explorer?.query;
-
- const emptyExplorerFields: IExplorerFields = {
- availableFields: [],
- queriedFields: explorerFields,
- selectedFields: [],
- unselectedFields: [],
- };
-
- return (
-
-
-
- );
-};
diff --git a/public/components/visualizations/charts/logs_view/logs_view_type.ts b/public/components/visualizations/charts/logs_view/logs_view_type.ts
deleted file mode 100644
index a4ecad4b80..0000000000
--- a/public/components/visualizations/charts/logs_view/logs_view_type.ts
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Copyright OpenSearch Contributors
- * SPDX-License-Identifier: Apache-2.0
- */
-
-import { LogsView } from './logs_view';
-import { getPlotlyCategory, getPlotlySharedConfigs } from '../shared/shared_configs';
-import { LensIconChartDatatable } from '../../assets/chart_datatable';
-import { VizDataPanel } from '../../../event_analytics/explorer/visualizations/config_panel/config_panes/default_vis_editor';
-import { PLOTLY_COLOR } from '../../../../../common/constants/shared';
-
-const sharedConfigs = getPlotlySharedConfigs();
-const VIS_CATEGORY = getPlotlyCategory();
-
-export const createLogsViewTypeDefinition = (params: any = {}) => ({
- name: 'logs_view',
- type: 'logs_view',
- id: 'logs_view',
- label: 'Logs view',
- fulllabel: 'Logs view',
- icontype: 'visTable',
- category: VIS_CATEGORY.BASICS,
- selection: {
- dataLoss: 'nothing',
- },
- icon: LensIconChartDatatable,
- categoryaxis: 'xaxis',
- seriesaxis: 'yaxis',
- editorconfig: {
- panelTabs: [
- {
- id: 'data-panel',
- name: 'Style',
- mapTo: 'dataConfig',
- editor: VizDataPanel,
- sections: [],
- },
- ],
- },
- visconfig: {
- layout: {
- ...sharedConfigs.layout,
- colorway: PLOTLY_COLOR,
- plot_bgcolor: 'rgba(0, 0, 0, 0)',
- paper_bgcolor: 'rgba(0, 0, 0, 0)',
- xaxis: {
- fixedrange: true,
- showgrid: false,
- visible: true,
- },
- yaxis: {
- fixedrange: true,
- showgrid: false,
- visible: true,
- },
- },
- config: {
- ...sharedConfigs.config,
- barmode: 'line',
- xaxis: {
- automargin: true,
- },
- yaxis: {
- automargin: true,
- },
- },
- },
- component: LogsView,
-});
diff --git a/public/components/visualizations/charts/vis_types.ts b/public/components/visualizations/charts/vis_types.ts
index 2c761f2bd6..f6858519b1 100644
--- a/public/components/visualizations/charts/vis_types.ts
+++ b/public/components/visualizations/charts/vis_types.ts
@@ -13,7 +13,6 @@ import { createDatatableTypeDefinition } from './data_table/data_table_type';
import { createGaugeTypeDefinition } from './financial/gauge/gauge_type';
import { createTreeMapDefinition } from './maps/treemap_type';
import { createTextTypeDefinition } from './text/text_type';
-import { createLogsViewTypeDefinition } from './logs_view/logs_view_type';
import { createMetricsTypeDefinition } from './metrics/metrics_type';
export const VIS_TYPES = {
@@ -29,7 +28,6 @@ export const VIS_TYPES = {
tree_map: createTreeMapDefinition,
text: createTextTypeDefinition,
scatter: createLineTypeDefinition,
- logs_view: createLogsViewTypeDefinition,
metrics: createMetricsTypeDefinition,
};