# Logstash.Config syntax/query/error

**URL:** <https://discuss.elastic.co/t/logstash-config-syntax-query-error/224324>\
**Category:** Logstash\
**Created:** [March 19, 2020, 10:53pm UTC](https://discuss.elastic.co/t/logstash-config-syntax-query-error/224324 "2020-03-19T22:53:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_Wilford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshua_wilford/32/64771_2.png) [@Joshua\_Wilford](https://discuss.elastic.co/u/Joshua_Wilford)\
**Post date:** [March 19, 2020, 10:53pm UTC](https://discuss.elastic.co/t/logstash-config-syntax-query-error/224324/1 "2020-03-19T22:53:30Z")

</div>

Hey Community,

Been beating my head against the wall all week over this error. I think its syntax but I can't find the error.

```auto
Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of #, \", ', } at line 15, column 9 (byte 362) after input 

```

Edit: I removed this query and it works so now I have it dialed down to this query.

Here is the query

```auto
 jbdc { 
            tags => ["lsorg"] 
            jdbc_driver_library => "/usr/share/logstash/logstash-core/lib/jars/ojdbc7-12.1.0.2.jar" 
            jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver" 
            jdbc_connection_string => "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=${logstash.oracle.host})(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=${logstash.oracle.serviceName})))" 
            jdbc_user => "${lsDbUser.username}" 
            jdbc_password => "${lsDbUser.password}"
            schedule => "0 * * * *"
            statement => "SELECT * FROM ${logstash.oracle.dbName}.ORG"  
          } 
    

```

---

<div class="post-metadata">

**Author:** ![Joshua\_Wilford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshua_wilford/32/64771_2.png) [@Joshua\_Wilford](https://discuss.elastic.co/u/Joshua_Wilford)\
**Post date:** [March 20, 2020, 12:44am UTC](https://discuss.elastic.co/t/logstash-config-syntax-query-error/224324/2 "2020-03-20T00:44:39Z")

</div>

figured it out \>\_\> , been putting

`jbdc`

this whole time 🤦‍♂️

---

<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:** [April 17, 2020, 12:44am UTC](https://discuss.elastic.co/t/logstash-config-syntax-query-error/224324/3 "2020-04-17T00:44:40Z")

</div>

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