# Jdbc\_streaming named parameters

**URL:** <https://discuss.elastic.co/t/jdbc-streaming-named-parameters/202831>\
**Category:** Logstash\
**Created:** [October 9, 2019, 12:46pm UTC](https://discuss.elastic.co/t/jdbc-streaming-named-parameters/202831 "2019-10-09T12:46:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cerutidavide](https://avatars.discourse-cdn.com/v4/letter/c/35a633/32.png) [@cerutidavide](https://discuss.elastic.co/u/cerutidavide)\
**Post date:** [October 9, 2019, 12:46pm UTC](https://discuss.elastic.co/t/jdbc-streaming-named-parameters/202831/1 "2019-10-09T12:46:22Z")

</div>

I am pretty new to ELK, I have a problem with jdbc\_streaming filter plugin.  
It seems that parameters is not properly set and my query doesn't work.

filter {

jdbc\_streaming {  
jdbc\_user =\> "_**"  
jdbc\_password =\> "**_"  
jdbc\_driver\_class =\> "Java::oracle.jdbc.driver.OracleDriver"  
jdbc\_driver\_library =\> "/home/logstash/ingestion\_servizi/ojdbc5.jar"  
jdbc\_connection\_string =\> "jdbc:oracle:thin:@//host:port/databasesid"  
statement =\> "select a as ttype,name from databasesid.AAA WHERE AAA.NAME = :xx"  
parameters =\> { "xx" =\> "servername" }  
target =\> "devicetype4"  
}

already verified that query return values from database.  
If I remove WHERE clause result is correct and devicetype4 is properly populated with an array matching values from database column.  
Any help?  
Thanks  
Davide

---

<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:** [November 6, 2019, 12:46pm UTC](https://discuss.elastic.co/t/jdbc-streaming-named-parameters/202831/2 "2019-11-06T12:46:23Z")

</div>

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