<?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 Dynamic field-names for lookups in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Dynamic-field-names-for-lookups/m-p/37115#M8255</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;i have a scripted lookup which is working fine. i configured in the lookups that the field name is called clientip for lookups. &lt;/P&gt;

&lt;P&gt;now i want to make it more dynamic so that the lookup can also be used for other fields containing an ip address. those fields might be clientip, src_ip, source_ip, dst_ip, dest_ip and so on. &lt;/P&gt;

&lt;P&gt;currently i found only that i need to configure one lookup command for each field name or rename the field in a pre command. &lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/Bildschirmfoto_2013-08-16_um_08.54.35.png" alt="alt text" /&gt; &lt;IMG src="http://splunk-base.splunk.com//storage/Bildschirmfoto_2013-08-16_um_08.55.28.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;i want to make my app ip reputation more generic. so that someone can type &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup threatscore src_ip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;as well as &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup threatscore clientip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or other field names depending what's required.&lt;/P&gt;

&lt;P&gt;Thanks a lot&lt;BR /&gt;
Matthias&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:35:21 GMT</pubDate>
    <dc:creator>Matthias_BY</dc:creator>
    <dc:date>2020-09-28T14:35:21Z</dc:date>
    <item>
      <title>Dynamic field-names for lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dynamic-field-names-for-lookups/m-p/37115#M8255</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;i have a scripted lookup which is working fine. i configured in the lookups that the field name is called clientip for lookups. &lt;/P&gt;

&lt;P&gt;now i want to make it more dynamic so that the lookup can also be used for other fields containing an ip address. those fields might be clientip, src_ip, source_ip, dst_ip, dest_ip and so on. &lt;/P&gt;

&lt;P&gt;currently i found only that i need to configure one lookup command for each field name or rename the field in a pre command. &lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://splunk-base.splunk.com//storage/Bildschirmfoto_2013-08-16_um_08.54.35.png" alt="alt text" /&gt; &lt;IMG src="http://splunk-base.splunk.com//storage/Bildschirmfoto_2013-08-16_um_08.55.28.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;i want to make my app ip reputation more generic. so that someone can type &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup threatscore src_ip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;as well as &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup threatscore clientip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or other field names depending what's required.&lt;/P&gt;

&lt;P&gt;Thanks a lot&lt;BR /&gt;
Matthias&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:35:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dynamic-field-names-for-lookups/m-p/37115#M8255</guid>
      <dc:creator>Matthias_BY</dc:creator>
      <dc:date>2020-09-28T14:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic field-names for lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dynamic-field-names-for-lookups/m-p/37116#M8256</link>
      <description>&lt;P&gt;You could do the one lookup  then just add "AS" so " | lookup threatscore ip AS src_ip" That will map the src_ip to the ip field from your lookup as you do it. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:35:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dynamic-field-names-for-lookups/m-p/37116#M8256</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2020-09-28T14:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic field-names for lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dynamic-field-names-for-lookups/m-p/37117#M8257</link>
      <description>&lt;P&gt;great this is working - so easy &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; thanks a lot&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2013 12:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dynamic-field-names-for-lookups/m-p/37117#M8257</guid>
      <dc:creator>Matthias_BY</dc:creator>
      <dc:date>2013-08-16T12:00:57Z</dc:date>
    </item>
  </channel>
</rss>

