Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #186 from rurounijones/add_sources

Add getters and setters for source_host and source_path
  • Loading branch information...
commit 26756b3922cdf0ede4f54d790c618b697bbd86a6 2 parents 1138ce7 + 259203f
Jordan Sissel jordansissel authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/logstash/event.rb
8 lib/logstash/event.rb
View
@@ -94,6 +94,14 @@ def source=(val)
end # def source=
public
+ def source_host; @data["@source_host"]; end # def source_host
+ def source_host=(val); @data["@source_host"] = val; end # def source_host=
+
+ public
+ def source_path; @data["@source_path"]; end # def source_path
+ def source_path=(val); @data["@source_path"] = val; end # def source_path=
+
+ public
def message; @data["@message"]; end # def message
def message=(val); @data["@message"] = val; end # def message=
Please sign in to comment.
Something went wrong with that request. Please try again.