Reporting

SavedSearches Call from Advanced XML

alenseb
Communicator

Hi guys,

What i am trying to do is to call a savedsearch from an advanced XML file for GoogleMaps
But due to some reason, the savedsearch doesn't get loaded. Am i missing something here?

Please help.

Thanks!!

<?xml version="1.0"?>





*
False
1


500px
off
splunk,roadmap,terrain,satellite
roadmap
true
clusters
m
0.75
0, 100, 500, 1000, 10000
true
<!-- changes by Alen Starts -->

| savedsearch Denial_GMap
-1y


False
row
results


<!-- changes by Alen Ends flashtimeline layoutPanel="panel_row1_col1" autoRun="True" -->

0 Karma
1 Solution

Ayn
Legend

Before debugging further, I think you should just use the HiddenSavedSearch module, instead of using HiddenSearch with the only purpose of running the savedsearch command. It's a bit backwards. 🙂

View solution in original post

0 Karma

alenseb
Communicator

Yep. I figured that. Thanks!
Here is the example:
YOUR SEARCH 700px true clientip satellite off 3 -11.867351, -167.695312

0 Karma

sideview
SplunkTrust
SplunkTrust

If it's your intention that the Google Map should load using the search results of the saved search, then your XML is backwards -- instead of nesting the HiddenSearch inside the GoogleMaps module you go the other way around.

0 Karma

alenseb
Communicator

advanced XML module you can use.

Example :


YOUR SEARCH

700px
true
clientip
satellite
off
3
-11.867351, -167.695312


0 Karma

Ayn
Legend

Before debugging further, I think you should just use the HiddenSavedSearch module, instead of using HiddenSearch with the only purpose of running the savedsearch command. It's a bit backwards. 🙂

0 Karma

Ayn
Legend

The concept of calling a saved search isn't any different just because the GoogleMaps module is involved somewhere. Module documentation is available on docs.splunk.com and in /modules on your Splunk server.

0 Karma

alenseb
Communicator

i tried UI Examples, but looks they don't have anything related to GoogleMaps.
Also looks like some of the Params like "-1y" doesn't work under module HiddenSavedSearch

0 Karma

Ayn
Legend

Umm, it depends. You can use all sorts of modules downstream from the HiddenSavedSearch module, but in that sense it is just as HiddenSearch.

If you haven't done it already, I advise you to download the UI examples app from splunkbase - it contains lots and lots of useful examples on how to do things like this.

0 Karma

alenseb
Communicator

Alright! Thanks!
What are the Child modules under HiddenSavedSearch?

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...