# Kibana.yml is not accepting custom headers

**URL:** <https://discuss.elastic.co/t/kibana-yml-is-not-accepting-custom-headers/228416>\
**Category:** Kibana\
**Created:** [April 16, 2020, 10:40pm UTC](https://discuss.elastic.co/t/kibana-yml-is-not-accepting-custom-headers/228416 "2020-04-16T22:40:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![somebody](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@somebody](https://discuss.elastic.co/u/somebody)\
**Post date:** [April 16, 2020, 10:40pm UTC](https://discuss.elastic.co/t/kibana-yml-is-not-accepting-custom-headers/228416/1 "2020-04-16T22:40:05Z")

</div>

My kibana.yml looks like below:  
Kibana.yml

```auto
elasticsearch.customHeaders: { "my_consumer.id":"5cf4af56-1769-4fb7-84ef-71cc99eb23" }

elasticsearch.hosts: http://<es_ip>:9200

logging.dest: /var/log/kibana/kibana.log

pid.file: /var/run/kibana.pid

server.host: "0.0.0.0"

server.port: 5601

```

In the custom headers, If we provide key **my\_consumer.id** with "." in it Kibana will not start up. If we remove the "." from key **my\_consumerid** , kibana is starting up and connecting to ES.  
I have a bunch of key value pair with "." in it to provide as custom headers.  
I have tried escaping it **my\_consumer\.id** but no luck.  
Could someone please help me on this?

Thanks,  
Somebody

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [April 17, 2020, 3:09pm UTC](https://discuss.elastic.co/t/kibana-yml-is-not-accepting-custom-headers/228416/2 "2020-04-17T15:09:11Z")

</div>

Hi @somebody,

Hmm, it seems it's not possible right, would you mind filing an issue [here](https://github.com/elastic/kibana/issues)?

Best,  
Oleg

---

<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:** [May 15, 2020, 3:19pm UTC](https://discuss.elastic.co/t/kibana-yml-is-not-accepting-custom-headers/228416/3 "2020-05-15T15:19:45Z")

</div>

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