# How create an Elastic-search index from browser with username and password

**URL:** <https://discuss.elastic.co/t/how-create-an-elastic-search-index-from-browser-with-username-and-password/111104>\
**Category:** Elasticsearch\
**Created:** [December 11, 2017, 1:47pm UTC](https://discuss.elastic.co/t/how-create-an-elastic-search-index-from-browser-with-username-and-password/111104 "2017-12-11T13:47:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [December 11, 2017, 1:47pm UTC](https://discuss.elastic.co/t/how-create-an-elastic-search-index-from-browser-with-username-and-password/111104/1 "2017-12-11T13:47:25Z")

</div>

**Hi All ,**

**I have an working Elastic-search ( 5.6.4 ) . Lots of data indexed with logstash( Default indexes) and it is working well . All data is available in kibana also . But I want to create a new index through any browser ( IE , Chrome or Mozilla ). My Elastic-search is secured with username=abcdefgh and password=1234567.**

**What is the command for create index through browser , when elastic search is secured with a username and password ?**

**Please help .**

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [December 11, 2017, 2:19pm UTC](https://discuss.elastic.co/t/how-create-an-elastic-search-index-from-browser-with-username-and-password/111104/2 "2017-12-11T14:19:39Z")

</div>

Don't use **bold** when not necessary.

> What is the command for create index through browser , when Elasticsearch is secured with a username and password ?

Not sure I understand. From the URL bar of the browser, you can't do it.  
But if you have Kibana running, just go to the DEV Console and type:

```auto
PUT myindex

```

Or from the command line run:

```auto
curl -XPUT localhost:9200/myindex -u abcdefgh

```

You should be good.

---

<div class="post-metadata">

**Author:** ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)\
**Post date:** [December 11, 2017, 4:02pm UTC](https://discuss.elastic.co/t/how-create-an-elastic-search-index-from-browser-with-username-and-password/111104/3 "2017-12-11T16:02:57Z")

</div>

Index creation through browser ( address bar ) not possible ? Its Fine .

I think it is possible through browser address bar .

I will try from command line

---

<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:** [January 8, 2018, 4:03pm UTC](https://discuss.elastic.co/t/how-create-an-elastic-search-index-from-browser-with-username-and-password/111104/4 "2018-01-08T16:03:07Z")

</div>

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