Hi
Has anyone created a splunk app that has an input generated by a powershell script?
I have a script that runs that I am trying to improve the error handling.
My questions is how are you handling capturing errors, do you error to the splunkd.log or write out to a new log file in var/log/splunk?
I would appreciate any thoughts or examples of capturing errors and writing them out to splunk logs.
Thanks
I typically write my own log and ingest it.
In python I log to splunkd.log and you may be able to do that with powershell, but I don't know how to.