Dashboards & Visualizations

entitySelectLister entityPath have to be a saved search?

hiddenkirby
Contributor

When using an entitySelectLister ... does the entityPath have to be a saved search name? or can i use a searchTemplate or something equiv.

0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

It needs to be the virtual "path" of a Splunk object type or type. This can be a specific object, or the parent path (relative to the root of the services namespace). So for example saved/searches, saved/eventtypes, data/indexes. The path is the one you'd use to enumerate the object(s) under the REST API (relative to the namespace root again).

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

It needs to be the virtual "path" of a Splunk object type or type. This can be a specific object, or the parent path (relative to the root of the services namespace). So for example saved/searches, saved/eventtypes, data/indexes. The path is the one you'd use to enumerate the object(s) under the REST API (relative to the namespace root again).

hiddenkirby
Contributor

oh ok this is helpful... thank you 🙂

0 Karma

hiddenkirby
Contributor

or maybe where i can find the entity "admin/distsearch-peer" .. maybe then i can try to backwards-translate some of this advanced xml.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Closest is http://www.splunk.com/base/Documentation/4.1.2/Developer/ModuleReference#EntitySelectLister is the closest, and notes that entityPath should be a valid entity path such as saved/searches. http://www.splunk.com/base/Documentation/4.1.2/Developer/HowToUseListers#EntityLinkLister mentions use to access objects via REST endpoints. However, the REST management API (as opposed to the query API) is not currently published though it can be browsed on https://splunkhost:8089/services

0 Karma

hiddenkirby
Contributor

is there any specific documentation?

0 Karma

hiddenkirby
Contributor

how would one figure this out on his own? other than trying to interpret examples in search?

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...