I want to push numeric data from a file to my dashboard.
I am using the following .rb file as job for pushing the data
SCHEDULER.every '30s' do
var = File.open("/dashing/abhi/sample.txt", "r")
var.each_line do |line|
puts line
send_event('polarion', { value: var })
end
end
but the data is not being displayed in dashboard.