No option to add custom fields in agent policy

Hi,
According to: Elastic Agent policies | Fleet and Elastic Agent Guide [8.16] | Elastic. I should be able to add custom field to agent policies.
I simply don't have the option.
If I try and add via an API request:

PUT kbn:/api/fleet/agent_policies/.....
{
  .
  .
  namespace: "blah",
  "custom_fields": {
    "test":"test"
  }
  .
}

I get "[request body.custom_fields]: definition for this key is missing"
Running self hosted 8.13.3 (freebie tier).

Any idea what I'm missing?

thanks

Steve

The version.

This feature becames available in 8.15 if I'm not wrong.

Ah, thank you. Upgrade time then.......

1 Like