<?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: Regex help Required in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513719#M144165</link>
    <description>&lt;P&gt;Can anyone help on my request..&lt;/P&gt;</description>
    <pubDate>Wed, 12 Aug 2020 14:40:07 GMT</pubDate>
    <dc:creator>anandhalagaras1</dc:creator>
    <dc:date>2020-08-12T14:40:07Z</dc:date>
    <item>
      <title>Regex help Required</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513694#M144155</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We are planning to ingest the SQL login success and failure logs into Splunk. So&amp;nbsp; in the logs there are lot of events but we want to ingest only the "Login succeeded for user" and&amp;nbsp;"Login failed for user" information alone. So kindly help to provide the regex for the same.&lt;/P&gt;&lt;P&gt;Sample events looks like below:&lt;/P&gt;&lt;P&gt;2020-08-10 06:00:00.89 Logon Login succeeded for user 'ad\SQL_abcde123'. Connection made using Windows authentication. [CLIENT: &amp;lt;local machine&amp;gt;]&lt;BR /&gt;2020-08-10 06:00:01.59 Logon Login succeeded for user 'xyz'. Connection made using SQL Server authentication. [CLIENT: xxx.xxx.xxx.xxx]&lt;BR /&gt;2019-08-10 05:00:01.59 Logon Login failed for user ''. Reason: An attempt to login using SQL authentication failed. Server is configured for Windows authentication only. [CLIENT: xxx.xxx.xx.xxx]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:36:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513694#M144155</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-08-12T11:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help Required</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513695#M144156</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/Whitelistorblacklistspecificincomingdata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/Whitelistorblacklistspecificincomingdata&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;[yours]&lt;/P&gt;&lt;P&gt;whitelist = (&lt;SPAN&gt;succeeded|failed) for user&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:41:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513695#M144156</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-08-12T11:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help Required</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513697#M144157</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/184221"&gt;@to4kawa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your swift response. So i need to write in props.conf (or) should i need to include the same in inputs.conf along with index and sourcetype information.&lt;/P&gt;&lt;P&gt;Or Whether do we need to have both props and transforms in place as well?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:46:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513697#M144157</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-08-12T11:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help Required</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513716#M144163</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have mentioned in the input.conf and ingested the logs into Splunk. But still i can see other events also getting ingested as well. I just want to see the succeeded and failed events alone. so let me know how to fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[monitor://D:\Server Location]&lt;BR /&gt;whitelist = (succeeded|failed) for user&lt;BR /&gt;sourcetype = xyz&lt;BR /&gt;index = abc&lt;BR /&gt;crcSalt = &amp;lt;SOURCE&amp;gt;&lt;BR /&gt;disabled = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So kindly help on this request.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 13:42:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513716#M144163</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-08-12T13:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help Required</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513719#M144165</link>
      <description>&lt;P&gt;Can anyone help on my request..&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 14:40:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513719#M144165</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-08-12T14:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help Required</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513747#M144177</link>
      <description>&lt;P&gt;Can anyone help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 16:23:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help-Required/m-p/513747#M144177</guid>
      <dc:creator>anandhalagaras1</dc:creator>
      <dc:date>2020-08-12T16:23:30Z</dc:date>
    </item>
  </channel>
</rss>

