logstash.o.o isn't treating stacktraces as a single line

Bug #1474545 reported by Matt Riedemann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Gate
Fix Committed
Undecided
Matt Riedemann
oslo.log
Won't Fix
High
Matt Riedemann

Bug Description

Given:

http://logs.openstack.org/85/197185/10/gate/gate-tempest-dsvm-cells/7ef1949/logs/screen-n-cpu.txt.gz?level=TRACE#_2015-07-14_16_39_06_862

I wanted to find a query for that in logstash using the method and error, like:

message:"_build_networks_for_instance" AND message:"InstanceUpdateConflict" AND tags:"screen-n-cpu.txt"

But that doesn't work because logstash is doing a pattern match on this for multiline:

    multiline {
      negate => false
      pattern => "^%{TIMESTAMP_ISO8601}%{SPACE}%{NUMBER}?%{SPACE}?TRACE"
      what => "previous"
      stream_identity => "%{host}.%{filename}"
    }

But with this change to oslo.log:

https://review.openstack.org/#/c/166537/

The TRACE entries are now ERROR entries.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.log (master)

Fix proposed to branch: master
Review: https://review.openstack.org/201765

Changed in oslo.log:
assignee: nobody → Matt Riedemann (mriedem)
status: New → In Progress
Matt Riedemann (mriedem)
Changed in oslo.log:
importance: Undecided → High
Revision history for this message
Matt Riedemann (mriedem) wrote :

Here is the proposed fix to system-config: https://review.openstack.org/#/c/201777/

Changed in openstack-gate:
status: New → In Progress
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on oslo.log (master)

Change abandoned by Matt Riedemann (<email address hidden>) on branch: master
Review: https://review.openstack.org/201765
Reason: Updating system-config instead:

https://review.openstack.org/#/c/201777/

Changed in oslo.log:
status: In Progress → Won't Fix
Matt Riedemann (mriedem)
Changed in openstack-gate:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.