msiebuhr / logmunch Goto Github PK
View Code? Open in Web Editor NEWGetting all the logs!
License: ISC License
Getting all the logs!
License: ISC License
I don't get to use the tool that often for the time being and end looking up details way too often. A sensible -verbose
or such would be nice.
Possibly by running LUA or such:
logmunch -source ... -select 'responseTime > 400'
And if that's done, allowing LUA to do arbitrary changes isn't far away. Speed may be an issue, though.
cURL'ing from logentries:
* Trying 52.31.149.225...
* Connected to pull.logentries.com (52.31.149.225) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: *.logentries.com
* Server certificate: GeoTrust SSL CA - G4
* Server certificate: GeoTrust Global CA
> GET /TOKEN/PART/SERVER/?start=1460038269000&end=1460124669000 HTTP/1.1
> Host: pull.logentries.com
> User-Agent: curl/7.43.0
> Accept: */*
>
< HTTP/1.1 503 Service Unavailable: Back-end server is at capacity
< Content-Length: 0
< Connection: keep-alive
<
* Connection #0 to host pull.logentries.com left intact
Should give an error to the user of some sort.
By RFC????, lines over 4096 chars (or is it 2048?) are broken up. We should detect this and re-assemble what we can.
Looks like ~/.netrc
is the default place to store these things...
Hinted at in https://packetzoom.com/blog/logzoom-a-fast-and-lightweight-substitute-for-logstash.html to look like this:
{"@timestamp":"2016-03-31T22:23:14+0000", "url": "http://www.google.com"}
{"@timestamp":"2016-03-31T22:25:14+0000", "url": "http://www.bing.com"}
{"@timestamp":"2016-03-31T22:26:14+0000", "url": "http://www.yahoo.com"}
But I guess some source-digging is in order to figure out more.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.