# \[Grafana\]\[Elastic Search\] :: Plot IPs hitting website with their Distinct Count

**URL:** <https://discuss.elastic.co/t/grafana-elastic-search-plot-ips-hitting-website-with-their-distinct-count/290675>\
**Category:** Elasticsearch\
**Created:** [December 1, 2021, 2:01pm UTC](https://discuss.elastic.co/t/grafana-elastic-search-plot-ips-hitting-website-with-their-distinct-count/290675 "2021-12-01T14:01:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thejusjose-mindcurv](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@thejusjose-mindcurv](https://discuss.elastic.co/u/thejusjose-mindcurv)\
**Post date:** [December 1, 2021, 2:01pm UTC](https://discuss.elastic.co/t/grafana-elastic-search-plot-ips-hitting-website-with-their-distinct-count/290675/1 "2021-12-01T14:01:00Z")

</div>

Hi all,

## Requirement

Get the Top hitting IPs and their count and visualize in Grafana

We had this implemented already in Kibana visualization where we have metrics and buckets to filter out the required fields.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/b/0bac4dcd2cc6a3a5dda9cc0b00b7a89464fbb83b.png)

We are trying to populate the distinct IP (dynamic values) and their count in Grafana (version 7.5.11).

We were able to populate the logs from ES into Grafana, however unable to achieve the requirement (mentioned earlier).

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9a90d00293ed74e4443970f90a33354856136e92.png)

Data Source :: Elastic Search (version 7.8.0)

Could someone please advise if this is feasible and steps to achieve if any ?

---

<div class="post-metadata">

**Author:** ![thejusjose-mindcurv](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@thejusjose-mindcurv](https://discuss.elastic.co/u/thejusjose-mindcurv)\
**Post date:** [December 2, 2021, 2:07pm UTC](https://discuss.elastic.co/t/grafana-elastic-search-plot-ips-hitting-website-with-their-distinct-count/290675/2 "2021-12-02T14:07:35Z")

</div>

Issue solved!

Added the params as in screenshot with the timeframe set to a larger duration say yesterday

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/c/2cc5874eed956632b54fbf69396419aa5d35b875.png)

---

<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:** [December 30, 2021, 2:08pm UTC](https://discuss.elastic.co/t/grafana-elastic-search-plot-ips-hitting-website-with-their-distinct-count/290675/3 "2021-12-30T14:08:18Z")

</div>

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