<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get data from an MS SQL audit file using DB Connect or UF? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506156#M2212</link>
    <description>DB Connect is for extracting data directly from a database, much as you would use a SQL client to run queries. If you can write a query to read the .sqlfile then DBX should be able to read it, too.&lt;BR /&gt;As I understand it, .sqlaudit files are not text-based so they can't be onboarded as-is.</description>
    <pubDate>Thu, 25 Jun 2020 14:20:31 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-06-25T14:20:31Z</dc:date>
    <item>
      <title>Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506153#M2210</link>
      <description>&lt;P&gt;I have an MS SQL server writing audit data to a .sqlaudit file. I need to get this data into Splunk. I have DB Connect installed, but I'm not sure how to ingest the .sqlaudit file data. Do I use DB Connect or the UF?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 14:07:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506153#M2210</guid>
      <dc:creator>mikefg</dc:creator>
      <dc:date>2020-06-25T14:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506154#M2211</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;here is old answers&amp;nbsp;&lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-collect-SQL-audit-data/td-p/350002" target="_blank"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-collect-SQL-audit-data/td-p/350002&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 14:15:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506154#M2211</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-06-25T14:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506156#M2212</link>
      <description>DB Connect is for extracting data directly from a database, much as you would use a SQL client to run queries. If you can write a query to read the .sqlfile then DBX should be able to read it, too.&lt;BR /&gt;As I understand it, .sqlaudit files are not text-based so they can't be onboarded as-is.</description>
      <pubDate>Thu, 25 Jun 2020 14:20:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506156#M2212</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-06-25T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506163#M2214</link>
      <description>&lt;P&gt;Thank you, I have been through this article and either I'm missing something or the article is missing something.&lt;/P&gt;&lt;P&gt;Following the steps to 'Create audit objects in Microsoft SQL Server for the Splunk Add-on for Microsoft SQL Server' I now have audit files being written to disk.&lt;/P&gt;&lt;PRE&gt;CREATE SERVER AUDIT MSSQL_Database_Audit TO FILE ( FILEPATH = 'C:\\SQLAudit' )&amp;nbsp;;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;However, I do not see steps in the article for how to get the file data into Splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 14:41:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506163#M2214</guid>
      <dc:creator>mikefg</dc:creator>
      <dc:date>2020-06-25T14:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506165#M2215</link>
      <description>&lt;P&gt;Please see my reply above. The audit files are being created per Splunk instructions, but how do I get them into Splunk?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 14:42:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506165#M2215</guid>
      <dc:creator>mikefg</dc:creator>
      <dc:date>2020-06-25T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506168#M2217</link>
      <description>&lt;P&gt;Those should be a “regular” text files, (I haven’t any MS SQL server on my hands) so just use UF as any other files.&lt;/P&gt;&lt;P&gt;ismo&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 14:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506168#M2217</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-06-25T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506178#M2220</link>
      <description>&lt;P&gt;Using the MS SQL addon I see this reference to audit logs 'uses the sys.fn_get_audit_file function via DB Connect.'&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/AddOns/released/MSSQLServer/Datatypes" target="_blank"&gt;https://docs.splunk.com/Documentation/AddOns/released/MSSQLServer/Datatypes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SNAG-0000 6-25-2020.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9345iDE229BAA1FFA445C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SNAG-0000 6-25-2020.png" alt="SNAG-0000 6-25-2020.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 15:24:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506178#M2220</guid>
      <dc:creator>mikefg</dc:creator>
      <dc:date>2020-06-25T15:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506181#M2222</link>
      <description>If I recall right there are two ways to get audit events from MS SQL. First way is that export to text file and second way is direct access / queries from DB.&lt;BR /&gt;R. Ismo</description>
      <pubDate>Thu, 25 Jun 2020 15:50:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/506181#M2222</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-06-25T15:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from an MS SQL audit file using DB Connect or UF?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/544275#M5316</link>
      <description>&lt;P&gt;1. create an identity in splunk with an account that has access to SQL Server&lt;BR /&gt;- account will require server Control (USE master;&amp;nbsp; GRANT CONTROL SERVER TO SplunkUSER;)&lt;BR /&gt;2. Create a new connection using identity created in step1&lt;BR /&gt;3. Create a data lab and specify your Connection created in step 2.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the data lab you specify your query&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT * FROM sys.fn_get_audit_file ('\\\&amp;lt;servername&amp;gt;\&amp;lt;sharename&amp;gt;\*.sqlaudit',null,null);&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 02:02:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Get-data-from-an-MS-SQL-audit-file-using-DB-Connect-or-UF/m-p/544275#M5316</guid>
      <dc:creator>katrey</dc:creator>
      <dc:date>2021-03-18T02:02:20Z</dc:date>
    </item>
  </channel>
</rss>

