Skip to content

Commit 4640727

Browse files
Merge branch 'master' into ingest/fix/fleet-clear-filter
2 parents 38ea24d + 22365de commit 4640727

File tree

58 files changed

+444
-1274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+444
-1274
lines changed

src/core/public/doc_links/doc_links_service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ export class DocLinksService {
111111
},
112112
kibana: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/index.html`,
113113
siem: {
114-
guide: `${ELASTIC_WEBSITE_URL}guide/en/siem/guide/${DOC_LINK_VERSION}/index.html`,
115-
gettingStarted: `${ELASTIC_WEBSITE_URL}guide/en/siem/guide/${DOC_LINK_VERSION}/install-siem.html`,
114+
guide: `${ELASTIC_WEBSITE_URL}guide/en/security/${DOC_LINK_VERSION}/index.html`,
115+
gettingStarted: `${ELASTIC_WEBSITE_URL}guide/en/security/${DOC_LINK_VERSION}/install-siem.html`,
116116
},
117117
query: {
118118
luceneQuerySyntax: `${ELASTICSEARCH_DOCS}query-dsl-query-string-query.html#query-string-syntax`,

src/es_archiver/lib/indices/create_index_stream.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
*/
1919

2020
import { Transform, Readable } from 'stream';
21+
import { inspect } from 'util';
22+
2123
import { get, once } from 'lodash';
2224
import { Client } from 'elasticsearch';
2325
import { ToolingLog } from '@kbn/dev-utils';
@@ -84,6 +86,18 @@ export function createCreateIndexStream({
8486

8587
stats.createdIndex(index, { settings });
8688
} catch (err) {
89+
if (
90+
err?.body?.error?.reason?.includes('index exists with the same name as the alias') &&
91+
attemptNumber < 3
92+
) {
93+
const aliasStr = inspect(aliases);
94+
log.info(
95+
`failed to create aliases [${aliasStr}] because ES indicated an index/alias already exists, trying again`
96+
);
97+
await attemptToCreate(attemptNumber + 1);
98+
return;
99+
}
100+
87101
if (
88102
get(err, 'body.error.type') !== 'resource_already_exists_exception' ||
89103
attemptNumber >= 3

test/functional/apps/dashboard/dashboard_filter_bar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export default function ({ getService, getPageObjects }) {
3030
const browser = getService('browser');
3131
const PageObjects = getPageObjects(['common', 'dashboard', 'header', 'visualize', 'timePicker']);
3232

33-
describe('dashboard filter bar', () => {
33+
// FLAKY: https://github.com/elastic/kibana/issues/71987
34+
describe.skip('dashboard filter bar', () => {
3435
before(async () => {
3536
await esArchiver.load('dashboard/current/kibana');
3637
await kibanaServer.uiSettings.replace({

test/functional/apps/management/_create_index_pattern_wizard.js

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -51,42 +51,6 @@ export default function ({ getService, getPageObjects }) {
5151
});
5252
});
5353

54-
describe('data streams', () => {
55-
it('can be an index pattern', async () => {
56-
await es.transport.request({
57-
path: '/_index_template/generic-logs',
58-
method: 'PUT',
59-
body: {
60-
index_patterns: ['logs-*', 'test_data_stream'],
61-
template: {
62-
mappings: {
63-
properties: {
64-
'@timestamp': {
65-
type: 'date',
66-
},
67-
},
68-
},
69-
},
70-
data_stream: {
71-
timestamp_field: '@timestamp',
72-
},
73-
},
74-
});
75-
76-
await es.transport.request({
77-
path: '/_data_stream/test_data_stream',
78-
method: 'PUT',
79-
});
80-
81-
await PageObjects.settings.createIndexPattern('test_data_stream', false);
82-
83-
await es.transport.request({
84-
path: '/_data_stream/test_data_stream',
85-
method: 'DELETE',
86-
});
87-
});
88-
});
89-
9054
describe('index alias', () => {
9155
it('can be an index pattern', async () => {
9256
await es.transport.request({

test/functional/apps/visualize/_tsvb_chart.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
2828
const security = getService('security');
2929
const PageObjects = getPageObjects(['visualize', 'visualBuilder', 'timePicker', 'visChart']);
3030

31-
describe('visual builder', function describeIndexTests() {
31+
// FLAKY: https://github.com/elastic/kibana/issues/71979
32+
describe.skip('visual builder', function describeIndexTests() {
3233
this.tags('includeFirefox');
3334
beforeEach(async () => {
3435
await security.testUser.setRoles([

x-pack/plugins/apm/public/application/index.tsx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import {
2626
} from '../../../../../src/plugins/kibana_react/public';
2727
import { px, units } from '../style/variables';
2828
import { UpdateBreadcrumbs } from '../components/app/Main/UpdateBreadcrumbs';
29-
import { APMIndicesPermission } from '../components/app/APMIndicesPermission';
3029
import { ScrollToTopOnPathChange } from '../components/app/Main/ScrollToTopOnPathChange';
3130
import { routes } from '../components/app/Main/route_config';
3231
import { history, resetHistory } from '../utils/history';
@@ -52,13 +51,11 @@ const App = () => {
5251
<MainContainer data-test-subj="apmMainContainer" role="main">
5352
<UpdateBreadcrumbs routes={routes} />
5453
<Route component={ScrollToTopOnPathChange} />
55-
<APMIndicesPermission>
56-
<Switch>
57-
{routes.map((route, i) => (
58-
<ApmRoute key={i} {...route} />
59-
))}
60-
</Switch>
61-
</APMIndicesPermission>
54+
<Switch>
55+
{routes.map((route, i) => (
56+
<ApmRoute key={i} {...route} />
57+
))}
58+
</Switch>
6259
</MainContainer>
6360
</ThemeProvider>
6461
);

x-pack/plugins/apm/public/components/app/APMIndicesPermission/index.test.tsx

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)