# Log Stash Sql Server

**URL:** <https://discuss.elastic.co/t/log-stash-sql-server/338233>\
**Category:** Logstash\
**Created:** [July 12, 2023, 2:27pm UTC](https://discuss.elastic.co/t/log-stash-sql-server/338233 "2023-07-12T14:27:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![balupad14](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@balupad14](https://discuss.elastic.co/u/balupad14)\
**Post date:** [July 12, 2023, 2:27pm UTC](https://discuss.elastic.co/t/log-stash-sql-server/338233/1 "2023-07-12T14:27:44Z")

</div>

Hi all,  
I am trying to insert the data into the Elasticsearch from SQL Server. When I run the logstash, I am getting this error.

Not eligible for data streams because config contains one or more settings that are not compatible with data streams: {"index"=\>"cs\_users"} . I am using 8.8.1 .

Configuration \>

input {  
jdbc {  
jdbc\_driver\_library =\> "D:\Softwares\Elasticsearch\sqljdbc4-3.0.jar\sqljdbc4-3.0.jar"  
jdbc\_connection\_string =\> "jdbc:sqlserver://SqlServerMac;databaseName=TestDb;"  
jdbc\_user =\> "user"  
jdbc\_password =\> "pwd"  
jdbc\_driver\_class =\> "com.microsoft.sqlserver.jdbc.SQLServerDriver"  
statement =\> "SELECT \* FROM t001\_process"  
}  
}

output {  
elasticsearch {  
hosts =\> "localhost:9200"  
index =\> "cs\_users"  
user =\> "elastic"  
password =\> "password"  
}  
stdout { codec =\> rubydebug }  
}

I need the help to solve this issue.

Thank you  
Balamurugan.S

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 12, 2023, 2:49pm UTC](https://discuss.elastic.co/t/log-stash-sql-server/338233/2 "2023-07-12T14:49:07Z")

</div>

> [@balupad14](#):
>
> Not eligible for data streams because config contains one or more settings that are not compatible with data streams: {"index"=\>"cs\_users"} . I am using 8.8.1 .

See [this](https://discuss.elastic.co/t/not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams/337594/2) thread.

---

<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:** [August 9, 2023, 2:49pm UTC](https://discuss.elastic.co/t/log-stash-sql-server/338233/3 "2023-08-09T14:49:11Z")

</div>

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