# How to get the sum in time of values in Lens

**URL:** <https://discuss.elastic.co/t/how-to-get-the-sum-in-time-of-values-in-lens/310735>\
**Category:** Kibana\
**Created:** [July 27, 2022, 10:06am UTC](https://discuss.elastic.co/t/how-to-get-the-sum-in-time-of-values-in-lens/310735 "2022-07-27T10:06:06Z")\
**Posts on this page:** 1\
**Showing post:** 37

<div class="post-metadata">

**Author:** ![its-ogawa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/its-ogawa/32/120829_2.png) [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Post date:** [August 3, 2022, 1:33am UTC](https://discuss.elastic.co/t/how-to-get-the-sum-in-time-of-values-in-lens/310735/37 "2022-08-03T01:33:40Z")

</div>

I have made a step forward.  
The single minimal configuration file you created worked.

Current Status. I am able to reproduce the same situation as you.

```auto
# curl -X GET "210.148.155.195:9200/_cat/indices/file*?v"
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open filebeat-7.12.0 GHo0AkwMR_metNn97AF00A 1 1 2 0 35.7kb 35.7kb
yellow open filebeat-7.12.0-nginx-access-2022.08.03 jjrmhSTsQh6RmGiBcUwnSA 1 1 2 0 47.1kb 47.1kb

```

Here are a few questions.

- Why is the index `filebeat-7.12.0` being created?

- Why is the `index.number_of_replica` setting not enabled?

```auto
# curl -X GET "210.148.155.195:9200/_cat/shards/file*?v"
index shard prirep state docs store ip node
filebeat-7.12.0-nginx-access-2022.08.03 0 p STARTED 2 47.1kb XXX.XXX.XXX.XXX ELSTEST-01
filebeat-7.12.0-nginx-access-2022.08.03 0 r UNASSIGNED
filebeat-7.12.0 0 p STARTED 2 35.7kb XXX.XXX.XXX.XXX ELSTEST-01
filebeat-7.12.0 0 r UNASSIGNED

```

---

_[View the full topic](https://discuss.elastic.co/t/how-to-get-the-sum-in-time-of-values-in-lens/310735)._
