Sha256: 990ced6c8a0512bb651c500ed20e0991eb4babf4ae61b1f01607306f82ca751f

Contents?: true

Size: 845 Bytes

Versions: 45

Compression:

Stored size: 845 Bytes

Contents

RUUID \h{32}
# rails controller with action
RCONTROLLER (?<controller>[^#]+)#(?<action>\w+)

# this will often be the only line:
RAILS3HEAD (?m)Started %{WORD:verb} "%{URIPATHPARAM:request}" for %{IPORHOST:clientip} at (?<timestamp>%{YEAR}-%{MONTHNUM}-%{MONTHDAY} %{HOUR}:%{MINUTE}:%{SECOND} %{ISO8601_TIMEZONE})
# for some a strange reason, params are stripped of {} - not sure that's a good idea.
RPROCESSING \W*Processing by %{RCONTROLLER} as (?<format>\S+)(?:\W*Parameters: {%{DATA:params}}\W*)?
RAILS3FOOT Completed %{NUMBER:response}%{DATA} in %{NUMBER:totalms}ms %{RAILS3PROFILE}%{GREEDYDATA}
RAILS3PROFILE (?:\(Views: %{NUMBER:viewms}ms \| ActiveRecord: %{NUMBER:activerecordms}ms|\(ActiveRecord: %{NUMBER:activerecordms}ms)?

# putting it all together
RAILS3 %{RAILS3HEAD}(?:%{RPROCESSING})?(?<context>(?:%{DATA}\n)*)(?:%{RAILS3FOOT})?

Version data entries

45 entries across 43 versions & 3 rubygems

Version Path
logstash-patterns-core-4.3.4 patterns/legacy/rails
logstash-patterns-core-4.3.3 patterns/legacy/rails
logstash-patterns-core-4.3.2 patterns/legacy/rails
logstash-patterns-core-4.3.1 patterns/legacy/rails
logstash-patterns-core-4.3.0 patterns/legacy/rails
logstash-patterns-core-4.2.0 patterns/rails
fluent-plugin-grok-parser-2.6.2 patterns/rails
fluent-plugin-grok-parser-2.6.1 patterns/rails
fluent-plugin-grok-parser-2.6.0 patterns/rails
fluent-plugin-grok-parser-2.5.1 patterns/rails
fluent-plugin-grok-parser-2.5.0 patterns/rails
fluent-plugin-grok-parser-2.4.0 patterns/rails
fluent-plugin-grok-parser-2.3.0 patterns/rails
fluent-plugin-grok-parser-2.2.0 patterns/rails
fluent-plugin-grok-parser-1.0.1 patterns/rails
fluent-plugin-grok-parser-2.1.6 patterns/rails
fluent-plugin-grok-parser-2.1.5 patterns/rails
logstash-patterns-core-4.1.2 patterns/rails
fluent-plugin-grok-parser-2.1.4 patterns/rails
logstash-patterns-core-4.1.1 patterns/rails