# Infra‑only OneAgent: Custom host properties set via --set-host-property not displayed

**URL:** <https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538>\
**Category:** Open Q&A\
**Tags:** infrastructure-operations\
**Created:** [January 6, 2026, 2:16pm UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538 "2026-01-06T14:16:22Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 6, 2026, 2:16pm UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/1 "2026-01-06T14:16:22Z")

</div>

Hello All,

I’m running Dynatrace OneAgent in infra‑only mode and tried to configure custom host properties using the&nbsp; **--set-host-property** flag, for example:

--set-host-property=Environment=NONPROD  
--set-host-property=Owner=Container-Orchestration

However, these properties are **not showing up under the “Properties and tags” section** of the host overview in Dynatrace.

 ![Gyanendra1_1-1767708964097.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/c/dc474dcbdd17146afe9fe945ead6581fef478bcb.png)

My questions are:

1. Is this the expected behavior for **infra‑only mode** (i.e., custom host properties not supported)?
2. If so, what’s the recommended way to surface these properties in Dynatrace when using infra‑only agents?
3. Has anyone successfully used **--set-host-property** &nbsp;in infra‑only mode, or is this feature limited to full‑stack deployments?

 ![Gyanendra1_1-1767708964097.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/c/dc474dcbdd17146afe9fe945ead6581fef478bcb.png)

Any guidance or confirmation would be greatly appreciated.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 6, 2026, 2:29pm UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/2 "2026-01-06T14:29:08Z")

</div>

Also we are using terraform to deploy infraonly and passing this as args.

args:  
- --set-app-log-content-access=true  
- --set-host-property=Compliance=None  
- --set-host-property=Environment=${oneagent\_deploy\_env}  
- --set-host-property=NodeType=Worker  
- --set-host-property=Owner=${oneagent\_owner}

---

<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:** [January 7, 2026, 9:39am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/3 "2026-01-07T09:39:09Z")

</div>

Hi,

Scroll down in the host view, I think they are added as metadata in the bottom.

And you can create auto tagging rules also, if you want those as tags.

Best regards

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 8, 2026, 1:50pm UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/4 "2026-01-08T13:50:02Z")

</div>

Thanks&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;for your inputs.

I checked, but no metadata is showing for Infra-only. I can see it for Full stack, but not for Infra-only.

---

<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:** [January 8, 2026, 3:13pm UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/5 "2026-01-08T15:13:15Z")

</div>

Hi,

Maybe is about terraform way or syntax. You can ingest host properties or host tags using oneagentctl, no matter is fullstack or inframode.

Best regards

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 8, 2026, 3:26pm UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/6 "2026-01-08T15:26:21Z")

</div>

tried that as well, still no luck. Form host it is showing but in DT it is not showing

 ![Gyanendra1_0-1767885944292.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/7/e75ab79e4ccbacaea5e7a201b166d6591e8022cb.png)

---

<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:** [January 9, 2026, 7:40am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/7 "2026-01-09T07:40:42Z")

</div>

Hi,

As I read Kubernetes… Which mode has OneAgent? Infra mode or PaaS mode? Can you share host properties in the Dynatrace UI?

Best regards

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 9, 2026, 9:21am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/8 "2026-01-09T09:21:20Z")

</div>

![Gyanendra1_0-1767950361405.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/8/8829954925967fad84d3bc9848d424379f3bac91.png)

this one is Infraonly, this one not showing metadata

 ![Gyanendra1_1-1767950458267.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/4/f45e9779407e507962410b6606c549a1ef536651.png)

this one is fullstack

---

<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:** [January 9, 2026, 9:46am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/9 "2026-01-09T09:46:40Z")

</div>

Hi,

I can see already your properties in the bottom on your screen, NodeType, Compliance… Metadata is there as expected.

Best regards

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 9, 2026, 9:48am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/10 "2026-01-09T09:48:56Z")

</div>

yes but that is for fullstack server,&nbsp; &nbsp;server 844 is not showing metadata, in configuration it has same metadata as server 840

---

<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:** [January 9, 2026, 12:00pm UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/11 "2026-01-09T12:00:19Z")

</div>

Hi,

If you have 2 hosts, with same OneAgent version, with same OneAgent mode and one is working and another not, I would open a support ticket.

Best regards

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 12, 2026, 9:07am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/12 "2026-01-12T09:07:32Z")

</div>

Thank you&nbsp;[@AntonPineiro](https://community.dynatrace.com/user/58682)&nbsp;for your help and suggestions. I will raise a ticket.

---

<div class="post-metadata">

**Author:** ![rastislav\_danis](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@rastislav\_danis](https://community.dynatrace.com/u/rastislav_danis)\
**Post date:** [January 12, 2026, 9:33am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/13 "2026-01-12T09:33:19Z")

</div>

From your screenshots it seems that both (840, 844) agents are in full-stack mode.

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 12, 2026, 9:41am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/14 "2026-01-12T09:41:29Z")

</div>

ya even i am checking why it is showing sa full-stack in dt, but server 844 is configured as infraonly  
args:  
- --set-infra-only=true

---

<div class="post-metadata">

**Author:** ![rastislav\_danis](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@rastislav\_danis](https://community.dynatrace.com/u/rastislav_danis)\
**Post date:** [January 12, 2026, 9:44am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/15 "2026-01-12T09:44:52Z")

</div>

this setting has been changed a few versions before, actual is ([OneAgent configuration via command-line interface — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/shortlink/oneagentctl#infrastructure-monitoring%F0%9F%98%9E)

--set-monitoring-mode=infra-only

in fact, it was previously “--set-monitoring-mode=infrastructure”, setting you use was used even before 😉

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 12, 2026, 9:56am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/16 "2026-01-12T09:56:43Z")

</div>

ah okok, thank you for this, let me try and see if that works

---

<div class="post-metadata">

**Author:** ![Gyanendra1](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@Gyanendra1](https://community.dynatrace.com/u/Gyanendra1)\
**Post date:** [January 12, 2026, 10:26am UTC](https://community.dynatrace.com/t/infra-only-oneagent-custom-host-properties-set-via-set-host-property-not-displayed/54538/17 "2026-01-12T10:26:28Z")

</div>

it worked, thank you for your help.
