# APM Setting, "Not yet applied by any agents"

**URL:** <https://discuss.elastic.co/t/apm-setting-not-yet-applied-by-any-agents/369326>\
**Category:** Elastic Observability\
**Created:** [October 24, 2024, 7:00am UTC](https://discuss.elastic.co/t/apm-setting-not-yet-applied-by-any-agents/369326 "2024-10-24T07:00:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SEUNGHYO](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@SEUNGHYO](https://discuss.elastic.co/u/SEUNGHYO)\
**Post date:** [October 24, 2024, 7:00am UTC](https://discuss.elastic.co/t/apm-setting-not-yet-applied-by-any-agents/369326/1 "2024-10-24T07:00:15Z")

</div>

Hello 😀

I'm trying to build `Observability`

```auto
ES / Ki ver : 8.12.2 (Basic)

```

Using the below.

- Fleet (Fleet-Server)
- Elastic APM (not "APM", "Elastic APM")
- Installation is only through the Kibana UI ( except for the Elastic-Agent )

My ultimate goal is to record Elasticsearch Query body.

I found this method after looking for various ways.  
`Capture body` option in "Observability \> APM \> Settings \> Agent Configuration \> Configurations \> (Service name) elasticsearch"

Finally saved the settings but this didn't work. 🥲  
To be precise,  
It was stored in ".apm-agent-configuration", but APM did not collect as set. The indicator is gray and indicates a tooltip as "Not yet applied by any agents".

Can you tell me what to do?  
Please let me know if there is anything you need to answer.  
Thank you.

* * *

> gray indicator : Observability \> APM \> Settings \> Agent Configuration \> Configurations \> (Service name) elasticsearch

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/4/f4e2b10d0faa3d9336361756ced420077129b156.png)

> apm config index

```auto
# Request
GET .apm-agent-configuration/_search?size=1

# Response
#! this request accesses system indices: [.apm-agent-configuration], but in a future major version, direct access to system indices will be prevented by default
{
  "took": 2,
  "timed_out": false,
  "_shards": {
    "total": 1,
    "successful": 1,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": {
      "value": 1,
      "relation": "eq"
    },
    "max_score": 1,
    "hits": [
      {
        "_index": ".apm-agent-configuration",
        "_id": "QrI5vJIBSGIKCTIfF3WJ",
        "_score": 1,
        "_source": {
          "agent_name": "java",
          "service": {
            "name": "elasticsearch"
          },
          "settings": {
            "capture_body": "all",
            "capture_headers": "true",
            "log_level": "debug",
            "log_sending": "true",
            "transaction_sample_rate": "1.0"
          },
          "@timestamp": 1729749906302,
          "applied_by_agent": false,
          "etag": "31186a913581d350fb87db518ab04c9557628829"
        }
      }
    ]
  }
}

```
