Reporting
Highlighted

SavedSearches Call from Advanced XML

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 DenialGMap
-1y


False
row
results


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

0 Karma
Highlighted

Re: SavedSearches Call from Advanced XML

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
Highlighted

Re: SavedSearches Call from Advanced XML

Communicator

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

0 Karma
Highlighted

Re: SavedSearches Call from Advanced XML

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
Highlighted

Re: SavedSearches Call from Advanced XML

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
Highlighted

Re: SavedSearches Call from Advanced XML

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
Highlighted

Re: SavedSearches Call from Advanced XML

Communicator

advanced XML module you can use.

Example :


YOUR SEARCH

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


0 Karma
Highlighted

Re: SavedSearches Call from Advanced XML

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
Highlighted

Re: SavedSearches Call from Advanced XML

Communicator

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

0 Karma