# Logstash error -"Could not load '.aprc' from ENV\['HOME'\]: couldn't find HOME environment -- expanding \`~"

**URL:** <https://discuss.elastic.co/t/logstash-error-could-not-load-aprc-from-env-home-couldnt-find-home-environment-expanding/328318>\
**Category:** Logstash\
**Created:** [March 23, 2023, 7:36am UTC](https://discuss.elastic.co/t/logstash-error-could-not-load-aprc-from-env-home-couldnt-find-home-environment-expanding/328318 "2023-03-23T07:36:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shreesh\_Narayanan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shreesh_narayanan/32/87312_2.png) [@Shreesh\_Narayanan](https://discuss.elastic.co/u/Shreesh_Narayanan)\
**Post date:** [March 23, 2023, 7:36am UTC](https://discuss.elastic.co/t/logstash-error-could-not-load-aprc-from-env-home-couldnt-find-home-environment-expanding/328318/1 "2023-03-23T07:36:38Z")

</div>

Hi Folks,

I have a log file that logstash(8.6.2) is successfully parse, but has this error . i'm not sure whats causing it ? Could have a look ? , the data doesnt appear in kibana either

```auto

Could not load '.aprc' from ENV['HOME']: couldn't find HOME environment -- expanding `~'
{
            "num_packets_read" => "1143166",
         "num_packets_written" => "1649170",
                  "bytes_read" => 1026937866,
    "interface_logger_version" => "1",
                "interface_ip" => "23.205.102.157",
               "bytes_written" => 1669215194,
                   "interface" => "eth0",
                  "@timestamp" => 2023-03-23T00:38:05.000Z
}
Could not load '.aprc' from ENV['HOME']: couldn't find HOME environment -- expanding `~'
Could not load '.aprc' from ENV['HOME']: couldn't find HOME environment -- expanding `~'
Could not load '.aprc' from ENV['HOME']: couldn't find HOME environment -- expanding `~'
{
            "num_packets_read" => "1201684",
         "num_packets_written" => "2174014",
                  "bytes_read" => 994509788,
    "interface_logger_version" => "1",
                "interface_ip" => "23.205.102.157",
               "bytes_written" => 2248604806,
                   "interface" => "eth0",
                  "@timestamp" => 2023-03-22T23:55:35.000Z
}

```

---

<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 20, 2023, 7:37am UTC](https://discuss.elastic.co/t/logstash-error-could-not-load-aprc-from-env-home-couldnt-find-home-environment-expanding/328318/2 "2023-04-20T07:37:10Z")

</div>

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