# Elastic Agent

**URL:** https://discuss.elastic.co/c/elastic-stack/elastic-agent/91.md?page=39

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 40

---

## [How to add public package registry and my custom package registry in same kibana](https://discuss.elastic.co/t/how-to-add-public-package-registry-and-my-custom-package-registry-in-same-kibana/326946)

<div class="topic-metadata">

**Author:** [@aurangzeb99](https://discuss.elastic.co/u/aurangzeb99)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 2:21pm UTC](https://discuss.elastic.co/t/how-to-add-public-package-registry-and-my-custom-package-registry-in-same-kibana/326946 "2023-03-03T14:21:10Z")

</div>

can I manage only my custom integration with my custom registry and all the default integration should be present from public registry not from my custom package registry (docker container) ?

---

## [Integration upgrade is stuck and does not finish](https://discuss.elastic.co/t/integration-upgrade-is-stuck-and-does-not-finish/326919)

<div class="topic-metadata">

**Author:** [@norgro2601](https://discuss.elastic.co/u/norgro2601)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 9:05am UTC](https://discuss.elastic.co/t/integration-upgrade-is-stuck-and-does-not-finish/326919 "2023-03-03T09:05:44Z")

</div>

I wanted to upgrade my integrations to the latest version and this is running fine on all integrations but one, which got stuck and never releases again to give the upgrade a second try. Is there a way to reset the upgr…

---

## [Kubernetes - Inventory showing elastic agents instead of Host names](https://discuss.elastic.co/t/kubernetes-inventory-showing-elastic-agents-instead-of-host-names/323660)

<div class="topic-metadata">

**Author:** [@Pablo\_Halamaj](https://discuss.elastic.co/u/Pablo_Halamaj)\
**Replies:** 4\
**Last updated:** [March 2, 2023, 7:13pm UTC](https://discuss.elastic.co/t/kubernetes-inventory-showing-elastic-agents-instead-of-host-names/323660 "2023-03-02T19:13:07Z")

</div>

Hello, I set up Fleet and a bunch of agents running on a Kubernetes (K8S) cluster with the Kubernetes' integration. So far the log and metrics integration kind of work ( we see them on the DSs, the dashboards and the d…

---

## [How to install elastic search fleet server on Kubernetes](https://discuss.elastic.co/t/how-to-install-elastic-search-fleet-server-on-kubernetes/326880)

<div class="topic-metadata">

**Author:** [@iojas](https://discuss.elastic.co/u/iojas)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 6:03pm UTC](https://discuss.elastic.co/t/how-to-install-elastic-search-fleet-server-on-kubernetes/326880 "2023-03-02T18:03:56Z")

</div>

I think I have been going round and round with the whole setup. I am able to get the fleet connection working when working with ECK on cloud. Since it's a managed instance it comes prebuilt with fleet server installed. w…

---

## [Fleet Server seems to sent plain HTTP to Fleets Logstash Output](https://discuss.elastic.co/t/fleet-server-seems-to-sent-plain-http-to-fleets-logstash-output/324035)

<div class="topic-metadata">

**Author:** [@m-logs](https://discuss.elastic.co/u/m-logs)\
**Replies:** 14\
**Last updated:** [March 2, 2023, 4:13pm UTC](https://discuss.elastic.co/t/fleet-server-seems-to-sent-plain-http-to-fleets-logstash-output/324035 "2023-03-02T16:13:53Z")

</div>

Hello, I am currently trying to configure a logstash output for the fleet server. I followed the instruction from the documentation. First I set up a Elasticsearch output for the fleet server. That worked fine. After t…

---

## [Kubernetes integration does not work on Elasticsearch/Kibana ver. 8.6.2 (SSL issue)](https://discuss.elastic.co/t/kubernetes-integration-does-not-work-on-elasticsearch-kibana-ver-8-6-2-ssl-issue/326306)

<div class="topic-metadata">

**Author:** [@tgolubic](https://discuss.elastic.co/u/tgolubic)\
**Replies:** 15\
**Last updated:** [March 2, 2023, 3:57pm UTC](https://discuss.elastic.co/t/kubernetes-integration-does-not-work-on-elasticsearch-kibana-ver-8-6-2-ssl-issue/326306 "2023-03-02T15:57:47Z")

</div>

Hello team, I have a test environment set up that hosts a 3 node k8s cluster, Elasticsearch and Kibana. ELK is installed on a separate server. ELK works without problems and the integration with Kuberentes was done acco…

---

## [Error fetching data for metricset http.json](https://discuss.elastic.co/t/error-fetching-data-for-metricset-http-json/326848)

<div class="topic-metadata">

**Author:** [@abdul90082](https://discuss.elastic.co/u/abdul90082)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 12:41pm UTC](https://discuss.elastic.co/t/error-fetching-data-for-metricset-http-json/326848 "2023-03-02T12:41:03Z")

</div>

{ "log.level": "error", "@timestamp": "2023-03-02T11:40:42.101Z", "message": "Error fetching data for metricset http.json: error making http request: Get \\"http://unix/stats\\": context deadline exceeded (Client.Timeout e…

---

## [Cannot collect logs from kubernetes with containerd runtimes](https://discuss.elastic.co/t/cannot-collect-logs-from-kubernetes-with-containerd-runtimes/326678)

<div class="topic-metadata">

**Author:** [@venturieffect](https://discuss.elastic.co/u/venturieffect)\
**Replies:** 2\
**Last updated:** [March 2, 2023, 8:46am UTC](https://discuss.elastic.co/t/cannot-collect-logs-from-kubernetes-with-containerd-runtimes/326678 "2023-03-02T08:46:17Z")

</div>

Hi everyone We deployed elastic agents with kubernetes integrations on newly installed kubernetes clusters 1.24. We noticed some missing logs and investigated the agents logs and status: we have this kind of error for e…

---

## [How to Add custom integration into elastic-agent integration package registry](https://discuss.elastic.co/t/how-to-add-custom-integration-into-elastic-agent-integration-package-registry/326740)

<div class="topic-metadata">

**Author:** [@aurangzeb99](https://discuss.elastic.co/u/aurangzeb99)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 9:29pm UTC](https://discuss.elastic.co/t/how-to-add-custom-integration-into-elastic-agent-integration-package-registry/326740 "2023-03-01T21:29:05Z")

</div>

I am Following this guide Build an integration build is successfully done using the command elastic-package build getting error Custom build packages directory found: /opt/elastic-package/build/packages Packages fro…

---

## [Ha Proxy integration issues](https://discuss.elastic.co/t/ha-proxy-integration-issues/326785)

<div class="topic-metadata">

**Author:** [@Mistral](https://discuss.elastic.co/u/Mistral)\
**Replies:** 0\
**Last updated:** [March 1, 2023, 4:37pm UTC](https://discuss.elastic.co/t/ha-proxy-integration-issues/326785 "2023-03-01T16:37:15Z")

</div>

Hey, I'm trying to make the HA Proxy integration working on my ELK stack. I'm able to gather the system metrics as expected, so I tried to add the HA Proxy integration on my hosts with HA proxy servers running. So what…

---

## [How to install custom package of elastic-agent in my kibana](https://discuss.elastic.co/t/how-to-install-custom-package-of-elastic-agent-in-my-kibana/326741)

<div class="topic-metadata">

**Author:** [@aurangzeb99](https://discuss.elastic.co/u/aurangzeb99)\
**Replies:** 3\
**Last updated:** [March 1, 2023, 9:16am UTC](https://discuss.elastic.co/t/how-to-install-custom-package-of-elastic-agent-in-my-kibana/326741 "2023-03-01T09:16:21Z")

</div>

I Followed this link and created custom package for elastic-agent (integration) Build an integration after creating build .zip of the package how i can install this package (integration) into my elasticsearch-kibana ?? …

---

## [Elastic Agents fail to upgrade from Fleet, shows "Updating" status for more than a week](https://discuss.elastic.co/t/elastic-agents-fail-to-upgrade-from-fleet-shows-updating-status-for-more-than-a-week/325426)

<div class="topic-metadata">

**Author:** [@DougR](https://discuss.elastic.co/u/DougR)\
**Replies:** 13\
**Last updated:** [February 28, 2023, 4:57pm UTC](https://discuss.elastic.co/t/elastic-agents-fail-to-upgrade-from-fleet-shows-updating-status-for-more-than-a-week/325426 "2023-02-28T16:57:37Z")

</div>

I recently upgraded my Elastic Cloud instance to 8.6.1. After upgrading, I triggered an agent upgrade in Fleet to v8.6.1. The agents DID NOT upgrade and were stuck in Updating status for almost a week. If I go into the s…

---

## [Elastic agent transfer via logstahsh with incomplete logs](https://discuss.elastic.co/t/elastic-agent-transfer-via-logstahsh-with-incomplete-logs/326482)

<div class="topic-metadata">

**Author:** [@xqaiviwjxzw](https://discuss.elastic.co/u/xqaiviwjxzw)\
**Replies:** 3\
**Last updated:** [February 28, 2023, 4:08pm UTC](https://discuss.elastic.co/t/elastic-agent-transfer-via-logstahsh-with-incomplete-logs/326482 "2023-02-28T16:08:05Z")

</div>

1.elastic agent transfer via logstahsh, endpoint shows healthy but logs are not coming in, what is the reason? Is there any solution for this? The endpoint is viewed locally with the following result? 2.elastic agen…

---

## [ElasticSearch Ingress-nginx integration have duplicate entries when elastic agent restart running in k8s](https://discuss.elastic.co/t/elasticsearch-ingress-nginx-integration-have-duplicate-entries-when-elastic-agent-restart-running-in-k8s/326600)

<div class="topic-metadata">

**Author:** [@CisorKnight](https://discuss.elastic.co/u/CisorKnight)\
**Replies:** 1\
**Last updated:** [February 28, 2023, 9:33am UTC](https://discuss.elastic.co/t/elasticsearch-ingress-nginx-integration-have-duplicate-entries-when-elastic-agent-restart-running-in-k8s/326600 "2023-02-28T09:33:12Z")

</div>

I am using Elastic Cloud and "Nginx Ingress Controler Logs" integration to bring back my nginx access-logs to kibana. As mentionned in the tutorial, I created an Agent Policy and since im using a Kubernetes cluster I cr…

---

## [Deploying elastic agent container in kubernetes: error retrieving resource lock](https://discuss.elastic.co/t/deploying-elastic-agent-container-in-kubernetes-error-retrieving-resource-lock/326227)

<div class="topic-metadata">

**Author:** [@jmyns](https://discuss.elastic.co/u/jmyns)\
**Replies:** 0\
**Last updated:** [February 22, 2023, 9:22pm UTC](https://discuss.elastic.co/t/deploying-elastic-agent-container-in-kubernetes-error-retrieving-resource-lock/326227 "2023-02-22T21:22:24Z")

</div>

When I deploy an elastic agent image I see this repeated error in the container logs. error retrieving resource lock default/elastic-agent-cluster-leader: leases.coordination.k8s.io "elastic-agent-cluster-leader" is for…

---

## [Custom integration](https://discuss.elastic.co/t/custom-integration/324819)

<div class="topic-metadata">

**Author:** [@adrien\_moreau](https://discuss.elastic.co/u/adrien_moreau)\
**Replies:** 2\
**Last updated:** [February 22, 2023, 3:30pm UTC](https://discuss.elastic.co/t/custom-integration/324819 "2023-02-22T15:30:04Z")

</div>

Hi, I would like to build my own custom elastic integration for a self managed elk. I read documentation here: https://www.elastic.co/guide/en/integrations-developer I would like to know if the only way to use that in…

---

## [Implement elastic agent to collect postgresql log](https://discuss.elastic.co/t/implement-elastic-agent-to-collect-postgresql-log/326189)

<div class="topic-metadata">

**Author:** [@bagafoot](https://discuss.elastic.co/u/bagafoot)\
**Replies:** 0\
**Last updated:** [February 22, 2023, 2:47pm UTC](https://discuss.elastic.co/t/implement-elastic-agent-to-collect-postgresql-log/326189 "2023-02-22T14:47:50Z")

</div>

Hello all, I recently install elastic agent in postgresql server, I follow steps that in integration scope "add postgresql" in kibana user interface, download the yaml file and copy to postgresql server agent home dir …

---

## [Elastic Defend integration on Windows Servers influences results from system.process dataset](https://discuss.elastic.co/t/elastic-defend-integration-on-windows-servers-influences-results-from-system-process-dataset/326087)

<div class="topic-metadata">

**Author:** [@norgro2601](https://discuss.elastic.co/u/norgro2601)\
**Replies:** 0\
**Last updated:** [February 21, 2023, 3:22pm UTC](https://discuss.elastic.co/t/elastic-defend-integration-on-windows-servers-influences-results-from-system-process-dataset/326087 "2023-02-21T15:22:31Z")

</div>

I have added the Elastic Defend integration to Policies for Windows and Linux Servers today. After activation, the system.process dataset on the Windows servers doesn't report elastic-agent.exe as a running process any …

---

## [Fleet Server - Filebeat Using HTTP instead of HTTPS](https://discuss.elastic.co/t/fleet-server-filebeat-using-http-instead-of-https/325657)

<div class="topic-metadata">

**Author:** [@pritchey](https://discuss.elastic.co/u/pritchey)\
**Replies:** 8\
**Last updated:** [February 21, 2023, 1:38pm UTC](https://discuss.elastic.co/t/fleet-server-filebeat-using-http-instead-of-https/325657 "2023-02-21T13:38:59Z")

</div>

I have a self-hosted elastic stack running 8.6.1. I'm trying to get fleet running but I'm hitting a wall on one part. The fleet server and any agents show as "healthy" but no data every shows up. Digging into things I…

---

## [Unable to get real time logs for Elastic-Github Integration](https://discuss.elastic.co/t/unable-to-get-real-time-logs-for-elastic-github-integration/324993)

<div class="topic-metadata">

**Author:** [@Pallavi\_Kshirsagar](https://discuss.elastic.co/u/Pallavi_Kshirsagar)\
**Replies:** 0\
**Last updated:** [February 8, 2023, 10:09am UTC](https://discuss.elastic.co/t/unable-to-get-real-time-logs-for-elastic-github-integration/324993 "2023-02-08T10:09:39Z")

</div>

I've performed Github integration using elastic agent, where I'm running the agent on an EC2 instance. When I go to Discover the logs I see that logs aren't pulled in real time and I get to see too old logs until a certa…

---

## [LogDriver.StartLogging: error creating client config: A hosts flag is required](https://discuss.elastic.co/t/logdriver-startlogging-error-creating-client-config-a-hosts-flag-is-required/325800)

<div class="topic-metadata">

**Author:** [@cavarzan](https://discuss.elastic.co/u/cavarzan)\
**Replies:** 1\
**Last updated:** [February 19, 2023, 8:54pm UTC](https://discuss.elastic.co/t/logdriver-startlogging-error-creating-client-config-a-hosts-flag-is-required/325800 "2023-02-19T20:54:15Z")

</div>

I'm receiving the following error when I try to start a docker-compose service with elastic-apm.jar configured. LogDriver.StartLogging: error creating client config: A hosts flag is required I've looked at this answer,…

---

## [Elastic-Agent autodiscovery for Kubernetes pod logs not working after upgrading to 8.6.x](https://discuss.elastic.co/t/elastic-agent-autodiscovery-for-kubernetes-pod-logs-not-working-after-upgrading-to-8-6-x/325227)

<div class="topic-metadata">

**Author:** [@clewo](https://discuss.elastic.co/u/clewo)\
**Replies:** 1\
**Last updated:** [February 16, 2023, 10:43am UTC](https://discuss.elastic.co/t/elastic-agent-autodiscovery-for-kubernetes-pod-logs-not-working-after-upgrading-to-8-6-x/325227 "2023-02-16T10:43:33Z")

</div>

Hi all, I noticed an issue with the standalone Elastic Agent shipping Kubernetes pod logs after upgrading the Agent version from 8.5.3 to 8.6.x. We run the Elastic-Agent standalone on Kubernetes as a DaemonSet. After …

---

## [Fail to add second fleet server with error missing enrollment api key](https://discuss.elastic.co/t/fail-to-add-second-fleet-server-with-error-missing-enrollment-api-key/325698)

<div class="topic-metadata">

**Author:** [@lusynda](https://discuss.elastic.co/u/lusynda)\
**Replies:** 0\
**Last updated:** [February 16, 2023, 7:41am UTC](https://discuss.elastic.co/t/fail-to-add-second-fleet-server-with-error-missing-enrollment-api-key/325698 "2023-02-16T07:41:15Z")

</div>

Hi all, I have a weird case that i dont know how to fix. I've already setup a fleet server successfully and already enrolling agent to that fleet. But now i want to add another fleet server to the cluster to ensure hig…

---

## [Restart elastic agent from fleet server in kibana](https://discuss.elastic.co/t/restart-elastic-agent-from-fleet-server-in-kibana/325097)

<div class="topic-metadata">

**Author:** [@bex](https://discuss.elastic.co/u/bex)\
**Replies:** 1\
**Last updated:** [February 16, 2023, 4:56am UTC](https://discuss.elastic.co/t/restart-elastic-agent-from-fleet-server-in-kibana/325097 "2023-02-16T04:56:11Z")

</div>

Is it possible to restart the elastic agent (which is on the fleet server) from kibana? There is only an option to update, is there a way to restart elastic agents remotely? In case you have so many elastic agents, it …

---

## [Elastic Agent conditions-based autodiscover doesn't pick up newly-scheduled pods/containers](https://discuss.elastic.co/t/elastic-agent-conditions-based-autodiscover-doesnt-pick-up-newly-scheduled-pods-containers/325271)

<div class="topic-metadata">

**Author:** [@DougR](https://discuss.elastic.co/u/DougR)\
**Replies:** 5\
**Last updated:** [February 15, 2023, 5:18pm UTC](https://discuss.elastic.co/t/elastic-agent-conditions-based-autodiscover-doesnt-pick-up-newly-scheduled-pods-containers/325271 "2023-02-15T17:18:39Z")

</div>

I am currently using Elastic Cloud, v8.6.1, with Elastic Agent Standalone v8.6.0 deployed to EKS, running Kubernetes v1.22.16 in our non-production cluster and v1.21.14 in our production cluster (to be updated this weeke…

---

## [Elastic agent on eks](https://discuss.elastic.co/t/elastic-agent-on-eks/324903)

<div class="topic-metadata">

**Author:** [@oded\_rafi](https://discuss.elastic.co/u/oded_rafi)\
**Replies:** 1\
**Last updated:** [February 15, 2023, 1:48pm UTC](https://discuss.elastic.co/t/elastic-agent-on-eks/324903 "2023-02-15T13:48:27Z")

</div>

hey all i am trying to run an agent on my eks cluster and the pods wont run i am using the code from elastic as is. could anyone help? --- # For more information refer to https://www.elastic.co/guide/en/fleet/current…

---

## [Elastic Agent not shipping all logs from Kubernetes Cluster. Errors in logs](https://discuss.elastic.co/t/elastic-agent-not-shipping-all-logs-from-kubernetes-cluster-errors-in-logs/325620)

<div class="topic-metadata">

**Author:** [@slogger](https://discuss.elastic.co/u/slogger)\
**Replies:** 0\
**Last updated:** [February 15, 2023, 1:44pm UTC](https://discuss.elastic.co/t/elastic-agent-not-shipping-all-logs-from-kubernetes-cluster-errors-in-logs/325620 "2023-02-15T13:44:55Z")

</div>

Hello I have Elastic Agent installed on 5 EKS clusters for logging and monitoring. Recently the agents have stopped shipping all logs to the cluster (Hosted with elastic.cloud). Im seeing some logs, but not all (usual…

---

## [Fleet server lose agents at restart](https://discuss.elastic.co/t/fleet-server-lose-agents-at-restart/325477)

<div class="topic-metadata">

**Author:** [@K8pl3r](https://discuss.elastic.co/u/K8pl3r)\
**Replies:** 5\
**Last updated:** [February 15, 2023, 1:13pm UTC](https://discuss.elastic.co/t/fleet-server-lose-agents-at-restart/325477 "2023-02-15T13:13:52Z")

</div>

Hello I'm a student who's getting started with Elastic, I have configured my stack with elasticsearch and Kibana. I have an issue when I reboot my fleet server, all of my elastic-agents are offline (I have enabled the …

---

## [Remote Linux logs](https://discuss.elastic.co/t/remote-linux-logs/325578)

<div class="topic-metadata">

**Author:** [@Derick\_Jansen](https://discuss.elastic.co/u/Derick_Jansen)\
**Replies:** 0\
**Last updated:** [February 15, 2023, 9:48am UTC](https://discuss.elastic.co/t/remote-linux-logs/325578 "2023-02-15T09:48:42Z")

</div>

Is there no way to use Elastic Agent or Filebeat to accept TCP Syslog messages forwarded from Linux hosts? Will I need to use something like rsyslog or Logstash to write the files to disk first, then use the system inte…

---

## [Conflicting Field Elasticsearch host.ip in metrics\*-\* Index Pattern](https://discuss.elastic.co/t/conflicting-field-elasticsearch-host-ip-in-metrics-index-pattern/325539)

<div class="topic-metadata">

**Author:** [@OmFJ](https://discuss.elastic.co/u/OmFJ)\
**Replies:** 1\
**Last updated:** [February 15, 2023, 8:27am UTC](https://discuss.elastic.co/t/conflicting-field-elasticsearch-host-ip-in-metrics-index-pattern/325539 "2023-02-15T08:27:32Z")

</div>

Hello Everyone, in this topic, i would like to ask about conflicting field. From all discussions and forum i visited most of them tell you to re-index your index. but i come across this problem where the conflicting fie…

[Previous page](https://discuss.elastic.co/c/elastic-stack/elastic-agent/91.md?page=38)

[Next page](https://discuss.elastic.co/c/elastic-stack/elastic-agent/91.md?page=40)
