Advertisement
Guest User

Untitled

a guest
May 9th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.68 KB | None | 0 0
  1. {
  2.     "kibana_sample_data_ecommerce": {
  3.         "mappings": {
  4.             "_doc": {
  5.                 "properties": {
  6.                     "category": {
  7.                         "type": "text",
  8.                         "fields": {
  9.                             "keyword": {
  10.                                 "type": "keyword"
  11.                             }
  12.                         }
  13.                     },
  14.                     "currency": {
  15.                         "type": "keyword"
  16.                     },
  17.                     "customer_birth_date": {
  18.                         "type": "date"
  19.                     },
  20.                     "customer_first_name": {
  21.                         "type": "text",
  22.                         "fields": {
  23.                             "keyword": {
  24.                                 "type": "keyword",
  25.                                 "ignore_above": 256
  26.                             }
  27.                         }
  28.                     },
  29.                     "customer_full_name": {
  30.                         "type": "text",
  31.                         "fields": {
  32.                             "keyword": {
  33.                                 "type": "keyword",
  34.                                 "ignore_above": 256
  35.                             }
  36.                         }
  37.                     },
  38.                     "customer_gender": {
  39.                         "type": "keyword"
  40.                     },
  41.                     "customer_id": {
  42.                         "type": "keyword"
  43.                     },
  44.                     "customer_last_name": {
  45.                         "type": "text",
  46.                         "fields": {
  47.                             "keyword": {
  48.                                 "type": "keyword",
  49.                                 "ignore_above": 256
  50.                             }
  51.                         }
  52.                     },
  53.                     "customer_phone": {
  54.                         "type": "keyword"
  55.                     },
  56.                     "day_of_week": {
  57.                         "type": "keyword"
  58.                     },
  59.                     "day_of_week_i": {
  60.                         "type": "integer"
  61.                     },
  62.                     "email": {
  63.                         "type": "keyword"
  64.                     },
  65.                     "geoip": {
  66.                         "properties": {
  67.                             "city_name": {
  68.                                 "type": "keyword"
  69.                             },
  70.                             "continent_name": {
  71.                                 "type": "keyword"
  72.                             },
  73.                             "country_iso_code": {
  74.                                 "type": "keyword"
  75.                             },
  76.                             "location": {
  77.                                 "type": "geo_point"
  78.                             },
  79.                             "region_name": {
  80.                                 "type": "keyword"
  81.                             }
  82.                         }
  83.                     },
  84.                     "manufacturer": {
  85.                         "type": "text",
  86.                         "fields": {
  87.                             "keyword": {
  88.                                 "type": "keyword"
  89.                             }
  90.                         }
  91.                     },
  92.                     "order_date": {
  93.                         "type": "date"
  94.                     },
  95.                     "order_id": {
  96.                         "type": "keyword"
  97.                     },
  98.                     "products": {
  99.                         "properties": {
  100.                             "_id": {
  101.                                 "type": "text",
  102.                                 "fields": {
  103.                                     "keyword": {
  104.                                         "type": "keyword",
  105.                                         "ignore_above": 256
  106.                                     }
  107.                                 }
  108.                             },
  109.                             "base_price": {
  110.                                 "type": "half_float"
  111.                             },
  112.                             "base_unit_price": {
  113.                                 "type": "half_float"
  114.                             },
  115.                             "category": {
  116.                                 "type": "text",
  117.                                 "fields": {
  118.                                     "keyword": {
  119.                                         "type": "keyword"
  120.                                     }
  121.                                 }
  122.                             },
  123.                             "created_on": {
  124.                                 "type": "date"
  125.                             },
  126.                             "discount_amount": {
  127.                                 "type": "half_float"
  128.                             },
  129.                             "discount_percentage": {
  130.                                 "type": "half_float"
  131.                             },
  132.                             "manufacturer": {
  133.                                 "type": "text",
  134.                                 "fields": {
  135.                                     "keyword": {
  136.                                         "type": "keyword"
  137.                                     }
  138.                                 }
  139.                             },
  140.                             "min_price": {
  141.                                 "type": "half_float"
  142.                             },
  143.                             "price": {
  144.                                 "type": "half_float"
  145.                             },
  146.                             "product_id": {
  147.                                 "type": "long"
  148.                             },
  149.                             "product_name": {
  150.                                 "type": "text",
  151.                                 "fields": {
  152.                                     "keyword": {
  153.                                         "type": "keyword"
  154.                                     }
  155.                                 },
  156.                                 "analyzer": "english"
  157.                             },
  158.                             "quantity": {
  159.                                 "type": "integer"
  160.                             },
  161.                             "sku": {
  162.                                 "type": "keyword"
  163.                             },
  164.                             "tax_amount": {
  165.                                 "type": "half_float"
  166.                             },
  167.                             "taxful_price": {
  168.                                 "type": "half_float"
  169.                             },
  170.                             "taxless_price": {
  171.                                 "type": "half_float"
  172.                             },
  173.                             "unit_discount_amount": {
  174.                                 "type": "half_float"
  175.                             }
  176.                         }
  177.                     },
  178.                     "sku": {
  179.                         "type": "keyword"
  180.                     },
  181.                     "taxful_total_price": {
  182.                         "type": "half_float"
  183.                     },
  184.                     "taxless_total_price": {
  185.                         "type": "half_float"
  186.                     },
  187.                     "total_quantity": {
  188.                         "type": "integer"
  189.                     },
  190.                     "total_unique_products": {
  191.                         "type": "integer"
  192.                     },
  193.                     "type": {
  194.                         "type": "keyword"
  195.                     },
  196.                     "user": {
  197.                         "type": "keyword"
  198.                     }
  199.                 }
  200.             }
  201.         }
  202.     }
  203. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement