Raphaël Vinot
b0e95fd5af
chg: Refactorize typing, validate
2020-01-23 10:27:40 +01:00
Campbell McKenzie
0fad4d9640
Make client_certs out of the box friendly
2019-09-12 12:42:22 +10:00
Raphaël Vinot
6a48faab73
chg: Bump examples to python3
2019-07-17 16:46:47 +02:00
Alexandre Dulaunoy
3e70a90b0d
chg: [last] You can now paginate over multiple results in the last example command
...
You can do stuff like this:
python3 last.py -l 48h -m 10 -p 2 | jq .[].Event.info
which means the last 10 events on second page which are between a
time range of 0 and 48 hours.
2019-06-24 15:55:01 +02:00
Paul A
36cf46acd9
Fixed the JSON output format (\n breaks JSON loading afterwards)
2017-05-02 16:27:37 +02:00
Paul
dd3ce6c758
Update last.py
2017-04-06 14:23:04 +02:00
Paul
51f49ddcaa
Updated last.py to dump json results straight away
...
Output was not usable with cli utilities such as: ```cat results.json | python -m simplejson.tool```.
It's now usable and works perfectly.
2017-04-06 14:20:00 +02:00
Raphaël Vinot
dca755ef08
Improve examples
2016-03-21 21:24:15 +01:00
Alexander J
b5764c8660
Update last.py
2016-02-12 11:30:56 +01:00
Will Urbanski
b5acf414e9
Fix KeyError when no results in time period
...
Fix a KeyError when no results were found for the specified time period.
2015-11-22 17:52:12 -05:00
Alexandre Dulaunoy
db1221dd52
Auth parameters normalized
2015-11-06 10:14:45 +01:00
Raphaël Vinot
97dfe2a4f6
Add last param to restSearch + example script
2015-08-05 17:20:59 +02:00