Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Truncate default_fields after configurable number of lines in collapsed view (issue #165) #178

Open
wants to merge 5 commits into
base: kibana-ruby
Choose a base branch
from

Conversation

tkuther
Copy link

@tkuther tkuther commented Nov 26, 2012

This allows Default_fields to be truncated after a configurable number of lines in collapsed view. The number of omitted lines is displayed below the log lines. The full message is shown in detailed view.

@tkuther
Copy link
Author

tkuther commented Nov 27, 2012

maxlines is now configurable, minor var cleanup

@rashidkpc
Copy link
Owner

A solid start, would like to see this work with all fields in default_fields. Thanks!

@tkuther
Copy link
Author

tkuther commented Nov 28, 2012

The last commit does this by removing the if field == '@message' condition. The loop this runs in already works on default_fields, so this should do it.

@sgzijl
Copy link

sgzijl commented Mar 24, 2013

As we speak, the last merges work fine for me. Anything else that must be done for this to merge in upstream?

@tkuther
Copy link
Author

tkuther commented Apr 3, 2013

I used this for the last 3 months on a larger deployment for weblogic logs without issues. I'd be glad if it gets merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants