Skip to content

Commit

Permalink
baseline: Reduce conn.log to relevant fields
Browse files Browse the repository at this point in the history
  • Loading branch information
awelzel committed Nov 15, 2024
1 parent 9fd3859 commit dfdddae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/analyzer/basic.zeek
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# @TEST-EXEC: cat files.log | sed 's/SHA1,MD5/MD5,SHA1/g' >files.log.tmp && mv -f files.log.tmp files.log
#
# Drop fields which are incompatible between zeek-6.0 and dev version.
# @TEST-EXEC: zeek-cut -C -n fuid <conn.log >conn.log2 && mv conn.log2 conn.log
# @TEST-EXEC: zeek-cut -C ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto service duration history <conn.log >conn.log2 && mv conn.log2 conn.log
# @TEST-EXEC: zeek-cut -C -n orig_fuids resp_fuids <http.log >http.log.tmp && mv http.log.tmp http.log
# @TEST-EXEC: zeek-cut -C -n fuid parent_fuid <files.log >files.log.tmp && mv files.log.tmp files.log
#
Expand Down
6 changes: 3 additions & 3 deletions tests/baseline/analyzer.basic/conn.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#unset_field -
#path conn
#open XXXX-XX-XX-XX-XX-XX
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto service duration orig_bytes resp_bytes conn_state local_orig local_resp missed_bytes history orig_pkts orig_ip_bytes resp_pkts resp_ip_bytes tunnel_parents
#types time string addr port addr port enum string interval count count string bool bool count string count count count count set[string]
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p proto service duration history
#types time string addr port addr port enum string interval string
#close XXXX-XX-XX-XX-XX-XX
XXXXXXXXXX.XXXXXX CHhAvVGS1DHFjwGM9 141.142.228.5 53595 54.243.55.129 80 tcp http 0.068875 160 519 SF F F 0 ShADadFf 8 588 6 839 -
XXXXXXXXXX.XXXXXX CHhAvVGS1DHFjwGM9 141.142.228.5 53595 54.243.55.129 80 tcp http 0.068875 ShADadFf

0 comments on commit dfdddae

Please sign in to comment.