# \[Metricbeat\] system.process.cmdline often missing

**URL:** <https://discuss.elastic.co/t/metricbeat-system-process-cmdline-often-missing/81101>\
**Category:** Beats\
**Created:** [April 4, 2017, 8:57am UTC](https://discuss.elastic.co/t/metricbeat-system-process-cmdline-often-missing/81101 "2017-04-04T08:57:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abraxxa](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@abraxxa](https://discuss.elastic.co/u/abraxxa)\
**Post date:** [April 4, 2017, 8:57am UTC](https://discuss.elastic.co/t/metricbeat-system-process-cmdline-often-missing/81101/1 "2017-04-04T08:57:27Z")

</div>

This is a follow-up of [https://github.com/elastic/beats/issues/428](https://github.com/elastic/beats/issues/428) for process name limitation of 15 characters which led to the addition of `system.process.cmdline`.  
When reviewing the issue I noticed that the process name in the Metricbeat-processes (5.3.0) dashboard is still cut off at 15 chars because `system.process.name` is used.  
`system.process.cmdline`can't be used as a replacement because it's often undefined in the index written by Metricbeat.

---

<div class="post-metadata">

**Author:** ![monica](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/monica/32/3696_2.png) [@monica](https://discuss.elastic.co/u/monica)\
**Post date:** [April 4, 2017, 10:05am UTC](https://discuss.elastic.co/t/metricbeat-system-process-cmdline-often-missing/81101/2 "2017-04-04T10:05:43Z")

</div>

I am able to reproduce the issue on macOS. The `system.process.name` is limited to 15 characters. I understand the `system.process.cmdline` is difficult to use as it's usually a very long string. I have re-opened the issue to fix the issue.  
Regarding the value of `system.process.cmdline`, I am not sure I can follow here. Is it exported by Metricbeat?

---

<div class="post-metadata">

**Author:** ![abraxxa](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@abraxxa](https://discuss.elastic.co/u/abraxxa)\
**Post date:** [April 11, 2017, 10:51am UTC](https://discuss.elastic.co/t/metricbeat-system-process-cmdline-often-missing/81101/3 "2017-04-11T10:51:42Z")

</div>

Yes it seems that it comes from Metricbeat as I just installed that.

---

<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:** [April 25, 2017, 8:57am UTC](https://discuss.elastic.co/t/metricbeat-system-process-cmdline-often-missing/81101/4 "2017-04-25T08:57:39Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
