Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution] Change default index pattern #70797

Merged
merged 4 commits into from
Jul 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions x-pack/plugins/security_solution/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export const DEFAULT_INDEX_PATTERN = [
'filebeat-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
];

/** This Kibana Advanced Setting enables the `Security news` feed widget */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ describe('useFetchIndexPatterns', () => {
'filebeat-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
name: 'event.end',
searchable: true,
Expand All @@ -370,6 +371,7 @@ describe('useFetchIndexPatterns', () => {
'filebeat-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
indicesExists: true,
indexPatterns: {
Expand Down Expand Up @@ -415,7 +417,8 @@ describe('useFetchIndexPatterns', () => {
{ name: 'source.port', searchable: true, type: 'long', aggregatable: true },
{ name: 'event.end', searchable: true, type: 'date', aggregatable: true },
],
title: 'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*',
title:
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*,logs-*',
},
},
result.current[1],
Expand Down Expand Up @@ -449,6 +452,7 @@ describe('useFetchIndexPatterns', () => {
'filebeat-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
indicesExists: false,
isLoading: false,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ describe('Index Fields & Browser Fields', () => {
errorMessage: null,
indexPattern: {
fields: [],
title: 'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*',
title:
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*,logs-*',
},
indicesExist: true,
loading: true,
Expand Down Expand Up @@ -57,7 +58,8 @@ describe('Index Fields & Browser Fields', () => {
browserFields: mockBrowserFields,
indexPattern: {
fields: mockIndexFields,
title: 'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*',
title:
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*,logs-*',
},
loading: false,
errorMessage: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const mockOpenTimelineQueryResults: MockedProvidedQuery[] = [
'filebeat-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
inspect: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const mockOpenTimelineQueryResults: MockedProvidedQuery[] = [
'filebeat-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
inspect: false,
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.