Curious if it's possible to use both these inputs in a single pipeline to have a script executed (that saves a file) and then the file input picks up the file? Something like below.
input {
exec {
command => "d:/script/hulksmash.ps1"
interval => 300
}
file {
id => "Hulk Smash Data"
path => "d:/Ingest/HulkSmash/*.txt"
stat_interval => 60
start_position => beginning
close_older => 400
}
}