After updating a dashboard in myApp, a Splunk admin moves myApp to a different Splunk instance. After logging in to the new instance, the dashboard is not seen.
What could have happened? (Select all that apply.)
A developer is building a custom application for a logistics company. The app requires a dashboard that displays shipment statuses. The developer needs to initialize a token named default_region to the value "NorthAmerica" as soon as the dashboard loads, before any user interaction occurs. Which Simple XML element should be used to achieve this?
Answer and explanation
Correct answer: A
The element is used specifically to set tokens or perform actions immediately when a dashboard loads, independent of search completion or user input. It is placed at the top level of the dashboard definition.
Question 14
A security operations team needs to export a large volume of search results (approx. 500,000 events) from a Splunk search job using a Python script. They want to minimize memory usage on the client side by processing results as they stream. Which REST endpoint and output_mode combination is optimal for this requirement?
Answer and explanation
Correct answer: A
The /services/search/jobs/export endpoint is designed for streaming large result sets directly without keeping the job on the server indefinitely. Using 'json' or 'csv' output modes allows for easy line-by-line parsing in Python, which is memory efficient.
Question 15
Multiple answers
A developer is creating a KV Store collection named device_inventory to store hardware asset details. The collection must support a hierarchy of users where only the admin role can write data, but power users can read it. Which configuration file must be modified to define the collection structure, and which file handles the access control list (ACL)? (Select TWO)
Answer and explanation
Correct answers: A, B
collections.conf is used to define the KV Store collection, its fields, and data types. Permissions (ACLs) are managed via the metadata/local.meta file or via the REST API, not transforms.conf.
The metadata/local.meta file stores the permissions (read/write access by role) for the collection object defined in collections.conf.
Question 16
While developing a dashboard for a financial application, you need to pass a token named account_id to a drilldown URL. The account_id value might contain spaces or special characters that could break the URL structure. Which token filter should be applied to ensuring the value is properly URL-encoded?
Answer and explanation
Correct answer: A
The |u filter encodes the token value for use in a URI/URL, ensuring special characters (like spaces becoming %20) do not break the link structure.