# Logstash Error - Unknown setting 'chedule' for jdbc

**URL:** <https://discuss.elastic.co/t/logstash-error-unknown-setting-chedule-for-jdbc/305268>\
**Category:** Logstash\
**Tags:** jdbc\
**Created:** [May 20, 2022, 9:31am UTC](https://discuss.elastic.co/t/logstash-error-unknown-setting-chedule-for-jdbc/305268 "2022-05-20T09:31:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dr.Rask](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@Dr.Rask](https://discuss.elastic.co/u/Dr.Rask)\
**Post date:** [May 20, 2022, 9:31am UTC](https://discuss.elastic.co/t/logstash-error-unknown-setting-chedule-for-jdbc/305268/1 "2022-05-20T09:31:54Z")

</div>

Hi,

Getting this error when running logstash 8.2.0 on a windows machine  
PS C:\logstash-oss-8.2.0\bin\> .\logstash -f logstash.config  
[logstash.inputs.jdbc] Unknown setting 'chedule' for jdbc

```auto
input {
	jdbc{
		jdbc_driver_library => "C:\logstash-oss-8.2.0\logstash-core\lib\jars\mssql-jdbc-8.2.2.jre11.jar"
		jdbc_driver_class => "com.microsoft.sqlserver.jdbc.SQLServerDriver"
		jdbc_connection_string=>"jdbc:sqlserver://SQLSERVER:1433;databaseName=SQLDB;"
		jdbc_user=>"DBuser"
		jdbc_password=>"password"
		statement_filepath=>"statement.sql"
		use_column_value => true
		tracking_column=>"alarmmessagelogid"
		tracking_column_type => "numeric"
		clean_run=>false
		schedule => "*/2 * * * *"
	}
}

```

Also tried below settings  
schedule =\> "\* \* \* \* \*"  
schedule =\> "2 \* \* \* \*"

getting the same error.

Using:  
logstash 8.2.0  
sqljdbc-8.2.2

Any advice ?

---

<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:** [May 20, 2022, 9:31am UTC](https://discuss.elastic.co/t/logstash-error-unknown-setting-chedule-for-jdbc/305268/2 "2022-05-20T09:31:55Z")

</div>

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

**Author:** ![Dr.Rask](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@Dr.Rask](https://discuss.elastic.co/u/Dr.Rask)\
**Post date:** [May 20, 2022, 10:00am UTC](https://discuss.elastic.co/t/logstash-error-unknown-setting-chedule-for-jdbc/305268/3 "2022-05-20T10:00:37Z")

</div>

It's not the output i'm refering to. (I have change the Topic)

I have the output set to

```auto
output
{
stdout { codec => json_lines }
}

```

---

<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, 2022, 10:01am UTC](https://discuss.elastic.co/t/logstash-error-unknown-setting-chedule-for-jdbc/305268/4 "2022-06-17T10:01:02Z")

</div>

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