Reporting

Retrieve report as file using HTTPWEBREQUEST

dorgra
Path Finder

I need to send over 300 emails out each day for a user's manager to attest to privileged activity. The report I retrieve is easily parsed and inserted into an SQL table. The user manager list changes. This list is retrievable from an HR feed and eliminates the need to maintain that ever changing list.

I use VB.NET and the REST API. I can't use cURL.
1. The company I work for will not permit scripting. Hence, I can't deliver the report to a server.
2. The company will not permit retrieval from the Linux servers used for report storage.
3. I need to ignore certificates. I believe I have this accomplished with System.Net.ServicePointManager.ServerCertificateValidationCallback
4. I must pass the userid and password in the header.
5. My current error message is "Unable to connect to the remote server"

Anyone know where I can find some examples?

0 Karma
1 Solution

dorgra
Path Finder

The answer turned out to be an adaptation of the Splunk SDK.

View solution in original post

0 Karma

dorgra
Path Finder

After adapting the Splunk SDK, we can send search outputs to an external server in an acceptable format.

0 Karma

dorgra
Path Finder

The answer turned out to be an adaptation of the Splunk SDK.

0 Karma
Get Updates on the Splunk Community!

Index This | What gets bigger the more you remove?

June 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Thanks for the Memories! Splunk University, .conf24, and Community Connections

Thank you to everyone in the Splunk Community who joined us for .conf24 – starting with Splunk University and ...