<?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: ExtendedFieldSearch in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39463#M1867</link>
    <description>&lt;P&gt;I can't figure out how to get the code to post correctly, but just copy and paste it into notepad++ and hopefully it should format correctly&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2011 12:45:07 GMT</pubDate>
    <dc:creator>RicoSuave</dc:creator>
    <dc:date>2011-07-08T12:45:07Z</dc:date>
    <item>
      <title>ExtendedFieldSearch</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39460#M1864</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;

&lt;P&gt;I have an issue making an ExtendedFieldSearch in xml&lt;/P&gt;

&lt;P&gt;this is my code :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;module name="ExtendedFieldSearch" layoutPanel="panel_row3_col1_grp1"&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="replacementMap"&amp;gt;&lt;BR /&gt;
    &amp;lt;param name="arg"&amp;gt;&lt;BR /&gt;
      &amp;lt;param name="uri_setting"/&amp;gt;&lt;BR /&gt;
    &amp;lt;/param&amp;gt;&lt;BR /&gt;
  &amp;lt;/param&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="field"&amp;gt;Uri:&amp;lt;/param&amp;gt;&lt;BR /&gt;
  &amp;lt;param name="intention"&amp;gt;&lt;BR /&gt;
    &amp;lt;param name="name"&amp;gt;stringreplace&amp;lt;/param&amp;gt;&lt;BR /&gt;
    &amp;lt;param name="arg"&amp;gt;&lt;BR /&gt;
      &amp;lt;param name="uri_setting"&amp;gt;&lt;BR /&gt;
        &amp;lt;param name="default"&amp;gt;*&amp;lt;/param&amp;gt;&lt;BR /&gt;
        &amp;lt;param name="fillOnEmpty"&amp;gt;true&amp;lt;/param&amp;gt;&lt;BR /&gt;
      &amp;lt;/param&amp;gt;&lt;BR /&gt;
    &amp;lt;/param&amp;gt;&lt;BR /&gt;
  &amp;lt;/param&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;When I try a search, the default value is ok but when I make a change in the text field, nothing happen....&lt;/P&gt;

&lt;P&gt;And this is my yime and submi button module :&lt;/P&gt;

&lt;!-- Module pour choiw du temps --&gt;

&lt;P&gt;&lt;MODULE name="TimeRangePicker" layoutpanel="panel_row3_col1_grp4"&gt;&lt;BR /&gt;
  &lt;OBJECT&gt;&lt;PARAM name="searchWhenChanged" /&gt;False&lt;BR /&gt;
  &lt;PARAM name="selected" /&gt;Last 4 hours&lt;BR /&gt;
&amp;lt;!-- Module boutton recherche --&amp;gt;&lt;BR /&gt;
  &lt;MODULE name="SubmitButton"&gt;&lt;BR /&gt;
    &lt;PARAM name="allowSoftSubmit" /&gt;True&lt;BR /&gt;
    &lt;PARAM name="label" /&gt;Search&lt;BR /&gt;
&amp;lt;!-- Module affichage du graph --&amp;gt;&lt;BR /&gt;
    &lt;MODULE name="HiddenSearch" layoutpanel="panel_row4_col1"&gt;&lt;BR /&gt;
      &lt;PARAM name="search" /&gt;index=abcroisiere sourcetype="panther_access_abcroisiere" $site$ $tag::uri$ $sHTTP$ uri=$uri_setting$ | table _time uri sHTTP&lt;BR /&gt;
      &lt;MODULE name="JobStatus"&gt;&lt;BR /&gt;
        &lt;MODULE name="Paginator" layoutpanel="panel_row4_col1"&gt;&lt;BR /&gt;
          &lt;PARAM name="count" /&gt;20&lt;BR /&gt;
          &lt;PARAM name="entityName" /&gt;results&lt;BR /&gt;
          &lt;MODULE name="EnablePreview"&gt;&lt;BR /&gt;
            &lt;PARAM name="enable" /&gt;True&lt;BR /&gt;
            &lt;PARAM name="display" /&gt;False&lt;BR /&gt;
            &lt;MODULE name="SimpleResultsTable"&gt;&lt;BR /&gt;
              &lt;PARAM name="count" /&gt;20&lt;BR /&gt;
              &lt;PARAM name="drilldown" /&gt;row&lt;BR /&gt;
              &lt;PARAM name="allowTransformedFieldSelect" /&gt;True&lt;BR /&gt;
              &lt;MODULE name="ConvertToDrilldownSearch"&gt;&lt;BR /&gt;
                &lt;MODULE name="ViewRedirector"&gt;&lt;BR /&gt;
                   &lt;PARAM name="viewTarget" /&gt;flashtimeline&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/MODULE&gt;&lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;

