<?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: lookups via powershell resource kit in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/lookups-via-powershell-resource-kit/m-p/67894#M16963</link>
    <description>&lt;P&gt;I hate to do this but I thought it might be worth giving this a little bump now that America is awake and at work &lt;/P&gt;

&lt;P&gt;I promise not to make a habit of it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2012 23:02:27 GMT</pubDate>
    <dc:creator>Bulluk</dc:creator>
    <dc:date>2012-02-08T23:02:27Z</dc:date>
    <item>
      <title>lookups via powershell resource kit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookups-via-powershell-resource-kit/m-p/67893#M16962</link>
      <description>&lt;P&gt;Does anyone know if it's possible to perform a lookup when using the powershell resource kit's search functionality? I'm currently on v4.2 and saw that lookup was added to the rest api in 4.3 so I'm guessing this won't be possible yet....&lt;/P&gt;

&lt;P&gt;My really simple search is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;find something | lookup myLookup name AS userName OUTPUTNEW Title AS Title
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which works fine via the gui but not when using powershell&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 16:12:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookups-via-powershell-resource-kit/m-p/67893#M16962</guid>
      <dc:creator>Bulluk</dc:creator>
      <dc:date>2012-02-08T16:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: lookups via powershell resource kit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookups-via-powershell-resource-kit/m-p/67894#M16963</link>
      <description>&lt;P&gt;I hate to do this but I thought it might be worth giving this a little bump now that America is awake and at work &lt;/P&gt;

&lt;P&gt;I promise not to make a habit of it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 23:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookups-via-powershell-resource-kit/m-p/67894#M16963</guid>
      <dc:creator>Bulluk</dc:creator>
      <dc:date>2012-02-08T23:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: lookups via powershell resource kit</title>
      <link>https://community.splunk.com/t5/Splunk-Search/lookups-via-powershell-resource-kit/m-p/67895#M16964</link>
      <description>&lt;P&gt;Turns out that if you add the -RequiredField flag to the search it returns the values from the lookup, ie:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$results = Search-Splunk -Search "find something `| lookup myLookup name AS userName OUTPUTNEW Title AS Title" -RequiredField "Title"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Feb 2012 11:57:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/lookups-via-powershell-resource-kit/m-p/67895#M16964</guid>
      <dc:creator>Bulluk</dc:creator>
      <dc:date>2012-02-09T11:57:43Z</dc:date>
    </item>
  </channel>
</rss>

