# The process’s command-line arguments need to be displayed in the problem

**URL:** <https://community.dynatrace.com/t/the-process-s-command-line-arguments-need-to-be-displayed-in-the-problem/54365>\
**Category:** Alerting\
**Tags:** problem-detection, metric-events, anomaly-detection, problems\
**Created:** [December 11, 2025, 9:45am UTC](https://community.dynatrace.com/t/the-process-s-command-line-arguments-need-to-be-displayed-in-the-problem/54365 "2025-12-11T09:45:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichalSzekely](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@MichalSzekely](https://community.dynatrace.com/u/MichalSzekely)\
**Post date:** [December 11, 2025, 9:45am UTC](https://community.dynatrace.com/t/the-process-s-command-line-arguments-need-to-be-displayed-in-the-problem/54365/1 "2025-12-11T09:45:16Z")

</div>

I’m using a Metric event to monitor processes via the metric selector builtin:pgi.availability.state.  
My question is whether it’s possible to somehow add the “Command line args” value to the created problem. This value appears in the process details, but it cannot be added as a dimension.

Is there a way to use a tag or something else, or is this simply not possible and I would need to build log monitoring from scratch in order to get this detail into the problem?

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 11, 2025, 2:05pm UTC](https://community.dynatrace.com/t/the-process-s-command-line-arguments-need-to-be-displayed-in-the-problem/54365/2 "2025-12-11T14:05:45Z")

</div>

Hi,

You can using oneagentctl to ingest custom metadata.

Best regards

---

<div class="post-metadata">

**Author:** ![MichalSzekely](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@MichalSzekely](https://community.dynatrace.com/u/MichalSzekely)\
**Post date:** [December 11, 2025, 2:19pm UTC](https://community.dynatrace.com/t/the-process-s-command-line-arguments-need-to-be-displayed-in-the-problem/54365/3 "2025-12-11T14:19:07Z")

</div>

hi,  
thanks, but I think this is for a static value, right? I need to capture the command-line arguments for processes like java.exe. There are multiple processes running, their command-line arguments differ, and they change over time.

Br,

Michal

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [December 11, 2025, 2:33pm UTC](https://community.dynatrace.com/t/the-process-s-command-line-arguments-need-to-be-displayed-in-the-problem/54365/4 "2025-12-11T14:33:03Z")

</div>

Hi,

You have a dynamic value placeholder, but value is taken from process group, not process groups instance:

 ![AntonPineiro_0-1765463553740.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/831c75b5dc4f34c077871ce3686a7c968fccf38f.png)

Best regards
