<?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: MSSQL ERRORLOG problem in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MSSQL-ERRORLOG-problem/m-p/415280#M50640</link>
    <description>&lt;P&gt;Yes you are correct. The mssql errorlog cycles from ERRORLOG1 till 99&lt;/P&gt;

&lt;P&gt;Make sure you also set your CHARSET correct as you might get weird results otherwise.&lt;BR /&gt;
Something like this:&lt;BR /&gt;
[mssql:errorlog]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
CHARSET=UTF-8&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=22&lt;BR /&gt;
disabled=false&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d %H:%M:%S.%2N&lt;BR /&gt;
TIME_PREFIX=^&lt;BR /&gt;
HEADER_FIELD_LINE_NUMBER=8&lt;BR /&gt;
LINE_BREAKER=([\r\n]+)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{2}&lt;BR /&gt;
TRUNCATE=999999&lt;/P&gt;

&lt;P&gt;And yes this will probably mean manual field extraction. I think we are a few months further. I'd like to know how you got on with this?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:44:44 GMT</pubDate>
    <dc:creator>Azeemering</dc:creator>
    <dc:date>2020-09-29T21:44:44Z</dc:date>
    <item>
      <title>MSSQL ERRORLOG problem</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MSSQL-ERRORLOG-problem/m-p/415279#M50639</link>
      <description>&lt;P&gt;I am using splunk to monitor the MSSQL ERRORLOG files.&lt;/P&gt;

&lt;P&gt;My goal is to list the failed and success logons into MSSQL.  Without using &lt;STRONG&gt;db connect 2&lt;/STRONG&gt; and just the &lt;STRONG&gt;Splunk_TA_microsoft-sqlserver&lt;/STRONG&gt;, am I looking into the correct logs (ERRORLOG*) for this??&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;inputs.conf
[monitor://C:\Program Files\Microsoft SQL Server\MSSQL12\MSSQL\Log\ERRORLOG*]
sourcetype = mssql:errorlog
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The file path is correct, however, i realized there wasn't a stanza in the props.conf for [mssql:errorlog] &lt;/P&gt;

&lt;P&gt;My question is am i looking at the correct log file, and do I have to do a manual field extraction for this sourcetype [mssql:errorlog] for MSSQL failed and success logons?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:14:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MSSQL-ERRORLOG-problem/m-p/415279#M50639</guid>
      <dc:creator>daniellim</dc:creator>
      <dc:date>2020-09-29T20:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: MSSQL ERRORLOG problem</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/MSSQL-ERRORLOG-problem/m-p/415280#M50640</link>
      <description>&lt;P&gt;Yes you are correct. The mssql errorlog cycles from ERRORLOG1 till 99&lt;/P&gt;

&lt;P&gt;Make sure you also set your CHARSET correct as you might get weird results otherwise.&lt;BR /&gt;
Something like this:&lt;BR /&gt;
[mssql:errorlog]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
CHARSET=UTF-8&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=22&lt;BR /&gt;
disabled=false&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%d %H:%M:%S.%2N&lt;BR /&gt;
TIME_PREFIX=^&lt;BR /&gt;
HEADER_FIELD_LINE_NUMBER=8&lt;BR /&gt;
LINE_BREAKER=([\r\n]+)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{2}&lt;BR /&gt;
TRUNCATE=999999&lt;/P&gt;

&lt;P&gt;And yes this will probably mean manual field extraction. I think we are a few months further. I'd like to know how you got on with this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/MSSQL-ERRORLOG-problem/m-p/415280#M50640</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2020-09-29T21:44:44Z</dc:date>
    </item>
  </channel>
</rss>

