Fields not visible in Kibana


(Ikbel Benabd) #1

Although my field are visible in the discover tab ,I can't make any kind of visualization with them and i got this message : ** No results displayed because all values equal 0.**
this is the data in the discover tab :


my index mapping code :

 {
  "mapping": {
"httpbeat": {
  "_meta": {
    "version": "5.2.1"
  },
  "dynamic_templates": [
    {
      "strings_as_keyword": {
        "match_mapping_type": "string",
        "mapping": {
          "ignore_above": 1024,
          "type": "keyword"
        }
      }
    }
  ],
  "properties": {
    "@timestamp": {
      "type": "date"
    },
    "beat": {
      "properties": {
        "hostname": {
          "type": "keyword",
          "ignore_above": 1024
        },
        "name": {
          "type": "keyword",
          "ignore_above": 1024
        },
        "version": {
          "type": "keyword",
          "ignore_above": 1024
        }
      }
    },
    "fields": {
      "properties": {
        "app_id": {
          "type": "keyword",
          "ignore_above": 1024
        }
      }
    },
    "meta": {
      "properties": {
        "cloud": {
          "properties": {
            "availability_zone": {
              "type": "keyword",
              "ignore_above": 1024
            },
            "instance_id": {
              "type": "keyword",
              "ignore_above": 1024
            },
            "machine_type": {
              "type": "keyword",
              "ignore_above": 1024
            },
            "project_id": {
              "type": "keyword",
              "ignore_above": 1024
            },
            "provider": {
              "type": "keyword",
              "ignore_above": 1024
            },
            "region": {
              "type": "keyword",
              "ignore_above": 1024
            }
          }
        }
      }
    },
    "request": {
      "properties": {
        "body": {
          "type": "keyword",
          "ignore_above": 1024
        },
        "headers": {
          "type": "nested",
          "properties": {
            "Accept": {
              "type": "keyword",
              "ignore_above": 1024
            }
          }
        },
        "method": {
          "type": "keyword",
          "ignore_above": 1024
        },
        "url": {
          "type": "keyword",
          "ignore_above": 1024
        }
      }
    },
    "response": {
      "properties": {
        "body": {
          "type": "keyword",
          "ignore_above": 1024
        },
        "code": {
          "type": "keyword",
          "ignore_above": 1024
        },
        "headers": {
          "type": "nested",
          "properties": {
            "Content-Type": {
              "type": "keyword",
              "ignore_above": 1024
            },
            "Date": {
              "type": "keyword",
              "ignore_above": 1024
            },
            "X-Application-Context": {
              "type": "keyword",
              "ignore_above": 1024
            }
          }
        },
        "jsonBody": {
          "type": "nested",
          "properties": {
            "classes": {
              "type": "long"
            },
            "classes_loaded": {
              "type": "long"
            },
            "classes_unloaded": {
              "type": "long"
            },
            "counter_status_200_health": {
              "type": "long"
            },
            "counter_status_200_login": {
              "type": "long"
            },
            "counter_status_200_metrics": {
              "type": "long"
            },
            "counter_status_302_unmapped": {
              "type": "long"
            },
            "gauge_response_health": {
              "type": "long"
            },
            "gauge_response_login": {
              "type": "long"
            },
            "gauge_response_metrics": {
              "type": "long"
            },
            "gauge_response_unmapped": {
              "type": "long"
            },
            "gc_ps_marksweep_count": {
              "type": "long"
            },
            "gc_ps_marksweep_time": {
              "type": "long"
            },
            "gc_ps_scavenge_count": {
              "type": "long"
            },
            "gc_ps_scavenge_time": {
              "type": "long"
            },
            "heap": {
              "type": "float"
            },
            "heap_committed": {
              "type": "long"
            },
            "heap_init": {
              "type": "long"
            },
            "heap_used": {
              "type": "long"
            },
            "httpsessions_active": {
              "type": "long"
            },
            "httpsessions_max": {
              "type": "long"
            },
            "instance_uptime": {
              "type": "float"
            },
            "mem": {
              "type": "long"
            },
            "mem_free": {
              "type": "long"
            },
            "nonheap": {
              "type": "long"
            },
            "nonheap_committed": {
              "type": "long"
            },
            "nonheap_init": {
              "type": "long"
            },
            "nonheap_used": {
              "type": "long"
            },
            "processors": {
              "type": "long"
            },
            "systemload_average": {
              "type": "long"
            },
            "threads": {
              "type": "long"
            },
            "threads_daemon": {
              "type": "long"
            },
            "threads_peak": {
              "type": "long"
            },
            "threads_totalStarted": {
              "type": "long"
            },
            "uptime": {
              "type": "float"
            }
          }
        },
        "statusCode": {
          "type": "long"
        }
      }
    },
    "tags": {
      "type": "keyword",
      "ignore_above": 1024
    },
    "type": {
      "type": "keyword",
      "ignore_above": 1024
    }
  }
} ....}

Nothing displayed using a Timelion syntax query
(Tyler Smalley) #2

Duplicate post: Nothing displayed using a Timelion syntax query


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.