mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
wired up the configFile's kibanaIndex field to the mapper
This commit is contained in:
parent
5dce487051
commit
3dbbc975f5
3 changed files with 5 additions and 4 deletions
|
@ -27,6 +27,6 @@ define(function () {
|
|||
* The default ES index to use for storing Kibana specific object
|
||||
* such as stored dashboards
|
||||
*/
|
||||
kibanaIndex: 'kibana-int'
|
||||
kibanaIndex: 'kibana4-int'
|
||||
};
|
||||
});
|
|
@ -3,6 +3,7 @@ define(function (require) {
|
|||
var Courier = require('courier/courier');
|
||||
var DocSource = require('courier/data_source/doc');
|
||||
var errors = require('courier/errors');
|
||||
var configFile = require('../../config');
|
||||
|
||||
require('services/promises');
|
||||
require('services/es');
|
||||
|
@ -20,7 +21,7 @@ define(function (require) {
|
|||
courier = new Courier({
|
||||
fetchInterval: 15000,
|
||||
client: es,
|
||||
promises: promises
|
||||
internalIndex: configFile.kibanaIndex
|
||||
});
|
||||
|
||||
courier.errors = errors;
|
||||
|
|
|
@ -67,12 +67,12 @@ define(function (require) {
|
|||
body: {
|
||||
settings: {
|
||||
mappings: {
|
||||
type1: {
|
||||
mappings: {
|
||||
_source: {
|
||||
enabled: false
|
||||
},
|
||||
properties: {
|
||||
field1: {
|
||||
type: {
|
||||
type: 'string',
|
||||
index: 'not_analyzed'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue