<?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: Transforms.conf not using match_type = CIDR(ip) when searching in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466018#M57223</link>
    <description>&lt;P&gt;did you run the below?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| extract reload=T
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 02 Mar 2020 00:18:31 GMT</pubDate>
    <dc:creator>anmolpatel</dc:creator>
    <dc:date>2020-03-02T00:18:31Z</dc:date>
    <item>
      <title>Transforms.conf not using match_type = CIDR(ip) when searching</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466013#M57218</link>
      <description>&lt;P&gt;Leveraging the app ASN Lookup Generator - &lt;A href="https://splunkbase.splunk.com/app/3531/"&gt;https://splunkbase.splunk.com/app/3531/&lt;/A&gt; to build a lookup table for that has the following in a lookup table called 'asn'&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="asn"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8360i7A138CC7E73805D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="asn" alt="asn" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;the transforms.conf file has the following - note I commented out max_matches to test, with or without that line commented it still wont return results &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# cat TA-asngen/default/transforms.conf
[asn]
filename = asn.csv
match_type = CIDR(ip)
#max_matches = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I run the following search &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults |eval src="1.0.0.1"| lookup asn ip as src
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Nothing is matched, but it should be matched to asn 1335, any thoughts? I feel like I'm doing something wrong&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="no match"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8361i8449D1C8D6113D5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="no match" alt="no match" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 19:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466013#M57218</guid>
      <dc:creator>mmqt</dc:creator>
      <dc:date>2020-02-12T19:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf not using match_type = CIDR(ip) when searching</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466014#M57219</link>
      <description>&lt;P&gt;your query, &lt;CODE&gt;lookup asn&lt;/CODE&gt; ,not &lt;CODE&gt;asn.csv&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 21:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466014#M57219</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-12T21:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf not using match_type = CIDR(ip) when searching</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466015#M57220</link>
      <description>&lt;P&gt;changing the query to asn.csv still does not provide any ip transformation. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 23:46:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466015#M57220</guid>
      <dc:creator>mmqt</dc:creator>
      <dc:date>2020-02-12T23:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf not using match_type = CIDR(ip) when searching</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466016#M57221</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/5916/using-cidr-in-a-lookup-table.html"&gt;link text&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;how's &lt;EM&gt;props.conf&lt;/EM&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 08:52:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466016#M57221</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-02-13T08:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf not using match_type = CIDR(ip) when searching</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466017#M57222</link>
      <description>&lt;P&gt;No props as this is not intended to be an automatic lookup, this lookup is called on demand for any sourcetype that contains an IP.&lt;/P&gt;

&lt;P&gt;Props would just remove the need to put in  &lt;CODE&gt;ip as src OUTPUTNEW asn&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Which is not the problem I'm trying to solve&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 17:18:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466017#M57222</guid>
      <dc:creator>mmqt</dc:creator>
      <dc:date>2020-02-13T17:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf not using match_type = CIDR(ip) when searching</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466018#M57223</link>
      <description>&lt;P&gt;did you run the below?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| extract reload=T
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 Mar 2020 00:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466018#M57223</guid>
      <dc:creator>anmolpatel</dc:creator>
      <dc:date>2020-03-02T00:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf not using match_type = CIDR(ip) when searching</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466019#M57224</link>
      <description>&lt;P&gt;I needed to reboot the instance for it to recognize the input, after the reboot it worked &lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 17:22:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Transforms-conf-not-using-match-type-CIDR-ip-when-searching/m-p/466019#M57224</guid>
      <dc:creator>mmqt</dc:creator>
      <dc:date>2020-03-19T17:22:00Z</dc:date>
    </item>
  </channel>
</rss>

