Fixing pack_scale and time-as-int.

Also removing now unneccessary canonifier script, and updating test
baselines.
This commit is contained in:
Robin Sommer 2012-05-14 21:58:58 -07:00
parent 00b592f933
commit fabe891d4f
8 changed files with 144 additions and 151 deletions

View file

@ -9,7 +9,7 @@
</ExtentType>
<ExtentType name="ssh" version="1.0" namespace="bro-ids.org">
<field type="double" name="t" pack_relative="t" pack_scale="1000" pack_scale_warn="no"/>
<field type="double" name="t" pack_relative="t" pack_scale="1e-6" print_format="%.6f" pack_scale_warn="no"/>
<field type="variable32" name="id.orig_h" pack_unique="yes"/>
<field type="int64" name="id.orig_p" />
<field type="variable32" name="id.resp_h" pack_unique="yes"/>
@ -27,17 +27,17 @@
extent offset ExtentType
40 DataSeries: XmlType
416 ssh
624 DataSeries: ExtentIndex
436 ssh
644 DataSeries: ExtentIndex
# Extent, type='ssh'
t id.orig_h id.orig_p id.resp_h id.resp_p status country
X.XXXe+09 1.2.3.4 1234 2.3.4.5 80 success unknown
X.XXXe+09 1.2.3.4 1234 2.3.4.5 80 failure US
X.XXXe+09 1.2.3.4 1234 2.3.4.5 80 failure UK
X.XXXe+09 1.2.3.4 1234 2.3.4.5 80 success BR
X.XXXe+09 1.2.3.4 1234 2.3.4.5 80 failure MX
1337058239.030366 1.2.3.4 1234 2.3.4.5 80 success unknown
1337058239.030366 1.2.3.4 1234 2.3.4.5 80 failure US
1337058239.030366 1.2.3.4 1234 2.3.4.5 80 failure UK
1337058239.030366 1.2.3.4 1234 2.3.4.5 80 success BR
1337058239.030366 1.2.3.4 1234 2.3.4.5 80 failure MX
# Extent, type='DataSeries: ExtentIndex'
offset extenttype
40 DataSeries: XmlType
416 ssh
624 DataSeries: ExtentIndex
436 ssh
644 DataSeries: ExtentIndex