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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...