module LogStash::Patterns::Core
Constants
- BASE_PATH
Public Instance Methods
path(type = 'legacy')
click to toggle source
# File lib/logstash/patterns/core.rb, line 9 def path(type = 'legacy') case type = type.to_s when 'legacy', 'ecs-v1' ::File.join(BASE_PATH, type) else raise ArgumentError, "#{type.inspect} path not supported" end end