# Possible to Create kibana indexes from application code?

**URL:** <https://discuss.elastic.co/t/possible-to-create-kibana-indexes-from-application-code/353432>\
**Category:** Elastic Observability\
**Created:** [February 16, 2024, 5:48am UTC](https://discuss.elastic.co/t/possible-to-create-kibana-indexes-from-application-code/353432 "2024-02-16T05:48:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![navya\_k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navya_k/32/127091_2.png) [@navya\_k](https://discuss.elastic.co/u/navya_k)\
**Post date:** [February 16, 2024, 5:48am UTC](https://discuss.elastic.co/t/possible-to-create-kibana-indexes-from-application-code/353432/1 "2024-02-16T05:48:05Z")

</div>

Hello,

I would like to ask question like. There was a Java application which deployed to elastic kibana. Now there is a need to create indexes for it, we can go ahead and write up in kibana - index management.

But my question here is :

The application team would like to create from code where their application code runs, is that possible ?As Java developer they would like to write it up in any of .yml files or properties or configuration file. Is that possible to create index without logging to kibana cluster ?

Please help with comments or possibilities

---

<div class="post-metadata">

**Author:** ![navya\_k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navya_k/32/127091_2.png) [@navya\_k](https://discuss.elastic.co/u/navya_k)\
**Post date:** [February 22, 2024, 4:29pm UTC](https://discuss.elastic.co/t/possible-to-create-kibana-indexes-from-application-code/353432/2 "2024-02-22T16:29:57Z")

</div>

Some one please help here

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [February 22, 2024, 6:21pm UTC](https://discuss.elastic.co/t/possible-to-create-kibana-indexes-from-application-code/353432/3 "2024-02-22T18:21:38Z")

</div>

Hello,

Can you provide more context about what you want to do? It is not clear.

Kibana is a visualization and manage tool, it works as client to Elasticsearch, every index is created on Elasticsearch directly not on Kibana.

---

<div class="post-metadata">

**Author:** ![navya\_k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/navya_k/32/127091_2.png) [@navya\_k](https://discuss.elastic.co/u/navya_k)\
**Post date:** [February 26, 2024, 3:42pm UTC](https://discuss.elastic.co/t/possible-to-create-kibana-indexes-from-application-code/353432/4 "2024-02-26T15:42:43Z")

</div>

Java application were onboard to elastic. Observability - APM - service. Here I have onboraded application service names.

Java application team has did configuration in configuration files with APM url, service name. Now application team asking..is there any possibility to write code to create index in setup files itself by using any packages or functions ?
