<?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 How to find domain from DNS log in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342139#M63028</link>
    <description>&lt;P&gt;I am trying to compare dns log  to a list of suspicions domain&lt;/P&gt;

&lt;P&gt;my dns log look like that :&lt;/P&gt;

&lt;P&gt;22.333.xxx.apple.com&lt;BR /&gt;
&lt;A href="http://www.apple.com"&gt;www.apple.com&lt;/A&gt;&lt;BR /&gt;
sss.ddd.apple.com&lt;BR /&gt;
123456.a-pple.net&lt;BR /&gt;
&lt;A href="http://www.333.a-pple.net"&gt;www.333.a-pple.net&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;and the domain list  i want to check is &lt;BR /&gt;
apple.com&lt;BR /&gt;
a-pple.net&lt;/P&gt;

&lt;P&gt;trying to do it by rex or  string  with no success&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2017 07:16:27 GMT</pubDate>
    <dc:creator>romiz2563</dc:creator>
    <dc:date>2017-06-11T07:16:27Z</dc:date>
    <item>
      <title>How to find domain from DNS log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342139#M63028</link>
      <description>&lt;P&gt;I am trying to compare dns log  to a list of suspicions domain&lt;/P&gt;

&lt;P&gt;my dns log look like that :&lt;/P&gt;

&lt;P&gt;22.333.xxx.apple.com&lt;BR /&gt;
&lt;A href="http://www.apple.com"&gt;www.apple.com&lt;/A&gt;&lt;BR /&gt;
sss.ddd.apple.com&lt;BR /&gt;
123456.a-pple.net&lt;BR /&gt;
&lt;A href="http://www.333.a-pple.net"&gt;www.333.a-pple.net&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;and the domain list  i want to check is &lt;BR /&gt;
apple.com&lt;BR /&gt;
a-pple.net&lt;/P&gt;

&lt;P&gt;trying to do it by rex or  string  with no success&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2017 07:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342139#M63028</guid>
      <dc:creator>romiz2563</dc:creator>
      <dc:date>2017-06-11T07:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find domain from DNS log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342140#M63029</link>
      <description>&lt;P&gt;For regex, assuming it is in a field named "request", try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rex field=request "(?&amp;lt;domain&amp;gt;[^\.]*\.[^\.]*)$"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Out the other end, if I didn't mess it all up because this was a pain to do on a phone, you should have a field domain that is what you want. &lt;/P&gt;

&lt;P&gt;(&lt;STRONG&gt;EDIT&lt;/STRONG&gt;: dur.  First sip of coffee went in, &lt;EM&gt;actual&lt;/EM&gt; answer came out.)&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2017 12:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342140#M63029</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2017-06-11T12:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to find domain from DNS log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342141#M63030</link>
      <description>&lt;P&gt;Have you tried the &lt;CODE&gt;GetWatchList&lt;/CODE&gt; app?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/635/"&gt;https://splunkbase.splunk.com/app/635/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2017 17:46:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342141#M63030</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-06-11T17:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to find domain from DNS log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342142#M63031</link>
      <description>&lt;P&gt;Thanks it's working grate &lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2017 22:26:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342142#M63031</guid>
      <dc:creator>romiz2563</dc:creator>
      <dc:date>2017-06-11T22:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to find domain from DNS log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342143#M63032</link>
      <description>&lt;P&gt;Great!&lt;/P&gt;

&lt;P&gt;Can you please click "Accept" so all the other people who stumble across this answer will know the answer works?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 20:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-find-domain-from-DNS-log/m-p/342143#M63032</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2017-06-13T20:22:48Z</dc:date>
    </item>
  </channel>
</rss>

