Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/fluent/plugin/out_splunk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ def configure(conf)
end
end

def shutdown
super
end

def write(chunk)
log.trace { "#{self.class}: Received new chunk, size=#{chunk.read.bytesize}" }

Expand Down
2 changes: 1 addition & 1 deletion lib/fluent/plugin/out_splunk_hec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ def start
end

def shutdown
@conn.shutdown if not @conn.nil?
super
@conn.shutdown
end

def format(tag, time, record)
Expand Down