# JDBC input plugin Logstash

**URL:** <https://discuss.elastic.co/t/jdbc-input-plugin-logstash/139718>\
**Category:** Logstash\
**Created:** [July 12, 2018, 9:47am UTC](https://discuss.elastic.co/t/jdbc-input-plugin-logstash/139718 "2018-07-12T09:47:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ysumit](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@ysumit](https://discuss.elastic.co/u/ysumit)\
**Post date:** [July 12, 2018, 9:47am UTC](https://discuss.elastic.co/t/jdbc-input-plugin-logstash/139718/1 "2018-07-12T09:47:38Z")

</div>

Hi Team

I have multiple sql queries. For e.g query A for total/B for Average/C for max.

a) I need to use the same conf file.  
b) In output I want to access the data of individual query i.e. A/B/C. How to identify them differently.  
c) Use the data in IF clause to send it to specifc http url. like if Query output of A i.e. total is greater than 100 then send an http request to my incident manager tool.  
d) Add Unique ID for the each Critical event I forward and retain same uuid for Clear.

Regards  
SY

---

<div class="post-metadata">

**Author:** ![ysumit](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@ysumit](https://discuss.elastic.co/u/ysumit)\
**Post date:** [July 13, 2018, 7:36am UTC](https://discuss.elastic.co/t/jdbc-input-plugin-logstash/139718/2 "2018-07-13T07:36:08Z")

</div>

Hi Team

Any updates?

Regards  
SY

---

<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 10, 2018, 7:36am UTC](https://discuss.elastic.co/t/jdbc-input-plugin-logstash/139718/3 "2018-08-10T07:36:12Z")

</div>

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