# Agent stuck on updating but still send index

**URL:** https://discuss.elastic.co/t/agent-stuck-on-updating-but-still-send-index/319391
**Category:** Elastic Agent
**Tags:** elastic-stack-security
**Created:** [November 21, 2022, 6:42am UTC](https://discuss.elastic.co/t/agent-stuck-on-updating-but-still-send-index/319391 "2022-11-21T06:42:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xondeeptry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xondeeptry/32/117509_2.png) [@xondeeptry](https://discuss.elastic.co/u/xondeeptry)
#### Post date: [November 21, 2022, 6:42am UTC](https://discuss.elastic.co/t/agent-stuck-on-updating-but-still-send-index/319391/1 "2022-11-21T06:42:55Z")

</div>

I'm just enroll new window fleet everything is fine data received by logstash and stored in our cluster but agent stuck on updating in fleet.  
When i get agent status everything is healthy unless fleet-server stuck on re-configuration state.  
The output log is notthing weird it only give alot of information like this:

I checked that fleet can reach to epr, artifact....

```auto
{"log.level":"info","@timestamp":"2022-11-21T13:34:38.192+0700","log.origin":{"file.name":"operation/operator.go","file.line":180},"message":"Source URI in operator changed to \"https://artifacts.elastic.co/downloads/\"","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:38.195+0700","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":48},"message":"New State ID is L_vNjgeQ","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:38.195+0700","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":49},"message":"Converging state requires execution of 3 step(s)","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:38.593+0700","log.origin":{"file.name":"operation/operator.go","file.line":387},"message":"operation 'operation-install' skipped for filebeat.8.5.0","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:38.593+0700","log.origin":{"file.name":"operation/operator.go","file.line":387},"message":"operation 'operation-start' skipped for filebeat.8.5.0","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:38.962+0700","log.origin":{"file.name":"operation/operator.go","file.line":387},"message":"operation 'operation-install' skipped for metricbeat.8.5.0","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:38.962+0700","log.origin":{"file.name":"operation/operator.go","file.line":387},"message":"operation 'operation-start' skipped for metricbeat.8.5.0","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:39.281+0700","log.origin":{"file.name":"operation/operator.go","file.line":387},"message":"operation 'operation-install' skipped for filebeat.8.5.0","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:39.281+0700","log.origin":{"file.name":"operation/operator.go","file.line":387},"message":"operation 'operation-start' skipped for filebeat.8.5.0","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:39.635+0700","log.origin":{"file.name":"operation/operator.go","file.line":387},"message":"operation 'operation-install' skipped for metricbeat.8.5.0","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:39.635+0700","log.origin":{"file.name":"operation/operator.go","file.line":387},"message":"operation 'operation-start' skipped for metricbeat.8.5.0","ecs.version":"1.6.0"}
{"log.level":"info","@timestamp":"2022-11-21T13:34:39.640+0700","log.origin":{"file.name":"stateresolver/stateresolver.go","file.line":66},"message":"Updating internal state","ecs.version":"1.6.0"}

```

Am i need to do anything to solve this problem?

---

<div class="post-metadata">

### Author: ![AgentWong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/agentwong/32/114378_2.png) [@AgentWong](https://discuss.elastic.co/u/AgentWong)
#### Post date: [December 8, 2022, 3:53am UTC](https://discuss.elastic.co/t/agent-stuck-on-updating-but-still-send-index/319391/2 "2022-12-08T03:53:12Z")

</div>

I'm seeing identical symptoms on mine, though I figured maybe it was a bug since I was getting logs with no problems.  
The agents themselves on both endpoints (Linux for now) and the Fleet server are reporting as "healthy" when running "elastic-agent status".  
Do you have Logstash as an output? I noticed when I'm sending logs directly to elasticsearch cluster, the agents are healthy. It didn't start getting stuck until I decided I wanted the agents to output to Logstash instead.

---

<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: [January 5, 2023, 3:53am UTC](https://discuss.elastic.co/t/agent-stuck-on-updating-but-still-send-index/319391/3 "2023-01-05T03:53:17Z")

</div>

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