# Elastic Agent SQL Integration

**URL:** <https://discuss.elastic.co/t/elastic-agent-sql-integration/294043>\
**Category:** Beats\
**Tags:** fleet, elastic-agent, integrations\
**Created:** [January 11, 2022, 2:12pm UTC](https://discuss.elastic.co/t/elastic-agent-sql-integration/294043 "2022-01-11T14:12:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BenB196](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benb196/32/83401_2.png) [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Post date:** [January 11, 2022, 2:12pm UTC](https://discuss.elastic.co/t/elastic-agent-sql-integration/294043/1 "2022-01-11T14:12:36Z")

</div>

Hi All,

I was wondering if there is or are plans to have an SQL integration for the Elastic Agent that is basically ([SQL module | Metricbeat Reference [7.16] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-sql.html))? I'm looking have a recurring query to collect some information from a MSSQL server but would like to leverage the Elastic Agent if possible, rather than having to deploy a standalone Metricbeat for a single use.

I see [Create MS SQL package · Issue #626 · elastic/integrations · GitHub](https://github.com/elastic/integrations/issues/626), but am unsure if this issue is intended to cover executing SQL queries as looking at the current [MySQL integration](https://docs.elastic.co/en/integrations/mysql) it doesn't seem to support running queries as well.

---

<div class="post-metadata">

**Author:** ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)\
**Post date:** [January 11, 2022, 10:03pm UTC](https://discuss.elastic.co/t/elastic-agent-sql-integration/294043/2 "2022-01-11T22:03:33Z")

</div>

It looks like the metrics dataset(s) haven't been migrated yet, just the audit logs. I suspect the intent is to migrate the metrics as well, it just hasn't been done yet.

---

<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:** [February 9, 2022, 12:03am UTC](https://discuss.elastic.co/t/elastic-agent-sql-integration/294043/3 "2022-02-09T00:03:39Z")

</div>

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