<?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/36281#M1623</link>
    <description>&lt;P&gt;You are right that the "accepted" answer &lt;A href="http://answers.splunk.com/questions/3606/unicode-object-has-no-attribute-get" rel="nofollow"&gt;here&lt;/A&gt; is wrong. However, the other upvoted &lt;A href="http://answers.splunk.com/questions/3606/unicode-object-has-no-attribute-get/3665#3665" rel="nofollow"&gt;answer&lt;/A&gt; by dmlee is correct.&lt;/P&gt;

&lt;P&gt;Swapping the sections I would not expect to have any effect. However, your replacmentMap arg needs a value:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="ExtendedFieldSearch" layoutPanel="viewHeader"&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="sourcetypeToken"&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;param name="replacementMap"&amp;gt;
    &amp;lt;param name="arg"&amp;gt;
      &amp;lt;param name="sourcetypeToken"&amp;gt;
        &amp;lt;param name="value"&amp;gt;&amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;
    &amp;lt;/param&amp;gt;
  &amp;lt;/param&amp;gt;
  &amp;lt;param name="field"&amp;gt;sourcetype&amp;lt;/param&amp;gt;
  &amp;lt;param name="q"&amp;gt;splunkd&amp;lt;/param&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 25 Aug 2010 02:58:16 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2010-08-25T02:58:16Z</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/36280#M1622</link>
      <description>&lt;P&gt;Though this has been discussed on Splunk Answers, the prevailing solution has not worked for me.&lt;/P&gt;

&lt;P&gt;As per the discussions on Splunk Answers, I've switched the "intention" and "replacementMap" params in my xml, but as soon as I populate the search field, the error is thrown. If I leave it blank, it uses the default value from the xml, but that's as much luck as I can wrangle.  &lt;/P&gt;

&lt;P&gt;Below is the EFS section modified as per prevailing recommendations:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="ExtendedFieldSearch"
layoutPanel="viewHeader"&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="sourcetypeToken"&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;param name="replacementMap"&amp;gt;
   &amp;lt;param name="arg"&amp;gt;
     &amp;lt;param name="sourcetypeToken"/&amp;gt;
   &amp;lt;/param&amp;gt;
 &amp;lt;/param&amp;gt;
 &amp;lt;param name="field"&amp;gt;sourcetype&amp;lt;/param&amp;gt;
 &amp;lt;param name="q"&amp;gt;splunkd&amp;lt;/param&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2010 02:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PARSER-Applying-Intentions-failed-unicode-object-has-no/m-p/36280#M1622</guid>
      <dc:creator>blurblebot</dc:creator>
      <dc:date>2010-08-25T02:41:08Z</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/36281#M1623</link>
      <description>&lt;P&gt;You are right that the "accepted" answer &lt;A href="http://answers.splunk.com/questions/3606/unicode-object-has-no-attribute-get" rel="nofollow"&gt;here&lt;/A&gt; is wrong. However, the other upvoted &lt;A href="http://answers.splunk.com/questions/3606/unicode-object-has-no-attribute-get/3665#3665" rel="nofollow"&gt;answer&lt;/A&gt; by dmlee is correct.&lt;/P&gt;

&lt;P&gt;Swapping the sections I would not expect to have any effect. However, your replacmentMap arg needs a value:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="ExtendedFieldSearch" layoutPanel="viewHeader"&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="sourcetypeToken"&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;param name="replacementMap"&amp;gt;
    &amp;lt;param name="arg"&amp;gt;
      &amp;lt;param name="sourcetypeToken"&amp;gt;
        &amp;lt;param name="value"&amp;gt;&amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;
    &amp;lt;/param&amp;gt;
  &amp;lt;/param&amp;gt;
  &amp;lt;param name="field"&amp;gt;sourcetype&amp;lt;/param&amp;gt;
  &amp;lt;param name="q"&amp;gt;splunkd&amp;lt;/param&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Aug 2010 02:58:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PARSER-Applying-Intentions-failed-unicode-object-has-no/m-p/36281#M1623</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-08-25T02:58:16Z</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/36282#M1624</link>
      <description>&lt;P&gt;what have you changed? only added &lt;/P&gt;

&lt;P&gt;&lt;OBJECT&gt;&lt;PARAM name="value" /&gt;&lt;/OBJECT&gt;&lt;/P&gt;

&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2012 13:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/PARSER-Applying-Intentions-failed-unicode-object-has-no/m-p/36282#M1624</guid>
      <dc:creator>r999</dc:creator>
      <dc:date>2012-06-28T13:11:29Z</dc:date>
    </item>
  </channel>
</rss>

