# Kapacitor + tickscript two fields query

**URL:** https://community.influxdata.com/t/kapacitor-tickscript-two-fields-query/10018
**Category:** InfluxDB 2
**Tags:** kapacitor
**Created:** [June 5, 2019, 8:01am UTC](https://community.influxdata.com/t/kapacitor-tickscript-two-fields-query/10018 "2019-06-05T08:01:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rickymaloy](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/rickymaloy/32/3129_2.png) [@rickymaloy](https://community.influxdata.com/u/rickymaloy)
#### Post date: [June 5, 2019, 8:01am UTC](https://community.influxdata.com/t/kapacitor-tickscript-two-fields-query/10018/1 "2019-06-05T08:01:36Z")

</div>

How to create a query for two fields that will set the threshold both the same and it will trigger the alerts
