Dashboards & Visualizations

ExtendedFieldSearch

tdesaules
New Member

Hello !

I have an issue making an ExtendedFieldSearch in xml

this is my code :

<module name="ExtendedFieldSearch" layoutPanel="panel_row3_col1_grp1">
<param name="replacementMap">
<param name="arg">
<param name="uri_setting"/>
</param>
</param>
<param name="field">Uri:</param>
<param name="intention">
<param name="name">stringreplace</param>
<param name="arg">
<param name="uri_setting">
<param name="default">*</param>
<param name="fillOnEmpty">true</param>
</param>
</param>
</param>

When I try a search, the default value is ok but when I make a change in the text field, nothing happen....

And this is my yime and submi button module :


False
Last 4 hours
<!-- Module boutton recherche -->

True
Search
<!-- Module affichage du graph -->

index=abcroisiere sourcetype="panther_access_abcroisiere" $site$ $tag::uri$ $sHTTP$ uri=$uri_setting$ | table _time uri sHTTP


20
results

True
False

20
row
True


flashtimeline

I have this error on the service_web.log :

==> /data/splunk/var/log/splunk/web_service.log <==
2011-07-07 19:12:30,946 ERROR [4e15e8fef1e317ed0] parser:94 -
'unicode' object has no attribute 'get'
Traceback (most recent call last):
File
"/data/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/parser.py", line 83, in parse
replacedQ, replacedIntentions =
self._applyStringReplacement(q, decodedIntentions)
File
"/data/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/parser.py", line 136, in _applyStringReplacement
default = props.get('default', None);
AttributeError: 'unicode' object has no attribute 'get'

If you have any idea thanks 😉

Tags (1)
0 Karma

RicoSuave
Builder

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.

RicoSuave
Builder

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

0 Karma

RicoSuave
Builder

Try this code instead.


uri_setting




True











0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...