<?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: PARSER: Applying intentions failed 'unicode' object has no attribute 'get' in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/PARSER-Applying-intentions-failed-unicode-object-has-no/m-p/85838#M4660</link>
    <description>&lt;P&gt;The question you linked has the answer.  In the replacementMap sections, where your XML says&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
&amp;lt;param name="UserAddedRemoved"/&amp;gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;
you need to change it to &lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
&amp;lt;param name="UserAddedRemoved"&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="value"&amp;gt;&amp;lt;/param&amp;gt;&lt;BR /&gt;
&amp;lt;/param&amp;gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;It's not just adding the value param line; you have to remove the trailing / from the name=UserAddedRemoved line to ensure the value definition is part of the correct parent block.  Same goes for the Group replacement map section.  I copied your XML into a test view and verified that it worked with these changes.  (It also wanted me to add a layoutPanel parameter to the ExtendedFieldSearch module definition, but that's a quick fix.)&lt;/P&gt;</description>
    <pubDate>Wed, 19 Sep 2012 17:56:03 GMT</pubDate>
    <dc:creator>cphair</dc:creator>
    <dc:date>2012-09-19T17:56:03Z</dc:date>
    <item>
      <title>PARSER: Applying intentions failed 'unicode' object has no attribute 'get'</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/PARSER-Applying-intentions-failed-unicode-object-has-no/m-p/85837#M4659</link>
      <description>&lt;P&gt;(NOTE - I have read other similar posts and solutions have not helped)&lt;/P&gt;

&lt;P&gt;I have a created a dashboard with 2 text boxes for a search.  The default value if nothing enetered is "*".&lt;/P&gt;

&lt;P&gt;This worked well until i needed to add a radio button to the search options and i was forced to convert to advanced XML.&lt;/P&gt;

&lt;P&gt;Now i have converted all works well if i leacve text boxes empty and the search uses the *, but if anything entered into text boxes i get the error below:&lt;/P&gt;

&lt;P&gt;PARSER: Applying intentions failed 'unicode' object has no attribute 'get'&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/3606/unicode-object-has-no-attribute-get#3665).:"&gt;http://splunk-base.splunk.com/answers/3606/unicode-object-has-no-attribute-get#3665).:&lt;/A&gt;&lt;BR /&gt;
This one states to add the line&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="value"&amp;gt;&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This does not fix issue. It also says to change the order round- this does nto seem to work either!  my code:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="ExtendedFieldSearch"&amp;gt;
      &amp;lt;param name="replacementMap"&amp;gt;
        &amp;lt;param name="arg"&amp;gt;
          &amp;lt;param name="Group"/&amp;gt;
              &amp;lt;/param&amp;gt;
          &amp;lt;/param&amp;gt;
      &amp;lt;param name="field"&amp;gt;Enter ’Group' name&amp;lt;/param&amp;gt;
      &amp;lt;param name="intention"&amp;gt;
        &amp;lt;param name="name"&amp;gt;stringreplace&amp;lt;/param&amp;gt;
        &amp;lt;param name="arg"&amp;gt;
          &amp;lt;param name="Group"&amp;gt;
            &amp;lt;param name="default"&amp;gt;*&amp;lt;/param&amp;gt;
            &amp;lt;param name="fillOnEmpty"&amp;gt;True&amp;lt;/param&amp;gt;
          &amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;

      &amp;lt;module name="ExtendedFieldSearch"&amp;gt;
        &amp;lt;param name="replacementMap"&amp;gt;
          &amp;lt;param name="arg"&amp;gt;
            &amp;lt;param name="UserAddedRemoved"/&amp;gt;
                &amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
        &amp;lt;param name="field"&amp;gt;Enter 'Username'&amp;lt;/param&amp;gt;
        &amp;lt;param name="intention"&amp;gt;
          &amp;lt;param name="name"&amp;gt;stringreplace&amp;lt;/param&amp;gt;
          &amp;lt;param name="arg"&amp;gt;
            &amp;lt;param name="UserAddedRemoved"&amp;gt;
              &amp;lt;param name="default"&amp;gt;*&amp;lt;/param&amp;gt;
              &amp;lt;param name="fillOnEmpty"&amp;gt;True&amp;lt;/param&amp;gt;
            &amp;lt;/param&amp;gt;
          &amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;let me know if you need more?&lt;/P&gt;

&lt;P&gt;Please do not just  point me to another post as none of them clearly identify what needs changing&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2012 11:48:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PARSER-Applying-intentions-failed-unicode-object-has-no/m-p/85837#M4659</guid>
      <dc:creator>r999</dc:creator>
      <dc:date>2012-06-28T11:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: PARSER: Applying intentions failed 'unicode' object has no attribute 'get'</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/PARSER-Applying-intentions-failed-unicode-object-has-no/m-p/85838#M4660</link>
      <description>&lt;P&gt;The question you linked has the answer.  In the replacementMap sections, where your XML says&lt;BR /&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
&amp;lt;param name="UserAddedRemoved"/&amp;gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;
you need to change it to &lt;/P&gt;

&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
&amp;lt;param name="UserAddedRemoved"&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="value"&amp;gt;&amp;lt;/param&amp;gt;&lt;BR /&gt;
&amp;lt;/param&amp;gt;&lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;It's not just adding the value param line; you have to remove the trailing / from the name=UserAddedRemoved line to ensure the value definition is part of the correct parent block.  Same goes for the Group replacement map section.  I copied your XML into a test view and verified that it worked with these changes.  (It also wanted me to add a layoutPanel parameter to the ExtendedFieldSearch module definition, but that's a quick fix.)&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2012 17:56:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PARSER-Applying-intentions-failed-unicode-object-has-no/m-p/85838#M4660</guid>
      <dc:creator>cphair</dc:creator>
      <dc:date>2012-09-19T17:56:03Z</dc:date>
    </item>
  </channel>
</rss>

