app/models/fluentd/setting/in_syslog.rb in fluentd-ui-0.3.0 vs app/models/fluentd/setting/in_syslog.rb in fluentd-ui-0.3.1
- old
+ new
@@ -9,8 +9,25 @@
].freeze
attr_accessor(*KEYS)
validates :tag, presence: true
+
+ def self.initial_params
+ {
+ bind: "0.0.0.0",
+ port: 5140,
+ }
+ end
+
+ def common_options
+ [
+ :tag, :bind, :port, :types,
+ ]
+ end
+
+ def advanced_options
+ []
+ end
end
end
end