Skip to content

Commit

Permalink
[Fleet] add "traces" type to data stream list (#87985)
Browse files Browse the repository at this point in the history
Update the index pattern uysed for populating
the list of data streams to include traces-*-*.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
axw and kibanamachine authored Jan 14, 2021
1 parent 03bc632 commit 0eb5c7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { GetDataStreamsResponse, KibanaAssetType, KibanaSavedObjectType } from '
import { getPackageSavedObjects, getKibanaSavedObject } from '../../services/epm/packages/get';
import { defaultIngestErrorHandler } from '../../errors';

const DATA_STREAM_INDEX_PATTERN = 'logs-*-*,metrics-*-*';
const DATA_STREAM_INDEX_PATTERN = 'logs-*-*,metrics-*-*,traces-*-*';

export const getListHandler: RequestHandler = async (context, request, response) => {
const callCluster = context.core.elasticsearch.legacy.client.callAsCurrentUser;
Expand Down

0 comments on commit 0eb5c7b

Please sign in to comment.