Skip to content

Commit

Permalink
Adds support for 'ip' data type (#85087) (#91605)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
cqliu1 and kibanamachine authored Feb 17, 2021
1 parent d9a3d33 commit c70a8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/canvas/server/lib/normalize_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

export function normalizeType(type: string) {
const normalTypes: Record<string, string[]> = {
string: ['string', 'text', 'keyword', '_type', '_id', '_index', 'geo_point'],
string: ['string', 'text', 'keyword', '_type', '_id', '_index', 'geo_point', 'ip'],
number: [
'float',
'half_float',
Expand Down

0 comments on commit c70a8a0

Please sign in to comment.