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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...