{"action":"created","issue":{"url":"https://api.github.com/repos/tstack/lnav/issues/272","labels_url":"https://api.github.com/repos/tstack/lnav/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/tstack/lnav/issues/272/comments","events_url":"https://api.github.com/repos/tstack/lnav/issues/272/events","html_url":"https://github.com/tstack/lnav/issues/272","id":116776342,"number":272,"title":"Documentation on adding new log file formats","user":{"login":"cleeland","id":1247303,"avatar_url":"https://avatars.githubusercontent.com/u/1247303?v=3","gravatar_id":"","url":"https://api.github.com/users/cleeland","html_url":"https://github.com/cleeland","followers_url":"https://api.github.com/users/cleeland/followers","following_url":"https://api.github.com/users/cleeland/following{/other_user}","gists_url":"https://api.github.com/users/cleeland/gists{/gist_id}","starred_url":"https://api.github.com/users/cleeland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleeland/subscriptions","organizations_url":"https://api.github.com/users/cleeland/orgs","repos_url":"https://api.github.com/users/cleeland/repos","events_url":"https://api.github.com/users/cleeland/events{/privacy}","received_events_url":"https://api.github.com/users/cleeland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-13T14:18:30Z","updated_at":"2015-11-16T17:39:14Z","closed_at":null,"body":"An internal-only product I work with has its own homebaked syslogd type of thing that outputs a similar, but not identical, log file format.  I would like to add support for this log file format locally (I don't think it would have any applicability outside the castle walls).\r\n\r\nIs there documentation for doing this?  Is it mostly a matter of adding an entry to the default-log-formats.json  that describes the layout of each line?"},"comment":{"url":"https://api.github.com/repos/tstack/lnav/issues/comments/157113050","html_url":"https://github.com/tstack/lnav/issues/272#issuecomment-157113050","issue_url":"https://api.github.com/repos/tstack/lnav/issues/272","id":157113050,"user":{"login":"cleeland","id":1247303,"avatar_url":"https://avatars.githubusercontent.com/u/1247303?v=3","gravatar_id":"","url":"https://api.github.com/users/cleeland","html_url":"https://github.com/cleeland","followers_url":"https://api.github.com/users/cleeland/followers","following_url":"https://api.github.com/users/cleeland/following{/other_user}","gists_url":"https://api.github.com/users/cleeland/gists{/gist_id}","starred_url":"https://api.github.com/users/cleeland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleeland/subscriptions","organizations_url":"https://api.github.com/users/cleeland/orgs","repos_url":"https://api.github.com/users/cleeland/repos","events_url":"https://api.github.com/users/cleeland/events{/privacy}","received_events_url":"https://api.github.com/users/cleeland/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T17:39:14Z","updated_at":"2015-11-16T17:39:14Z","body":"I just tried exactly what you suggested--removing the 'banner' regex--and it was substantially happier.\r\n\r\nI need to figure out how to capture a body that might occasionally have a newline in it.  I also notice that certain keywords/patterns get colorized (\"for\", \"or\", \"msgs\", IP addresses, etc.)  Is there an explanation on that?"}}