# How to log additional data for a given process such as "Command Line"?

**URL:** <https://discuss.elastic.co/t/how-to-log-additional-data-for-a-given-process-such-as-command-line/39702>\
**Category:** Beats\
**Created:** [January 20, 2016, 8:55pm UTC](https://discuss.elastic.co/t/how-to-log-additional-data-for-a-given-process-such-as-command-line/39702 "2016-01-20T20:55:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![styfle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/styfle/32/7291_2.png) [@styfle](https://discuss.elastic.co/u/styfle)\
**Post date:** [January 20, 2016, 8:55pm UTC](https://discuss.elastic.co/t/how-to-log-additional-data-for-a-given-process-such-as-command-line/39702/1 "2016-01-20T20:55:35Z")

</div>

I am using the latest topbeat 2.1.1 with elasticsearch 2.1.1 on Windows.  
My goal is to see CPU usage and Memory usage for several `w3wp.exe` processes (IIS App Pools) on the machine.  
The default `topbeat.yml` is logging the `proc.name` and `proc.cpu.total` which is great however I would like to add "Command line" which is a column in Windows Task manager so I can see the exact command showing the app pool name and other details. Here is a screenshot below

 ![](https://us1.discourse-cdn.com/elastic/original/2X/f/fa4ae9c03c604909fdf20bad0d47bc15c58c621f.png)

How can I add this "Command line" column to topbeat?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [January 20, 2016, 9:03pm UTC](https://discuss.elastic.co/t/how-to-log-additional-data-for-a-given-process-such-as-command-line/39702/2 "2016-01-20T21:03:58Z")

</div>

This feature has been implemented, but hasn't been released yet. The username that the process is being run as is also being implemented.

> <https://github.com/elastic/beats/issues/533>

---

<div class="post-metadata">

**Author:** ![styfle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/styfle/32/7291_2.png) [@styfle](https://discuss.elastic.co/u/styfle)\
**Post date:** [January 20, 2016, 9:07pm UTC](https://discuss.elastic.co/t/how-to-log-additional-data-for-a-given-process-such-as-command-line/39702/3 "2016-01-20T21:07:55Z")

</div>

Thanks for the quick response. 😀  
Roughly when do you expect this feature to be released?

---

<div class="post-metadata">

**Author:** ![styfle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/styfle/32/7291_2.png) [@styfle](https://discuss.elastic.co/u/styfle)\
**Post date:** [February 8, 2016, 7:53pm UTC](https://discuss.elastic.co/t/how-to-log-additional-data-for-a-given-process-such-as-command-line/39702/4 "2016-02-08T19:53:01Z")

</div>

I was able to get the nightly 1.2.0 working from here:  
[https://beats-nightlies.s3.amazonaws.com/index.html?prefix=topbeat/](https://beats-nightlies.s3.amazonaws.com/index.html?prefix=topbeat/)

I'm still wondering when this will be released 🚢

---

<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:** [July 5, 2017, 9:55pm UTC](https://discuss.elastic.co/t/how-to-log-additional-data-for-a-given-process-such-as-command-line/39702/5 "2017-07-05T21:55:56Z")

</div>


