# "OneAgent log analytics" process lost after reactivating monitoring

**URL:** <https://community.dynatrace.com/t/oneagent-log-analytics-process-lost-after-reactivating-monitoring/53077>\
**Category:** Dynatrace API\
**Tags:** log-analytics, dynatrace-api\
**Created:** [August 22, 2025, 12:58pm UTC](https://community.dynatrace.com/t/oneagent-log-analytics-process-lost-after-reactivating-monitoring/53077 "2025-08-22T12:58:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexLarrieu](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@AlexLarrieu](https://community.dynatrace.com/u/AlexLarrieu)\
**Post date:** [August 22, 2025, 12:58pm UTC](https://community.dynatrace.com/t/oneagent-log-analytics-process-lost-after-reactivating-monitoring/53077/1 "2025-08-22T12:58:39Z")

</div>

Hello,

We use a API v2 to disable and enable monitoring.

_curl ‘https://[tenant]/api/v2/settings/objects’ \_

_-X POST \_

_-H ‘Accept: application/json; charset=utf-8’ \_

_-H ‘Content-Type: application/json; charset=utf-8’ \_

_-H ‘Authorization: Api-Token ACCESS\_TOKEN’ \_

_-d $‘[{“schemaId”:“builtin:host.monitoring”,“schemaVersion”:“1.4”,“scope”:“HOST-ID”,“value”:{“enabled”:true}}]’_

After activation, we lose the process «OneAgent log analytics&nbsp;»&nbsp; as well as others (OneAgent extensions and OneAgent network). So no more log ingestion.

The healthcheck.log file &nbsp;gives us information&nbsp;:  
&nbsp;_[0000406b] [severe] [oneagentloganalytics] Failed to create named pipe /var/lib/dynatrace/oneagent/agent/watchdog/oneagentloganalytics\_pipe\_16485: File exists_

It is true, this file exists.

If we manually delete the «&nbsp;oneagentloganalytics\_pipe\_16485&nbsp;» file, the «&nbsp;OneAgent log analytics&nbsp;» is restarted.

How to use this API without losing log ingestion?  
Or is there a problem with the operation of Oneagent?

---

<div class="post-metadata">

**Author:** ![AlexLarrieu](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@AlexLarrieu](https://community.dynatrace.com/u/AlexLarrieu)\
**Post date:** [August 26, 2025, 8:08am UTC](https://community.dynatrace.com/t/oneagent-log-analytics-process-lost-after-reactivating-monitoring/53077/2 "2025-08-26T08:08:01Z")

</div>

If I use the button “Monitor this host” in host monitoring settings,&nbsp;processes restart.  
I think that confirms that the API has a problem.

---

<div class="post-metadata">

**Author:** ![MichalGebacki](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michalgebacki/32/41585_2.png) [@MichalGebacki](https://community.dynatrace.com/u/MichalGebacki)\
**Post date:** [December 12, 2025, 1:57pm UTC](https://community.dynatrace.com/t/oneagent-log-analytics-process-lost-after-reactivating-monitoring/53077/3 "2025-12-12T13:57:31Z")

</div>

Hello,&nbsp;[@AlexLarrieu](https://community.dynatrace.com/user/23994)!

Could you take a look at these Documentation pages and let us know whether anything in here is helping do address your issues highlighted above?

- **[Log ingestion via OneAgent](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-ingestion/lma-log-ingestion-via-oa)**
- **[Log ingestion API](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-ingestion/lma-log-ingestion-via-api)**

Thank you for any feedback!
