<?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: Error using lookup command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542469#M153664</link>
    <description>&lt;P&gt;I am not sure if the lookup command on KVstore collection supports fields with dotted notation. Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype="email*" | rename SenderAddress as indicator | append [| inputlookup tci | rename "tag.name" as tag | fields type, tag, indicator] | stats latest(*) as * by indicator&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Mar 2021 07:22:24 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2021-03-05T07:22:24Z</dc:date>
    <item>
      <title>Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542293#M153613</link>
      <description>&lt;P&gt;I am running the below query,&lt;BR /&gt;sourcetype="email" | rename SenderAddress as indicator |lookup tci indicator output type,rating|where isnotnull(type)|dedup indicator|table indicator FromIP rating&amp;nbsp; type&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It all works fine except if I add a field named attrib.val or tag.name like below&lt;BR /&gt;sourcetype="email" | rename SenderAddress as indicator |lookup tci indicator output type,rating,tag.name|where isnotnull(type)|dedup indicator|table indicator FromIP rating&amp;nbsp; type tag.name&lt;BR /&gt;&lt;BR /&gt;It throws error like,&lt;BR /&gt;Error in 'lookup' command: Could not find all of the specified destination fields in the lookup table.&lt;BR /&gt;&lt;BR /&gt;But actually I have a field named tag.name in tci lookup. I suspect if it is because of"." in the field names.&lt;BR /&gt;Kindly suggest.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 06:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542293#M153613</guid>
      <dc:creator>Janani_Krish</dc:creator>
      <dc:date>2021-03-04T06:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542298#M153614</link>
      <description>&lt;P&gt;Fields containing dots should not cause any problem. It works in 8.x.&lt;BR /&gt;&lt;BR /&gt;Provide output field in double-quotes.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype="email" | rename SenderAddress as indicator | lookup tci indicator output type, rating, "tag.name"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 06:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542298#M153614</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-04T06:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542442#M153657</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tried like below,&lt;BR /&gt;sourcetype="email*" | rename SenderAddress as indicator |lookup tci indicator output type,"tag.name" as tag|where isnotnull(type)|dedup indicator|table indicator tag&lt;BR /&gt;&lt;BR /&gt;Even this is returning the error,&lt;BR /&gt;Error in 'lookup' command: Could not find all of the specified destination fields in the lookup table.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 04:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542442#M153657</guid>
      <dc:creator>Janani_Krish</dc:creator>
      <dc:date>2021-03-05T04:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542459#M153662</link>
      <description>&lt;P&gt;Try to run the query with CSV file directly. If it works then check the definition for lookup&amp;nbsp;&lt;STRONG&gt;tci &lt;/STRONG&gt;and see if proper CSV file is configured to it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype="email*" | rename SenderAddress as indicator | lookup tci_filename.csv indicator OUTPUT type, "tag.name" as tag&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 05 Mar 2021 06:21:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542459#M153662</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-05T06:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542464#M153663</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The lookup tci is of type KV store and not file type.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 06:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542464#M153663</guid>
      <dc:creator>Janani_Krish</dc:creator>
      <dc:date>2021-03-05T06:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542469#M153664</link>
      <description>&lt;P&gt;I am not sure if the lookup command on KVstore collection supports fields with dotted notation. Try this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;sourcetype="email*" | rename SenderAddress as indicator | append [| inputlookup tci | rename "tag.name" as tag | fields type, tag, indicator] | stats latest(*) as * by indicator&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 07:22:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542469#M153664</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-05T07:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542488#M153671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If I give subsearch I am getting truncated results since my lookup and sourcetype have heavy results. Thats the reason I decided to move to lookup command,&lt;/P&gt;&lt;P&gt;Also I looked into definition of tci lookup where I could see in supported field column it is, "tag".&lt;BR /&gt;So I ran the query as below,&lt;BR /&gt;sourcetype="ms:o365*" | rename SenderAddress as indicator |lookup tci indicator output type,rating,tag|where isnotnull(type)|dedup indicator|table indicator tag&lt;/P&gt;&lt;P&gt;Now I am not getting any error, but my tag column is empty.&lt;/P&gt;&lt;P&gt;Then I tried running the below query without renaming tag.name field since tag field was supported in earlier query,&lt;BR /&gt;|inputlookup tci|search indicator="*"|table indicator tag&lt;/P&gt;&lt;P&gt;Here it says, No matching fields exist.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 08:10:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542488#M153671</guid>
      <dc:creator>Janani_Krish</dc:creator>
      <dc:date>2021-03-05T08:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542493#M153674</link>
      <description>&lt;P class="lia-align-left"&gt;Check these posts,&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/Lookup-command-doesn-t-support-dot-notation-in-field-name/m-p/500643" target="_blank"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/Lookup-command-doesn-t-support-dot-notation-in-field-name/m-p/500643&lt;/A&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&lt;A href="https://community.splunk.com/t5/Knowledge-Management/Are-characters-in-KV-lookup-field-names-supported/m-p/380048/highlight/true#M3254" target="_blank"&gt;https://community.splunk.com/t5/Knowledge-Management/Are-characters-in-KV-lookup-field-names-supported/m-p/380048/highlight/true#M3254&lt;/A&gt;&lt;/P&gt;&lt;P class="lia-align-left"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 08:21:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542493#M153674</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-03-05T08:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error using lookup command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542511#M153680</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/129090"&gt;@manjunathmeti&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My case is same as described in post suggested by you,&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/Lookup-command-doesn-t-support-dot-notation-in-field-name/m-p/500643" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/Lookup-command-doesn-t-support-dot-notation-in-...&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The field itself is mentioned only "tag" in definition. PFB the image,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janani_Krish_0-1614934573751.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13189iB6F0ECBCC4C8BC40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janani_Krish_0-1614934573751.png" alt="Janani_Krish_0-1614934573751.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I run |inputlookup tci|search indicator="*" the results are like below with tag.name field,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Janani_Krish_1-1614934573325.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13188i0E1F5DB22DF6CB72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Janani_Krish_1-1614934573325.png" alt="Janani_Krish_1-1614934573325.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Also I tried,&lt;BR /&gt;sourcetype="email*"|lookup tci indicator output type,rating,tag as tag.name|where isnotnull(type)|dedup indicator|table indicator&amp;nbsp; tag.name&lt;BR /&gt;&lt;BR /&gt;Still getting empty field.&lt;BR /&gt;&lt;BR /&gt;Is there any other way where I can rename my field manually except getting into lookup definitions.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 08:57:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-lookup-command/m-p/542511#M153680</guid>
      <dc:creator>Janani_Krish</dc:creator>
      <dc:date>2021-03-05T08:57:40Z</dc:date>
    </item>
  </channel>
</rss>

