# Index not created

**URL:** https://discuss.elastic.co/t/index-not-created/107562
**Category:** Logstash
**Created:** [November 14, 2017, 3:08pm UTC](https://discuss.elastic.co/t/index-not-created/107562 "2017-11-14T15:08:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sumit\_Gupta1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sumit_gupta1/32/22861_2.png) [@Sumit\_Gupta1](https://discuss.elastic.co/u/Sumit_Gupta1)
#### Post date: [November 14, 2017, 3:08pm UTC](https://discuss.elastic.co/t/index-not-created/107562/1 "2017-11-14T15:08:09Z")

</div>

Hi,

My Config file is following:

input {  
jdbc {  
jdbc\_driver\_library =\> "/app/sqljdbc4-2.0.jar"  
jdbc\_driver\_class =\> "com.microsoft.sqlserver.jdbc.SQLServerDriver"  
jdbc\_connection\_string =\> "jdbc:sqlserver://10.124.21.132:1433;databaseName=servicedesk\_rovtest"  
jdbc\_user =\> "\*\*"  
jdbc\_password =\> "\*\*\*\*"  
statement =\> "SELECT \* from dbo.Datacenter"  
}  
}  
output {  
stdout { codec =\> rubydebug }  
elasticsearch {  
hosts =\> ["localhost:9200"]  
index =\> "database-record"  
document\_type =\> "sqlServerData"  
}  
}

This config file has been run successfully.

My issue is that when i checked index, No index create.

Can you please help me over this?

---

<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: [November 14, 2017, 5:44pm UTC](https://discuss.elastic.co/t/index-not-created/107562/2 "2017-11-14T17:44:06Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

I moved your question to #logstash

---

<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: [December 12, 2017, 5:44pm UTC](https://discuss.elastic.co/t/index-not-created/107562/3 "2017-12-12T17:44:23Z")

</div>

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