we are utilizing log2metrics in the form of a script writes a csv file, then Splunk reads that csv file and converts it to metric format. I am wondering if we can forego the intermediary csv file and perform the log2metric conversion directly from the output of the script, similar to a scripted input for an event index.
Yes, assume that the correct fields are readily available, your script can write into a metrics index via TCP/UDP or from HTTP/HTTPS clients. You do NOT have to have an intermediary CSV file.