All,
I need to send some data from a Ruby script to HEC collectors. Anyone have a basic hello world script they can share sending a string to a HEC with ruby? Doesn't need to be fancy.
I'm completely aware that you wish to get a Ruby script to work with Splunk HEC, but I'm going to take your words literally.
#!/usr/bin/env ruby
puts 'Hello world'
HeHE, awesome answer ! 🙂