How to send data to Sumo Logic HTTP Endpoint from a Powershell Script
I recently had to get data out of a powershell script directly to a Sumo Logic HTTP Endpoint. I'm not a powershell guy, so if anyone has any improvements on the following please let me know, but I found this quick and functional. $Logline = "Whatever you want to send to Sumo" $Endpoint = https://endpoint2.collection.sumologic.com/receiver/v1/http/
-
Attached Code Snippet : https://community.sumologic.com/s/rich_text_post/a09E000001L3ubtIAB
Please sign in to leave a comment.
Comments
1 comment