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!

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...