# From SQL Server Management Studio to Elastic Search: config file

**URL:** <https://discuss.elastic.co/t/from-sql-server-management-studio-to-elastic-search-config-file/273544>\
**Category:** Logstash\
**Created:** [May 20, 2021, 1:09pm UTC](https://discuss.elastic.co/t/from-sql-server-management-studio-to-elastic-search-config-file/273544 "2021-05-20T13:09:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qttv](https://avatars.discourse-cdn.com/v4/letter/q/ee59a6/32.png) [@qttv](https://discuss.elastic.co/u/qttv)\
**Post date:** [May 20, 2021, 1:09pm UTC](https://discuss.elastic.co/t/from-sql-server-management-studio-to-elastic-search-config-file/273544/1 "2021-05-20T13:09:03Z")

</div>

Good Evening.

I'm new on the ELK stack and for the first time I'm trying to import some data from SQL Server Manamenet Studio database to the ElasticSearch.  
I know there is the necessity to download a driver to use the jdbc plug in, but I didn't understand where to find it and where to place it after the download.

Next, I need to configure my config file, but i don't know where to find the informations I need to prepare it. I think a good format may be the following:

```
input {
jdbc {
jdbc_driver_library => "..."
jbdc_driver_class => "..."
jdbc_connection_string =>"..."
jdbc_user => "..."
jdbc_password => "..."
statement => "SELECT * from table"
	 } 
 } 
 
output {
elasticsearch {
hosts=> ["localhost:9200"]
index => "table"
user => "user"
password ="changeme"

} 
stdout { codec => rubydebug { metadata => true } } 
# stdout { codec => dots } 
 } 

```

I don't know what to put into:

```
jdbc_driver_library => "..."
jbdc_driver_class => "..."
jdbc_connection_string =>"..."
jdbc_user => "..."
 user => "..."
password ="..."

```

Someone can suggest me where to find the information to fill these fields? I'm using SQL Server Management Studio as Windows Authentication.... so can I remove the USER and PASSWORD statements?

Thank you very much.

---

<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:** [June 17, 2021, 1:09pm UTC](https://discuss.elastic.co/t/from-sql-server-management-studio-to-elastic-search-config-file/273544/2 "2021-06-17T13:09:50Z")

</div>

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