Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7549

Insight types are incorrect

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • fuse-6.x-GA
    • jboss-fuse-6.3
    • None
    • 0
    • 0% 0%
    • Todo

      After the enhancement in ENTESB-6710. All these variables are of type 'dateOptionalTime':

      MaxProcessingTime
      MeanProcessingTime
      MinProcessingTime
      TotalProcessingTime

      These fields are a measure of the time difference(in milliseconds).

      $ curl http://10.36.117.56:9200/insight-2017.09.01/_mapping/sta-camel/ | jq .
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
      100  1864  100  1864    0     0  1317k      0 --:--:-- --:--:-- --:--:-- 1820k
      {
        "insight-2017.09.01": {
          "mappings": {
            "sta-camel": {
              "dynamic_templates": [
                {
                  "integers": {
                    "mapping": {
                      "type": "long"
                    },
                    "match": ".*(Exchanges|Failures|Redeliveries).*",
                    "match_mapping_type": "string",
                    "match_pattern": "regex"
                  }
                },
                {
                  "date": {
                    "mapping": {
                      "type": "date"
                    },
                    "match": ".*(Time(?!rName)|Date).*",
                    "match_mapping_type": "string",
                    "match_pattern": "regex"
                  }
                },
                {
                  "string_fields": {
                    "mapping": {
                      "index": "analyzed",
                      "omit_norms": true,
                      "type": "string",
                      "fields": {
                        "raw": {
                          "ignore_above": 9216,
                          "index": "not_analyzed",
                          "type": "string"
                        }
                      }
                    },
                    "match": "*",
                    "match_mapping_type": "string"
                  }
                }
              ],
              "properties": {
                "@timestamp": {
                  "type": "date",
                  "format": "dateOptionalTime"
                },
                "@version": {
                  "type": "string",
                  "index": "not_analyzed"
                },
                "geoip": {
                  "dynamic": "true",
                  "properties": {
                    "location": {
                      "type": "geo_point"
                    }
                  }
                },
                "host": {
                  "type": "string",
                  "norms": {
                    "enabled": false
                  },
                  "fields": {
                    "raw": {
                      "type": "string",
                      "index": "not_analyzed",
                      "ignore_above": 9216
                    }
                  }
                },
                "log-example-context": {
                  "properties": {
                    "routes": {
                      "properties": {
                        "log-route": {
                          "properties": {
                            "ExchangesCompleted": {
                              "type": "long"
                            },
                            "ExchangesFailed": {
                              "type": "long"
                            },
                            "ExchangesTotal": {
                              "type": "long"
                            },
                            "ExternalRedeliveries": {
                              "type": "long"
                            },
                            "FailuresHandled": {
                              "type": "long"
                            },
                            "InflightExchanges": {
                              "type": "long"
                            },
                            "Load01": {
                              "type": "string",
                              "norms": {
                                "enabled": false
                              },
                              "fields": {
                                "raw": {
                                  "type": "string",
                                  "index": "not_analyzed",
                                  "ignore_above": 9216
                                }
                              }
                            },
                            "Load05": {
                              "type": "string",
                              "norms": {
                                "enabled": false
                              },
                              "fields": {
                                "raw": {
                                  "type": "string",
                                  "index": "not_analyzed",
                                  "ignore_above": 9216
                                }
                              }
                            },
                            "Load15": {
                              "type": "string",
                              "norms": {
                                "enabled": false
                              },
                              "fields": {
                                "raw": {
                                  "type": "string",
                                  "index": "not_analyzed",
                                  "ignore_above": 9216
                                }
                              }
                            },
                            "MaxProcessingTime": {
                              "type": "date",
                              "format": "dateOptionalTime"
                            },
                            "MeanProcessingTime": {
                              "type": "date",
                              "format": "dateOptionalTime"
                            },
                            "MinProcessingTime": {
                              "type": "date",
                              "format": "dateOptionalTime"
                            },
                            "Redeliveries": {
                              "type": "long"
                            },
                            "TotalProcessingTime": {
                              "type": "date",
                              "format": "dateOptionalTime"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      

              johnpoth John Poth
              rhn-support-aboucham Abel Bouchama
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: