UnderGreen

logstash_es_gelf_mapping

May 29th, 2015
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 25.88 KB | None | 0 0
  1. {
  2.    "logstash-2015.05.29":{
  3.       "mappings":{
  4.          "gelf":{
  5.             "dynamic_templates":[
  6.                {
  7.                   "string_template":{
  8.                      "mapping":{
  9.                         "index":"not_analyzed",
  10.                         "type":"string"
  11.                      },
  12.                      "match":"*",
  13.                      "match_mapping_type":"string"
  14.                   }
  15.                }
  16.             ],
  17.             "_all":{
  18.                "enabled":false
  19.             },
  20.             "_source":{
  21.                "compress":true
  22.             },
  23.             "properties":{
  24.                "@timestamp":{
  25.                   "type":"date",
  26.                   "format":"dateOptionalTime"
  27.                },
  28.                "@version":{
  29.                   "type":"long"
  30.                },
  31.                "api_key":{
  32.                   "type":"string",
  33.                   "index":"not_analyzed"
  34.                },
  35.                "duration":{
  36.                   "type":"long"
  37.                },
  38.                "error":{
  39.                   "properties":{
  40.                      "code":{
  41.                         "type":"string",
  42.                         "index":"not_analyzed"
  43.                      }
  44.                   }
  45.                },
  46.                "facility":{
  47.                   "type":"string",
  48.                   "index":"not_analyzed"
  49.                },
  50.                "host":{
  51.                   "type":"string",
  52.                   "index":"not_analyzed"
  53.                },
  54.                "level":{
  55.                   "type":"long"
  56.                },
  57.                "message":{
  58.                   "properties":{
  59.                      "actualState":{
  60.                         "properties":{
  61.                            "analyticsPlace":{
  62.                               "type":"long"
  63.                            },
  64.                            "callout":{
  65.                               "properties":{
  66.                                  "id":{
  67.                                     "type":"string",
  68.                                     "index":"not_analyzed"
  69.                                  },
  70.                                  "isPoi":{
  71.                                     "type":"boolean"
  72.                                  },
  73.                                  "lat":{
  74.                                     "type":"double"
  75.                                  },
  76.                                  "lon":{
  77.                                     "type":"double"
  78.                                  },
  79.                                  "type":{
  80.                                     "type":"string",
  81.                                     "index":"not_analyzed"
  82.                                  },
  83.                                  "zoom":{
  84.                                     "type":"long"
  85.                                  }
  86.                               }
  87.                            },
  88.                            "city":{
  89.                               "properties":{
  90.                                  "id":{
  91.                                     "type":"string",
  92.                                     "index":"not_analyzed"
  93.                                  }
  94.                               }
  95.                            },
  96.                            "dashboard":{
  97.                               "type":"string",
  98.                               "index":"not_analyzed"
  99.                            },
  100.                            "extraLayers":{
  101.                               "type":"object"
  102.                            },
  103.                            "from":{
  104.                               "properties":{
  105.                                  "lat":{
  106.                                     "type":"double"
  107.                                  },
  108.                                  "lon":{
  109.                                     "type":"double"
  110.                                  },
  111.                                  "text":{
  112.                                     "type":"string",
  113.                                     "index":"not_analyzed"
  114.                                  }
  115.                               }
  116.                            },
  117.                            "mapcenter":{
  118.                               "properties":{
  119.                                  "lat":{
  120.                                     "type":"double"
  121.                                  },
  122.                                  "lon":{
  123.                                     "type":"double"
  124.                                  }
  125.                               }
  126.                            },
  127.                            "panels":{
  128.                               "properties":{
  129.                                  "panelId":{
  130.                                     "type":"long"
  131.                                  },
  132.                                  "query":{
  133.                                     "type":"string",
  134.                                     "index":"not_analyzed"
  135.                                  },
  136.                                  "searchId":{
  137.                                     "type":"long"
  138.                                  },
  139.                                  "type":{
  140.                                     "type":"string",
  141.                                     "index":"not_analyzed"
  142.                                  }
  143.                               }
  144.                            },
  145.                            "rsType":{
  146.                               "properties":{
  147.                                  "rsType":{
  148.                                     "type":"string",
  149.                                     "index":"not_analyzed"
  150.                                  }
  151.                               }
  152.                            },
  153.                            "to":{
  154.                               "properties":{
  155.                                  "lat":{
  156.                                     "type":"double"
  157.                                  },
  158.                                  "lon":{
  159.                                     "type":"double"
  160.                                  },
  161.                                  "text":{
  162.                                     "type":"string",
  163.                                     "index":"not_analyzed"
  164.                                  }
  165.                               }
  166.                            },
  167.                            "tools":{
  168.                               "type":"string",
  169.                               "index":"not_analyzed"
  170.                            },
  171.                            "waypoints":{
  172.                               "properties":{
  173.                                  "points":{
  174.                                     "properties":{
  175.                                        "lat":{
  176.                                           "type":"double"
  177.                                        },
  178.                                        "lon":{
  179.                                           "type":"double"
  180.                                        }
  181.                                     }
  182.                                  }
  183.                               }
  184.                            },
  185.                            "zoom":{
  186.                               "properties":{
  187.                                  "zoomlevel":{
  188.                                     "type":"long"
  189.                                  }
  190.                               }
  191.                            }
  192.                         }
  193.                      },
  194.                      "category":{
  195.                         "type":"string",
  196.                         "index":"not_analyzed"
  197.                      },
  198.                      "client_ip":{
  199.                         "type":"string",
  200.                         "index":"not_analyzed"
  201.                      },
  202.                      "duration":{
  203.                         "type":"long"
  204.                      },
  205.                      "error":{
  206.                         "properties":{
  207.                            "code":{
  208.                               "type":"string",
  209.                               "index":"not_analyzed"
  210.                            },
  211.                            "error":{
  212.                               "type":"string",
  213.                               "index":"not_analyzed"
  214.                            },
  215.                            "type":{
  216.                               "type":"string",
  217.                               "index":"not_analyzed"
  218.                            },
  219.                            "url":{
  220.                               "type":"string",
  221.                               "index":"not_analyzed"
  222.                            },
  223.                            "userAgent":{
  224.                               "type":"string",
  225.                               "index":"not_analyzed"
  226.                            }
  227.                         }
  228.                      },
  229.                      "from":{
  230.                         "type":"string",
  231.                         "index":"not_analyzed"
  232.                      },
  233.                      "line":{
  234.                         "type":"long"
  235.                      },
  236.                      "message":{
  237.                         "type":"string",
  238.                         "index":"not_analyzed"
  239.                      },
  240.                      "params":{
  241.                         "properties":{
  242.                            "error":{
  243.                               "type":"string",
  244.                               "index":"not_analyzed"
  245.                            },
  246.                            "fields":{
  247.                               "type":"string",
  248.                               "index":"not_analyzed"
  249.                            },
  250.                            "filters":{
  251.                               "type":"object"
  252.                            },
  253.                            "key":{
  254.                               "type":"string",
  255.                               "index":"not_analyzed"
  256.                            },
  257.                            "lang":{
  258.                               "type":"string",
  259.                               "index":"not_analyzed"
  260.                            },
  261.                            "newSearchInit":{
  262.                               "type":"boolean"
  263.                            },
  264.                            "output":{
  265.                               "type":"string",
  266.                               "index":"not_analyzed"
  267.                            },
  268.                            "page":{
  269.                               "type":"long"
  270.                            },
  271.                            "page_size":{
  272.                               "type":"long"
  273.                            },
  274.                            "projectId":{
  275.                               "type":"string",
  276.                               "index":"not_analyzed"
  277.                            },
  278.                            "q":{
  279.                               "type":"string",
  280.                               "index":"not_analyzed"
  281.                            },
  282.                            "region_id":{
  283.                               "type":"string",
  284.                               "index":"not_analyzed"
  285.                            },
  286.                            "title":{
  287.                               "type":"string",
  288.                               "index":"not_analyzed"
  289.                            }
  290.                         }
  291.                      },
  292.                      "query":{
  293.                         "properties":{
  294.                            "ip":{
  295.                               "type":"string",
  296.                               "index":"not_analyzed"
  297.                            },
  298.                            "output":{
  299.                               "type":"string",
  300.                               "index":"not_analyzed"
  301.                            },
  302.                            "session_token":{
  303.                               "type":"string",
  304.                               "index":"not_analyzed"
  305.                            }
  306.                         }
  307.                      },
  308.                      "remote_addr":{
  309.                         "type":"string",
  310.                         "index":"not_analyzed"
  311.                      },
  312.                      "requestParams":{
  313.                         "properties":{
  314.                            "data":{
  315.                               "properties":{
  316.                                  "fields":{
  317.                                     "type":"string",
  318.                                     "index":"not_analyzed"
  319.                                  },
  320.                                  "filters":{
  321.                                     "type":"object"
  322.                                  },
  323.                                  "key":{
  324.                                     "type":"string",
  325.                                     "index":"not_analyzed"
  326.                                  },
  327.                                  "lang":{
  328.                                     "type":"string",
  329.                                     "index":"not_analyzed"
  330.                                  },
  331.                                  "mode":{
  332.                                     "type":"string",
  333.                                     "index":"not_analyzed"
  334.                                  },
  335.                                  "newSearchInit":{
  336.                                     "type":"boolean"
  337.                                  },
  338.                                  "output":{
  339.                                     "type":"string",
  340.                                     "index":"not_analyzed"
  341.                                  },
  342.                                  "page":{
  343.                                     "type":"long"
  344.                                  },
  345.                                  "page_size":{
  346.                                     "type":"long"
  347.                                  },
  348.                                  "q":{
  349.                                     "type":"string",
  350.                                     "index":"not_analyzed"
  351.                                  },
  352.                                  "region_id":{
  353.                                     "type":"string",
  354.                                     "index":"not_analyzed"
  355.                                  },
  356.                                  "url":{
  357.                                     "type":"string",
  358.                                     "index":"not_analyzed"
  359.                                  }
  360.                               }
  361.                            },
  362.                            "headers":{
  363.                               "properties":{
  364.                                  "Accept":{
  365.                                     "type":"string",
  366.                                     "index":"not_analyzed"
  367.                                  },
  368.                                  "Content-Type":{
  369.                                     "type":"string",
  370.                                     "index":"not_analyzed"
  371.                                  },
  372.                                  "Referer":{
  373.                                     "type":"string",
  374.                                     "index":"not_analyzed"
  375.                                  },
  376.                                  "User-Agent":{
  377.                                     "type":"string",
  378.                                     "index":"not_analyzed"
  379.                                  },
  380.                                  "X-Real-IP":{
  381.                                     "type":"string",
  382.                                     "index":"not_analyzed"
  383.                                  }
  384.                               }
  385.                            },
  386.                            "timeout":{
  387.                               "type":"long"
  388.                            },
  389.                            "type":{
  390.                               "type":"string",
  391.                               "index":"not_analyzed"
  392.                            },
  393.                            "url":{
  394.                               "type":"string",
  395.                               "index":"not_analyzed"
  396.                            }
  397.                         }
  398.                      },
  399.                      "request_uri":{
  400.                         "type":"string",
  401.                         "index":"not_analyzed"
  402.                      },
  403.                      "response":{
  404.                         "properties":{
  405.                            "meta":{
  406.                               "properties":{
  407.                                  "code":{
  408.                                     "type":"long"
  409.                                  },
  410.                                  "error":{
  411.                                     "properties":{
  412.                                        "message":{
  413.                                           "type":"string",
  414.                                           "index":"not_analyzed"
  415.                                        },
  416.                                        "type":{
  417.                                           "type":"string",
  418.                                           "index":"not_analyzed"
  419.                                        }
  420.                                     }
  421.                                  }
  422.                               }
  423.                            }
  424.                         }
  425.                      },
  426.                      "responseCode":{
  427.                         "type":"long"
  428.                      },
  429.                      "script":{
  430.                         "type":"string",
  431.                         "index":"not_analyzed"
  432.                      },
  433.                      "targetError":{
  434.                         "type":"string",
  435.                         "index":"not_analyzed"
  436.                      },
  437.                      "type":{
  438.                         "type":"string",
  439.                         "index":"not_analyzed"
  440.                      },
  441.                      "uptime":{
  442.                         "type":"long"
  443.                      },
  444.                      "url":{
  445.                         "type":"string",
  446.                         "index":"not_analyzed"
  447.                      },
  448.                      "userAgent":{
  449.                         "type":"string",
  450.                         "index":"not_analyzed"
  451.                      },
  452.                      "user_agent":{
  453.                         "type":"string",
  454.                         "index":"not_analyzed"
  455.                      },
  456.                      "wantedState":{
  457.                         "properties":{
  458.                            "analyticsPlace":{
  459.                               "type":"long"
  460.                            },
  461.                            "city":{
  462.                               "properties":{
  463.                                  "id":{
  464.                                     "type":"string",
  465.                                     "index":"not_analyzed"
  466.                                  }
  467.                               }
  468.                            },
  469.                            "dashboard":{
  470.                               "type":"string",
  471.                               "index":"not_analyzed"
  472.                            },
  473.                            "extraLayers":{
  474.                               "type":"object"
  475.                            },
  476.                            "mapcenter":{
  477.                               "properties":{
  478.                                  "lat":{
  479.                                     "type":"double"
  480.                                  },
  481.                                  "lon":{
  482.                                     "type":"double"
  483.                                  }
  484.                               }
  485.                            },
  486.                            "tools":{
  487.                               "type":"string",
  488.                               "index":"not_analyzed"
  489.                            },
  490.                            "zoom":{
  491.                               "properties":{
  492.                                  "zoomlevel":{
  493.                                     "type":"long"
  494.                                  }
  495.                               }
  496.                            }
  497.                         }
  498.                      }
  499.                   }
  500.                },
  501.                "params":{
  502.                   "properties":{
  503.                      "error":{
  504.                         "type":"string",
  505.                         "index":"not_analyzed"
  506.                      },
  507.                      "fields":{
  508.                         "type":"string",
  509.                         "index":"not_analyzed"
  510.                      },
  511.                      "filters":{
  512.                         "type":"object"
  513.                      },
  514.                      "key":{
  515.                         "type":"string",
  516.                         "index":"not_analyzed"
  517.                      },
  518.                      "lang":{
  519.                         "type":"string",
  520.                         "index":"not_analyzed"
  521.                      },
  522.                      "newSearchInit":{
  523.                         "type":"boolean"
  524.                      },
  525.                      "output":{
  526.                         "type":"string",
  527.                         "index":"not_analyzed"
  528.                      },
  529.                      "page":{
  530.                         "type":"long"
  531.                      },
  532.                      "page_size":{
  533.                         "type":"long"
  534.                      },
  535.                      "projectId":{
  536.                         "type":"string",
  537.                         "index":"not_analyzed"
  538.                      },
  539.                      "q":{
  540.                         "type":"string",
  541.                         "index":"not_analyzed"
  542.                      },
  543.                      "region_id":{
  544.                         "type":"string",
  545.                         "index":"not_analyzed"
  546.                      },
  547.                      "title":{
  548.                         "type":"string",
  549.                         "index":"not_analyzed"
  550.                      }
  551.                   }
  552.                },
  553.                "requestParams":{
  554.                   "properties":{
  555.                      "data":{
  556.                         "properties":{
  557.                            "fields":{
  558.                               "type":"string",
  559.                               "index":"not_analyzed"
  560.                            },
  561.                            "filters":{
  562.                               "type":"object"
  563.                            },
  564.                            "key":{
  565.                               "type":"string",
  566.                               "index":"not_analyzed"
  567.                            },
  568.                            "lang":{
  569.                               "type":"string",
  570.                               "index":"not_analyzed"
  571.                            },
  572.                            "mode":{
  573.                               "type":"string",
  574.                               "index":"not_analyzed"
  575.                            },
  576.                            "newSearchInit":{
  577.                               "type":"boolean"
  578.                            },
  579.                            "output":{
  580.                               "type":"string",
  581.                               "index":"not_analyzed"
  582.                            },
  583.                            "page":{
  584.                               "type":"long"
  585.                            },
  586.                            "page_size":{
  587.                               "type":"long"
  588.                            },
  589.                            "q":{
  590.                               "type":"string",
  591.                               "index":"not_analyzed"
  592.                            },
  593.                            "region_id":{
  594.                               "type":"string",
  595.                               "index":"not_analyzed"
  596.                            },
  597.                            "url":{
  598.                               "type":"string",
  599.                               "index":"not_analyzed"
  600.                            }
  601.                         }
  602.                      },
  603.                      "headers":{
  604.                         "properties":{
  605.                            "Accept":{
  606.                               "type":"string",
  607.                               "index":"not_analyzed"
  608.                            },
  609.                            "Content-Type":{
  610.                               "type":"string",
  611.                               "index":"not_analyzed"
  612.                            },
  613.                            "Referer":{
  614.                               "type":"string",
  615.                               "index":"not_analyzed"
  616.                            },
  617.                            "User-Agent":{
  618.                               "type":"string",
  619.                               "index":"not_analyzed"
  620.                            },
  621.                            "X-Real-IP":{
  622.                               "type":"string",
  623.                               "index":"not_analyzed"
  624.                            }
  625.                         }
  626.                      },
  627.                      "timeout":{
  628.                         "type":"long"
  629.                      },
  630.                      "type":{
  631.                         "type":"string",
  632.                         "index":"not_analyzed"
  633.                      },
  634.                      "url":{
  635.                         "type":"string",
  636.                         "index":"not_analyzed"
  637.                      }
  638.                   }
  639.                },
  640.                "responseCode":{
  641.                   "type":"long"
  642.                },
  643.                "short_message":{
  644.                   "type":"string",
  645.                   "index":"not_analyzed"
  646.                },
  647.                "source_host":{
  648.                   "type":"string",
  649.                   "index":"not_analyzed"
  650.                },
  651.                "st_level":{
  652.                   "type":"string",
  653.                   "index":"not_analyzed"
  654.                },
  655.                "type":{
  656.                   "type":"string",
  657.                   "index":"not_analyzed"
  658.                },
  659.                "url":{
  660.                   "type":"string",
  661.                   "index":"not_analyzed"
  662.                },
  663.                "userAgent":{
  664.                   "type":"string",
  665.                   "index":"not_analyzed"
  666.                },
  667.                "version":{
  668.                   "type":"string",
  669.                   "index":"not_analyzed"
  670.                }
  671.             }
  672.          }
  673.       }
  674.    }
  675. }
Advertisement
Add Comment
Please, Sign In to add comment