Getting Data In

How do I import a Powershell script that inputs CSV data?

anlai2
Engager

I currently have multiple Powershell scripts that take data from local log files and transform them in a certain way into a CSV that is outputted locally to a directory. I want to be able to call that script and output the data as events in Splunk, but also want to avoid creating them in lookups. I was able to do something similar with a Python script by simply printing events as CSVs, but I can't seem to find the method for Powershell.

Thanks.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...