mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Allow to configure the default index pattern in Advanced Settings (#6453)
* Allow to configure the default index pattern in advanced settings * Update config name (squash) * Update config name (squash)
This commit is contained in:
parent
a0364c0ae0
commit
ef6734f5cd
2 changed files with 5 additions and 2 deletions
|
@ -22,8 +22,7 @@ uiModules.get('apps/management')
|
|||
|
||||
// this and child scopes will write pattern vars here
|
||||
const index = $scope.index = {
|
||||
name: 'logstash-*',
|
||||
|
||||
name: config.get('indexPattern:placeholder'),
|
||||
isTimeBased: true,
|
||||
nameIsPattern: false,
|
||||
notExpandable: false,
|
||||
|
|
|
@ -301,6 +301,10 @@ export default function defaultSettingsProvider() {
|
|||
description: 'The URL can sometimes grow to be too large for some browsers to ' +
|
||||
'handle. To counter-act this we are testing if storing parts of the URL in ' +
|
||||
'sessions storage could help. Please let us know how it goes!'
|
||||
},
|
||||
'indexPattern:placeholder': {
|
||||
value: 'logstash-*',
|
||||
description: 'The placeholder for the field "Index name or pattern" in the "Settings > Indices" tab.',
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue