Skip to content

Commit

Permalink
[Uptime] Stop indexing saved object fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed Jul 22, 2020
1 parent 9c7d65c commit 2f0eab1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x-pack/plugins/uptime/server/lib/saved_objects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ export const umDynamicSettings: SavedObjectsType = {
hidden: false,
namespaceType: 'single',
mappings: {
dynamic: false,
properties: {
/* Leaving these commented to make it clear that these fields exist, even though we don't want them indexed.
When adding new fields please add them here. If they need to be searchable put them in the uncommented
part of properties.
heartbeatIndices: {
type: 'keyword',
},
Expand All @@ -32,6 +36,7 @@ export const umDynamicSettings: SavedObjectsType = {
certExpirationThreshold: {
type: 'long',
},
*/
},
},
};
Expand Down

0 comments on commit 2f0eab1

Please sign in to comment.