REPORT GET LASTHOUR

Level

report_read

History

Appears in 9.1.0
content appears in 3.0.0
ip appears in 3.0.0

Format

section_line

Description

Get report results regarding the last 60 minutes

Usage

report=<report_id> : report for which we want the results
[format=(section_line|csv)] : output format:
- section_line (default) : Usual Serverd output format
- csv : export the results in a CSV file
[content=<list of expected data, works in linechart only>]
[ip=<wanted ip> (mandatory and only works for hostrep reports)]

Returns

[Info] : report infos
creationDate="YYYY-MM-DD" : date at which the report has been created
periodBegin="YYYY-MM-DD hh:mm" : beginning of the period covered by the report
periodEnd="YYYY-MM-DD hh:mm" : end of the period covered by the report

[Data] : results
position="1" value="www.stormshield.eu" count=705536
position="2" value="gw" count=204800
position="3" value="safebrowsing.cache.l.google.com" count=109568
position="4" value="172.16.1.1" count=72704
position="5" value="weather.noaa.gov" count=41984
position="6" value="musicbrainz.org" count=32768
position="7" value="dns_b" count=30720
position="8" value="clients.l.google.com" count=22528
position="9" value="fo-anyycs-l.ay1.b.yahoodns.net" count=20480
position="10" value="api.mywot.com" count=16384
position="11" count=999999 : "others"

Example

REPORT GET LASTHOUR report=top_ips_alarms
REPORT GET LASTHOUR report=top_webdomains format=csv