- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HEC: Share a basic hello world script with Ruby to send to HEC?
daniel333
Builder
08-30-2018
12:29 PM
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.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
horsefez
Motivator
08-30-2018
01:03 PM
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'
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

MuS
Legend
08-30-2018
01:12 PM
HeHE, awesome answer ! 🙂
