<?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 Shouldn't this map command work? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141806#M39306</link>
    <description>&lt;P&gt;|stats count|eval cip='foo'|map search="search index=* Address=$cip$"&lt;/P&gt;

&lt;P&gt;It errors out saying  "Error in 'map': Did not find value for required attribute 'cip'."&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2015 22:06:02 GMT</pubDate>
    <dc:creator>wkupersa</dc:creator>
    <dc:date>2015-07-29T22:06:02Z</dc:date>
    <item>
      <title>Shouldn't this map command work?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141806#M39306</link>
      <description>&lt;P&gt;|stats count|eval cip='foo'|map search="search index=* Address=$cip$"&lt;/P&gt;

&lt;P&gt;It errors out saying  "Error in 'map': Did not find value for required attribute 'cip'."&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 22:06:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141806#M39306</guid>
      <dc:creator>wkupersa</dc:creator>
      <dc:date>2015-07-29T22:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Shouldn't this map command work?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141807#M39307</link>
      <description>&lt;P&gt;Hi wkupersa,&lt;/P&gt;

&lt;P&gt;use it like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|stats count|eval cip="foo"|map search="search index=* Address=$cip$"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will set the value of &lt;CODE&gt;cip&lt;/CODE&gt; to be &lt;CODE&gt;foo&lt;/CODE&gt;. In your original search you did set the value of &lt;CODE&gt;cip&lt;/CODE&gt; to be the value of the field called &lt;CODE&gt;foo&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 22:10:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141807#M39307</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-07-29T22:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Shouldn't this map command work?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141808#M39308</link>
      <description>&lt;P&gt;Geez. Single quotes versus double. Feeling brain dead. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 22:14:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141808#M39308</guid>
      <dc:creator>wkupersa</dc:creator>
      <dc:date>2015-07-29T22:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Shouldn't this map command work?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141809#M39309</link>
      <description>&lt;P&gt;you're welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2015 22:16:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Shouldn-t-this-map-command-work/m-p/141809#M39309</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-07-29T22:16:57Z</dc:date>
    </item>
  </channel>
</rss>

