---
title: "How to monitor new row arriving in sql-toolkit plugin?"
description: "Monitoring new rows arriving in the sql-toolkit plugin involves tracking the number of rows returned. Enabling the Show headlines option lets you set a rule on the rows returned cell and use rate of change to detect new rows."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004027209-geneos-how-to-monitor-new-row-arriving-in-sql-toolkit-plugin/index.html"
---
Since the user is already using sql-toolkit, we can make use of the option within the plugin to show the number of rows returned; this is enabled via the 'Show headlines' option.  ![Screenshot](https://docscdn.itrsgroup.com/faq/images/geneos/115004027209-inline-1-mceclip2.png)

From here, you can set a rule on the rows returned headline cell and use either the rate of change function on that, to check if the value changed and run an action accordingly.

```
if rate(value) <> 0 then

run "action"

severity critical else

severity ok endif  Or, you can just compare the value to the previous if it has increased.  if value >= (previous value + 1) then

run "action"

severity critical else

severity ok endif
```


