# Error getting details for process

**URL:** <https://discuss.elastic.co/t/error-getting-details-for-process/253061>\
**Category:** Endpoint Security\
**Created:** [October 22, 2020, 7:30pm UTC](https://discuss.elastic.co/t/error-getting-details-for-process/253061 "2020-10-22T19:30:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gnordli](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@gnordli](https://discuss.elastic.co/u/gnordli)\
**Post date:** [October 22, 2020, 7:30pm UTC](https://discuss.elastic.co/t/error-getting-details-for-process/253061/1 "2020-10-22T19:30:25Z")

</div>

I am seeing quite a few log entries like this. The Endpoint agent is running as the local system account.

```auto
{
  "@timestamp": "2020-10-22T17:46:14.800Z",
  "message": "Error getting details for process services.exe with pid=792: error getting process mem for pid=792: OpenProcess failed for pid=792: Access is denied.",
  "log": {
    "logger": "processes",
    "level": "debug",
    "offset": 2495650,
    "file": {
      "path": "C:\\Temp\\elastic-agent-7.9.2-windows-x86_64\\data\\logs\\default\\metricbeat-json.log"
    },
    "origin": {
      "file": {
        "name": "process/process.go",
        "line": 486
      }
    }
  },
  "input": {
    "type": "log"
  },
  "data_stream": {
    "type": "logs",
    "dataset": "elastic.agent.metricbeat",
    "namespace": "default"
  },
  "host": {
    "architecture": "x86_64",
    "name": "pc-xxxxx",
    "os": {
      "platform": "windows",
      "version": "10.0",
      "family": "windows",
      "name": "Windows 10 Pro",
      "kernel": "10.0.18362.1082 (WinBuild.160101.0800)",
      "build": "18363.1082"
    },
    "id": "d6b7e18d-bda8-4bab-9de2-a6583f8ca867",
    "ip": [
      "fe80::c01e:9b27:7b61:79e5",
      "x.x.x.x"
    ],
    "mac": [
      "14:dd:a9:25:0a:d0"
    ],
    "hostname": "pc-xxxxx"
  },
  "agent": {
    "ephemeral_id": "d229b56b-cf18-4e9b-9e9d-373e74671c41",
    "id": "a260d063-8c1b-4ee7-846b-af720510c026",
    "name": "pc-xxxxx",
    "type": "filebeat",
    "version": "7.9.2",
    "hostname": "pc-xxxxx"
  },
  "ecs": {
    "version": "1.5.0"
  },
  "event": {
    "dataset": "elastic.agent.metricbeat"
  },
  "_index": ".ds-logs-elastic.agent.metricbeat-default-000001",
  "_type": "_doc",
  "_id": "KqZrUXUB5sRTZ5HGHdYK",
  "_score": 1
}

```

thoughts?

thanks,  
Geoff

---

<div class="post-metadata">

**Author:** ![Frank\_Hassanabad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frank_hassanabad/32/49255_2.png) [@Frank\_Hassanabad](https://discuss.elastic.co/u/Frank_Hassanabad)\
**Post date:** [October 27, 2020, 4:33am UTC](https://discuss.elastic.co/t/error-getting-details-for-process/253061/2 "2020-10-27T04:33:31Z")

</div>

Hi ya' there Geoff,

I think this is out of my realm of knowledge but I did some searching around and found this ticket here which looks close to what you're seeing currently:

> <https://github.com/elastic/beats/issues/17314>
>
> For confirmed bugs, please report:
> Version: 7.x
> Operating System: Windows
> Discuss Forum URL:
> Steps to Reproduce:
> When running the system metricset, the debug log is filled...

---

<div class="post-metadata">

**Author:** ![gnordli](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@gnordli](https://discuss.elastic.co/u/gnordli)\
**Post date:** [October 27, 2020, 8:37pm UTC](https://discuss.elastic.co/t/error-getting-details-for-process/253061/3 "2020-10-27T20:37:39Z")

</div>

thanks @Frank_Hassanabad

When I look through those bugs, it doesn't appear to actually have a fix.

Maybe I am missing something.

---

<div class="post-metadata">

**Author:** ![Frank\_Hassanabad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frank_hassanabad/32/49255_2.png) [@Frank\_Hassanabad](https://discuss.elastic.co/u/Frank_Hassanabad)\
**Post date:** [October 27, 2020, 10:14pm UTC](https://discuss.elastic.co/t/error-getting-details-for-process/253061/4 "2020-10-27T22:14:34Z")

</div>

I'm not familiar in this area (so I might say something totally wrong) but it's looking like you're using metric beat and not having sufficient privileges to access some details of a particular process.

If so, the remedy would be to give your agent the correct privileges to allow it to access the details you want?

---

<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:** [November 24, 2020, 10:15pm UTC](https://discuss.elastic.co/t/error-getting-details-for-process/253061/5 "2020-11-24T22:15:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
