# Get per process Metrics

**URL:** <https://discuss.elastic.co/t/get-per-process-metrics/270242>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-sql\
**Created:** [April 15, 2021, 1:35pm UTC](https://discuss.elastic.co/t/get-per-process-metrics/270242 "2021-04-15T13:35:20Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Dzious](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@Dzious](https://discuss.elastic.co/u/Dzious)\
**Post date:** [April 15, 2021, 3:05pm UTC](https://discuss.elastic.co/t/get-per-process-metrics/270242/7 "2021-04-15T15:05:24Z")

</div>

Yeah I used the break down by pid but as you can see it create ranges and not 4000 -\> 4999, 5000 -\> 5999 (this i what i meant here :

> [@Dzious](#):
>
> If i have process 1 and 2 which takes 30 and 1 % of memory usage, lens show me a 31% memory usage on the pid range between 1 and 10 and this is not accurate enough for my usage

I can understand why it does such a thing but it does not fit with PID because in my opinion you want to know the exact pid of the process that uses a lot of memory. But it's such a special case that you cannot manage this and make it simple to use. moreover, There are so many process at the same time on a system this can make the visualisation really hard to read.  
I'm trying to create something that would best fit my usecase in a TSVB visualisation atm

Alright no problem 🙂 I think this could be a great addition in the future for people who wants to create their custom visualisations with very specific requierements.  
I do know about the discover page thanks 😃 I was wondering if this feature exists in order to understand the way data gets fetch more than just looking at row data

Edit : I know this is a bit off topic but is there a way to retrive other data than {{value}} in a TSVB Data Formatter template ?

---

_[View the full topic](https://discuss.elastic.co/t/get-per-process-metrics/270242)._
