Getting Data In

Azure automation script to bring data into splunk

gdavid
Path Finder

i'm trying to centralize all the scripts with version control.

i wanted to run a script scheduled with Azure automation to bring data into splunk.

I was looking at various options to do this and didn't want to write the data to a file, but was looking for something to directly pump the data into splunk.

i noticed that inputs.conf leverages splunk-powershell.exe (i think). 

can i call this from my azure automation script (via hybrid worker on windows) and push the data directly to splunk the same way inputs.conf powershell input does? 

 

Labels (3)
Tags (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

If you already have script which is doing all collection part then better option is use HEC as input. Just configure HEC on your splunk and add to your script part which sends events over http/https to splunk.

https://docs.splunk.com/Documentation/Splunk/8.0.5/Data/UsetheHTTPEventCollector

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...