# Chart data disappears or shows up very differently when setting smaller timeframe

**URL:** <https://discuss.elastic.co/t/chart-data-disappears-or-shows-up-very-differently-when-setting-smaller-timeframe/296412>\
**Category:** Kibana\
**Created:** [February 7, 2022, 5:02am UTC](https://discuss.elastic.co/t/chart-data-disappears-or-shows-up-very-differently-when-setting-smaller-timeframe/296412 "2022-02-07T05:02:03Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 8, 2022, 6:49am UTC](https://discuss.elastic.co/t/chart-data-disappears-or-shows-up-very-differently-when-setting-smaller-timeframe/296412/21 "2022-02-08T06:49:11Z")

</div>

Thanks, that looks nothing strange. You have to look into the documents itself. For example how are system.network.out.bytes and system.network.in.bytes of the documents from 2022-02-07T11:30:00.000+08:00 to  
2022-02-07T11:31:00.000+08:00? Around ²⁰tb?

---

<div class="post-metadata">

**Author:** ![aqiank](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aqiank/32/39723_2.png) [@aqiank](https://discuss.elastic.co/u/aqiank)\
**Post date:** [February 8, 2022, 8:45am UTC](https://discuss.elastic.co/t/chart-data-disappears-or-shows-up-very-differently-when-setting-smaller-timeframe/296412/22 "2022-02-08T08:45:23Z")

</div>

Yeah, the `system.network.out.bytes` was around 20TB.

```auto
{
  "took": 7,
  "timed_out": false,
  "_shards": {
    "total": 44,
    "successful": 44,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 6,
      "relation": "eq"
    },
    "max_score": 0.0,
    "hits": [
      {
        "_index": "metricbeat-7.16.2-2022.02.07-000005",
        "_type": "_doc",
        "_id": "LTk70n4BW_XeLH3pg8Gz",
        "_score": 0.0,
        "_source": {
          "@timestamp": "2022-02-07T03:30:21.764Z",
          "system": {
            "network": {
              "in": {
                "bytes": 271154595421,
                "dropped": 0,
                "packets": 2601038784,
                "errors": 0
              },
              "name": "eth0",
              "out": {
                "bytes": 22161935901082,
                "dropped": 0,
                "errors": 0,
                "packets": 2993968171
              }
            }
          }
        }
      },
      {
        "_index": "metricbeat-7.16.2-2022.02.07-000005",
        "_type": "_doc",
        "_id": "Kzk70n4BW_XeLH3pXLyk",
        "_score": 0.0,
        "_source": {
          "@timestamp": "2022-02-07T03:30:11.764Z",
          "system": {
            "network": {
              "in": {
                "bytes": 271154272882,
                "dropped": 0,
                "packets": 2601035189,
                "errors": 0
              },
              "name": "eth0",
              "out": {
                "bytes": 22161926944563,
                "dropped": 0,
                "errors": 0,
                "packets": 2993964311
              }
            }
          }
        }
      },
      {
        "_index": "metricbeat-7.16.2-2022.02.07-000005",
        "_type": "_doc",
        "_id": "y_I70n4BAC5oU7efNaWb",
        "_score": 0.0,
        "_source": {
          "@timestamp": "2022-02-07T03:30:01.764Z",
          "system": {
            "network": {
              "in": {
                "bytes": 271153966437,
                "dropped": 0,
                "errors": 0,
                "packets": 2601031747
              },
              "name": "eth0",
              "out": {
                "bytes": 22161918375282,
                "dropped": 0,
                "packets": 2993960627,
                "errors": 0
              }
            }
          }
        }
      },
      {
        "_index": "metricbeat-7.16.2-2022.02.07-000005",
        "_type": "_doc",
        "_id": "ivI70n4BAC5oU7efqrLD",
        "_score": 0.0,
        "_source": {
          "@timestamp": "2022-02-07T03:30:31.764Z",
          "system": {
            "network": {
              "in": {
                "bytes": 271154934755,
                "dropped": 0,
                "packets": 2601042461,
                "errors": 0
              },
              "name": "eth0",
              "out": {
                "bytes": 22161944825210,
                "dropped": 0,
                "errors": 0,
                "packets": 2993972095
              }
            }
          }
        }
      },
      {
        "_index": "metricbeat-7.16.2-2022.02.07-000005",
        "_type": "_doc",
        "_id": "WDk70n4BW_XeLH3p0cvT",
        "_score": 0.0,
        "_source": {
          "@timestamp": "2022-02-07T03:30:41.764Z",
          "system": {
            "network": {
              "in": {
                "bytes": 271155283728,
                "dropped": 0,
                "errors": 0,
                "packets": 2601046080
              },
              "name": "eth0",
              "out": {
                "bytes": 22161953551923,
                "dropped": 0,
                "errors": 0,
                "packets": 2993975987
              }
            }
          }
        }
      },
      {
        "_index": "metricbeat-7.16.2-2022.02.07-000005",
        "_type": "_doc",
        "_id": "Wjk70n4BW_XeLH3p-NDj",
        "_score": 0.0,
        "_source": {
          "@timestamp": "2022-02-07T03:30:51.764Z",
          "system": {
            "network": {
              "in": {
                "bytes": 271155602960,
                "dropped": 0,
                "packets": 2601049731,
                "errors": 0
              },
              "name": "eth0",
              "out": {
                "bytes": 22161962429927,
                "dropped": 0,
                "errors": 0,
                "packets": 2993979898
              }
            }
          }
        }
      }
    ]
  }
}

```

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 8, 2022, 3:12pm UTC](https://discuss.elastic.co/t/chart-data-disappears-or-shows-up-very-differently-when-setting-smaller-timeframe/296412/23 "2022-02-08T15:12:09Z")

</div>

Then, what is wrong? The spike reflects the data. Rather, graphs with short time intervals **failed** to catch the spikes.

What actually happend is that after a slight gap, sharp decrease of network.in/out occured. It is possible something happend then, but it is beyonde this graph.

Anyway, as for the default strategy against missing values of original series for `differences` Formula, `missing value: last` could be safer. You may issue a feature request [here](https://github.com/elastic/kibana/issues/new?assignees=&labels=&template=Feature_request.md), if you want.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 8, 2022, 3:12pm UTC](https://discuss.elastic.co/t/chart-data-disappears-or-shows-up-very-differently-when-setting-smaller-timeframe/296412/24 "2022-03-08T15:12:33Z")

</div>

Closed on March 8, 2022, 3:12pm UTC

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

[Previous page](https://discuss.elastic.co/t/chart-data-disappears-or-shows-up-very-differently-when-setting-smaller-timeframe/296412.md?page=1)
