Splunk Search

Can I get a list of reports from a splunk query?

EricLloyd79
Builder

Is there a way to run a Splunk query to get a list of all reports by using a Splunk query?

1 Solution

Vijeta
Influencer

You can try using rest, the view will be search for reports

|rest /servicesNS/-/-/saved/searches |table request.ui_dispatch_view title

View solution in original post

davidtrujillo
Explorer

Reports are saved searches whose alert type is "always".

Try this:

| rest /servicesNS/-/-/saved/searches | search alert_type = "always"

Vijeta
Influencer

You can try using rest, the view will be search for reports

|rest /servicesNS/-/-/saved/searches |table request.ui_dispatch_view title
Get Updates on the Splunk Community!

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Announcing the General Availability of Splunk Enterprise Security 8.1!

We are pleased to announce the general availability of Splunk Enterprise Security 8.1. Splunk becomes the only ...

Developer Spotlight with William Searle

The Splunk Guy: A Developer’s Path from Web to Cloud William is a Splunk Professional Services Consultant with ...