Skip to content

Commit

Permalink
Adds support for 'ip' data type (#85087)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
cqliu1 and kibanamachine committed Feb 17, 2021
1 parent df46bfc commit aa269e1
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 aa269e1

Please sign in to comment.