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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...