# ECS field for client id

**URL:** https://discuss.elastic.co/t/ecs-field-for-client-id/320379
**Category:** Elastic Observability
**Tags:** ecs-elastic-common-schema
**Created:** [December 2, 2022, 2:39pm UTC](https://discuss.elastic.co/t/ecs-field-for-client-id/320379 "2022-12-02T14:39:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Bert\_Vanpeteghem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bert_vanpeteghem/32/96191_2.png) [@Bert\_Vanpeteghem](https://discuss.elastic.co/u/Bert_Vanpeteghem)
#### Post date: [December 2, 2022, 2:39pm UTC](https://discuss.elastic.co/t/ecs-field-for-client-id/320379/1 "2022-12-02T14:39:24Z")

</div>

Hi, is there any field available for a client id or client name in machine 2 machine scenario's?  
I see options for user, or ip, but not something like a client id.  
Goal is to have usage insights per consumer based on incoming requests.

---

<div class="post-metadata">

### Author: ![ebeahan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebeahan/32/78989_2.png) [@ebeahan](https://discuss.elastic.co/u/ebeahan)
#### Post date: [December 2, 2022, 5:58pm UTC](https://discuss.elastic.co/t/ecs-field-for-client-id/320379/2 "2022-12-02T17:58:00Z")

</div>

I think the [`client.domain`](https://www.elastic.co/guide/en/ecs/current/ecs-client.html#field-client-domain) field fits this use case?

```auto
This value may be a host name, a fully qualified domain name, or another host naming format. The value may derive from the original event or be added from enrichment.

```