&lt;P&gt;I have this error on the service_web.log :&lt;/P&gt;

&lt;P&gt;==&amp;gt; /data/splunk/var/log/splunk/web_service.log &amp;lt;==&lt;BR /&gt;
        2011-07-07 19:12:30,946 ERROR   [4e15e8fef1e317ed0] parser:94 -&lt;BR /&gt;
        'unicode' object has no attribute 'get'&lt;BR /&gt;
        Traceback (most recent call last):&lt;BR /&gt;
          File&lt;BR /&gt;
        "/data/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/parser.py", line 83, in parse&lt;BR /&gt;
            replacedQ, replacedIntentions =&lt;BR /&gt;
        self._applyStringReplacement(q, decodedIntentions)&lt;BR /&gt;
          File&lt;BR /&gt;
        "/data/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/parser.py", line 136, in _applyStringReplacement&lt;BR /&gt;
            default = props.get('default', None);&lt;BR /&gt;
        AttributeError: 'unicode' object has no attribute 'get'&lt;/P&gt;

&lt;P&gt;If you have any idea thanks &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39460#M1864</guid>
      <dc:creator>tdesaules</dc:creator>
      <dc:date>2020-09-28T09:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: ExtendedFieldSearch</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39461#M1865</link>
      <description>&lt;P&gt;It looks like you have your stringreplace and replacementmap parameters flipped. Stringreplace should come first then replacementmap. I believe this is a bug when using the showsource=true to convert from simple xml formsearch to advanced.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2011 12:30:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39461#M1865</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-07-08T12:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: ExtendedFieldSearch</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39462#M1866</link>
      <description>&lt;P&gt;Try this code instead. &lt;/P&gt;

&lt;P&gt;&lt;MODULE name="ExtendedFieldSearch" layoutpanel="panel_row3_col1_grp1"&gt;&lt;BR /&gt;
  &lt;OBJECT&gt;&lt;PARAM name="field" /&gt;uri_setting&lt;BR /&gt;
    &lt;PARAM name="intention" /&gt;&lt;BR /&gt;
      &lt;PARAM name="stringreplace" /&gt;&lt;BR /&gt;
      &lt;PARAM name="arg" /&gt;&lt;BR /&gt;
      &lt;PARAM name="uri_setting" /&gt;&lt;BR /&gt;
          &lt;PARAM name="fillOnEmpty" /&gt;True&lt;BR /&gt;
          &lt;PARAM name="value" /&gt;&lt;EM&gt;&lt;BR /&gt;
          &lt;BR /&gt;
          &lt;BR /&gt;
      &lt;BR /&gt;&lt;BR /&gt;
  &lt;PARAM name="replacementMap" /&gt;&lt;BR /&gt;
  &lt;PARAM name="arg" /&gt;&lt;BR /&gt;
    &lt;PARAM name="uri_setting" /&gt;&lt;BR /&gt;
      &lt;PARAM name="value" /&gt;&lt;/EM&gt;&lt;BR /&gt;
      &lt;BR /&gt;
    &lt;BR /&gt;
  &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:43:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39462#M1866</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2020-09-28T09:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: ExtendedFieldSearch</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39463#M1867</link>
      <description>&lt;P&gt;I can't figure out how to get the code to post correctly, but just copy and paste it into notepad++ and hopefully it should format correctly&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2011 12:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/ExtendedFieldSearch/m-p/39463#M1867</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-07-08T12:45:07Z</dc:date>
    </item>
  </channel>
</rss>

