# Help with Vizualization for Kibana

**URL:** <https://discuss.elastic.co/t/help-with-vizualization-for-kibana/166560>\
**Category:** Kibana\
**Created:** [January 31, 2019, 1:17pm UTC](https://discuss.elastic.co/t/help-with-vizualization-for-kibana/166560 "2019-01-31T13:17:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naveesh\_Doolhur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/naveesh_doolhur/32/53548_2.png) [@Naveesh\_Doolhur](https://discuss.elastic.co/u/Naveesh_Doolhur)\
**Post date:** [January 31, 2019, 1:17pm UTC](https://discuss.elastic.co/t/help-with-vizualization-for-kibana/166560/1 "2019-01-31T13:17:27Z")

</div>

Hello,

I have an index that keeps data sources from multiple platforms. Each provide me the number of active users at certain point in time every minute.

eg.  
Platform:Platform1, Datetime:5hr10, ActiveUsers:10  
Platform:Platform2, Datetime:5hr11, ActiveUsers:13  
Platform:Platform3, Datetime: 5hr14, ActiveUsers:6

I want to plot a DateHistogram, which provides me the total number of active users per 5 min. So for the period of 5hr10 to 5hr15 it should give me 29.

But the issue is if I am viewing it for 1 week period, the interval changes from 5 min to 1hour and the total is given per hour which is much higher (due to huge amount of data).

Is there a way to display the max per auto interval which will be the sum of all active users within 5 min interval.

So if within 1 hour, the maximum sum per 5 min is 60, i should get 60.

Thanks

---

<div class="post-metadata">

**Author:** ![Ritesh\_Uniyal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ritesh_uniyal/32/43678_2.png) [@Ritesh\_Uniyal](https://discuss.elastic.co/u/Ritesh_Uniyal)\
**Post date:** [January 31, 2019, 3:57pm UTC](https://discuss.elastic.co/t/help-with-vizualization-for-kibana/166560/2 "2019-01-31T15:57:56Z")

</div>

Please use Custom in Interval and set it to 5m

 ![37%20AM](https://us1.discourse-cdn.com/elastic/original/3X/0/0/00d755ef31917842eccfdb184e363b0e9acc3cb3.png)

---

<div class="post-metadata">

**Author:** ![chiluka\_bharath](https://avatars.discourse-cdn.com/v4/letter/c/ce7236/32.png) [@chiluka\_bharath](https://discuss.elastic.co/u/chiluka_bharath)\
**Post date:** [January 31, 2019, 4:16pm UTC](https://discuss.elastic.co/t/help-with-vizualization-for-kibana/166560/3 "2019-01-31T16:16:56Z")

</div>

hi,  
i need small help i wrote this code in dev-tools console  
for retrieving information about the selected fields only but it is displaying all fields  
**input**  
GET /\_search?&pretty=true&size=10  
{

"query": {  
"query\_string": {  
"\_source":["countryCode","smsCategory","smsStatus"]  
"query": "countryCode:SA AND serviceName:SMS",  
"analyze\_wildcard": true  
}  
}

}

---

<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:** [February 28, 2019, 4:16pm UTC](https://discuss.elastic.co/t/help-with-vizualization-for-kibana/166560/4 "2019-02-28T16:16:57Z")

</div>

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