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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...