Reporting

How to access all private reports via REST API?

larariro
Explorer

Hello,

I can only save searches as private reports (user restrictions) with the web interface. These reports appear along with those created publicly by other users as follows:

Title                                           Owner      App          Sharing
Errors in the last 24 hours        nobody      search      App
Errors in the last hour               nobody      search      App
License Usage Data Cube        nobody      search      App
TServers_Requests                  myuser      search      Private
Videolibrary_Requests              myuser      search      Private

(Sorry for the formatting, but I don't know how to make tables with markdown)

Now I want to access those reports via the REST API, but when i make

curl -k -u myuser:passwd https://192.168.1.100:8089/servicesNS/myuser/search/saved/searches 

the only ones I see are the first three.

How can I see my private searches?

Thanks in advance.

0 Karma

larariro
Explorer

No wonder why nobody answered this: it was a problem of the configuration of my company's Splunk. It seems we have 2 searchers: one exposes the web and the other the API, and they don't share the reports, so, what you make in the web is not shown in the API (I will have to find why did they configure it that way, because it makes no sense)

Well, sorry to bother you guys with this question (that can be closed), but i didn't know this configuration.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...