mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Fleet] Support for Profiling symbolization (#154921)
This PR adds fleet index pattern `profiling-*` to fleet server and in the logstash key generator.
This commit is contained in:
parent
dc1baa9758
commit
83f1fb4f26
2 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,7 @@ export async function canCreateLogstashApiKey(esClient: ElasticsearchClient) {
|
|||
'synthetics-*-*',
|
||||
'.logs-endpoint.diagnostic.collection-*',
|
||||
'.logs-endpoint.action.responses-*',
|
||||
'profiling-*-*',
|
||||
],
|
||||
privileges: ['auto_configure', 'create_doc'],
|
||||
},
|
||||
|
@ -58,6 +59,7 @@ export async function generateLogstashApiKey(esClient: ElasticsearchClient) {
|
|||
'synthetics-*-*',
|
||||
'.logs-endpoint.diagnostic.collection-*',
|
||||
'.logs-endpoint.action.responses-*',
|
||||
'profiling-*-*',
|
||||
],
|
||||
privileges: ['auto_configure', 'create_doc'],
|
||||
},
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import type { IndicesDataStream, IndicesIndexTemplate } from '@elastic/elasticsearch/lib/api/types';
|
||||
import type { ElasticsearchClient } from '@kbn/core/server';
|
||||
|
||||
const DATA_STREAM_INDEX_PATTERN = 'logs-*-*,metrics-*-*,traces-*-*,synthetics-*-*';
|
||||
const DATA_STREAM_INDEX_PATTERN = 'logs-*-*,metrics-*-*,traces-*-*,synthetics-*-*,profiling-*-*';
|
||||
|
||||
class DataStreamService {
|
||||
public async getAllFleetDataStreams(esClient: ElasticsearchClient) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue