Dataset Viewer
Auto-converted to Parquet Duplicate
LineId
int64
1
60
Content
stringlengths
45
82
EventId
stringclasses
8 values
EventTemplate
stringclasses
8 values
ParameterList
stringlengths
8
36
1
Failed password for ubuntu from 203.0.113.103 port 43683 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['ubuntu', '203.0.113.103', '43683']
2
Failed password for root from 203.0.113.151 port 4825 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['root', '203.0.113.151', '4825']
3
Failed password for root from 203.0.113.109 port 5602 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['root', '203.0.113.109', '5602']
4
Failed password for deploy from 203.0.113.213 port 38081 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['deploy', '203.0.113.213', '38081']
5
Failed password for root from 203.0.113.151 port 27020 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['root', '203.0.113.151', '27020']
6
Failed password for git from 203.0.113.76 port 28492 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['git', '203.0.113.76', '28492']
7
Failed password for git from 203.0.113.145 port 54509 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['git', '203.0.113.145', '54509']
8
Failed password for git from 203.0.113.165 port 13336 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['git', '203.0.113.165', '13336']
9
Failed password for test from 203.0.113.146 port 4930 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['test', '203.0.113.146', '4930']
10
Failed password for test from 203.0.113.111 port 51960 ssh2
T1
Failed password for <*> from <*> port <*> ssh2
['test', '203.0.113.111', '51960']
11
Accepted password for deploy from 203.0.113.78 port 17304 ssh2
T2
Accepted password for <*> from <*> port <*> ssh2
['deploy', '203.0.113.78', '17304']
12
Accepted password for git from 203.0.113.136 port 33471 ssh2
T2
Accepted password for <*> from <*> port <*> ssh2
['git', '203.0.113.136', '33471']
13
Accepted password for git from 203.0.113.32 port 34574 ssh2
T2
Accepted password for <*> from <*> port <*> ssh2
['git', '203.0.113.32', '34574']
14
Accepted password for admin from 203.0.113.109 port 3593 ssh2
T2
Accepted password for <*> from <*> port <*> ssh2
['admin', '203.0.113.109', '3593']
15
Invalid user git from 203.0.113.89 port 46590
T3
Invalid user <*> from <*> port <*>
['git', '203.0.113.89', '46590']
16
Invalid user deploy from 203.0.113.217 port 7157
T3
Invalid user <*> from <*> port <*>
['deploy', '203.0.113.217', '7157']
17
Invalid user root from 203.0.113.181 port 21314
T3
Invalid user <*> from <*> port <*>
['root', '203.0.113.181', '21314']
18
Invalid user test from 203.0.113.229 port 44844
T3
Invalid user <*> from <*> port <*>
['test', '203.0.113.229', '44844']
19
Invalid user ubuntu from 203.0.113.158 port 8697
T3
Invalid user <*> from <*> port <*>
['ubuntu', '203.0.113.158', '8697']
20
Invalid user ubuntu from 203.0.113.191 port 17251
T3
Invalid user <*> from <*> port <*>
['ubuntu', '203.0.113.191', '17251']
21
Invalid user root from 203.0.113.116 port 27346
T3
Invalid user <*> from <*> port <*>
['root', '203.0.113.116', '27346']
22
Invalid user deploy from 203.0.113.73 port 47318
T3
Invalid user <*> from <*> port <*>
['deploy', '203.0.113.73', '47318']
23
Connection closed by authenticating user admin 203.0.113.23 port 12572 [preauth]
T4
Connection closed by authenticating user <*> <*> port <*> [preauth]
['admin', '203.0.113.23', '12572']
24
Connection closed by authenticating user root 203.0.113.214 port 39632 [preauth]
T4
Connection closed by authenticating user <*> <*> port <*> [preauth]
['root', '203.0.113.214', '39632']
25
Connection closed by authenticating user root 203.0.113.109 port 36058 [preauth]
T4
Connection closed by authenticating user <*> <*> port <*> [preauth]
['root', '203.0.113.109', '36058']
26
Connection closed by authenticating user test 203.0.113.245 port 41498 [preauth]
T4
Connection closed by authenticating user <*> <*> port <*> [preauth]
['test', '203.0.113.245', '41498']
27
Connection closed by authenticating user test 203.0.113.102 port 27111 [preauth]
T4
Connection closed by authenticating user <*> <*> port <*> [preauth]
['test', '203.0.113.102', '27111']
28
Connection closed by authenticating user deploy 203.0.113.104 port 5103 [preauth]
T4
Connection closed by authenticating user <*> <*> port <*> [preauth]
['deploy', '203.0.113.104', '5103']
29
pam_unix(sshd:auth): authentication failure; rhost=203.0.113.30
T5
pam_unix(sshd:auth): authentication failure; rhost=<*>
['203.0.113.30']
30
pam_unix(sshd:auth): authentication failure; rhost=203.0.113.40
T5
pam_unix(sshd:auth): authentication failure; rhost=<*>
['203.0.113.40']
31
pam_unix(sshd:auth): authentication failure; rhost=203.0.113.159
T5
pam_unix(sshd:auth): authentication failure; rhost=<*>
['203.0.113.159']
32
pam_unix(sshd:auth): authentication failure; rhost=203.0.113.123
T5
pam_unix(sshd:auth): authentication failure; rhost=<*>
['203.0.113.123']
33
pam_unix(sshd:auth): authentication failure; rhost=203.0.113.81
T5
pam_unix(sshd:auth): authentication failure; rhost=<*>
['203.0.113.81']
34
pam_unix(sshd:auth): authentication failure; rhost=203.0.113.124
T5
pam_unix(sshd:auth): authentication failure; rhost=<*>
['203.0.113.124']
35
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.245 DST=10.0.0.5 PROTO=TCP SPT=63415 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.245', '63415']
36
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.236 DST=10.0.0.5 PROTO=TCP SPT=2796 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.236', '2796']
37
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.134 DST=10.0.0.5 PROTO=TCP SPT=25056 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.134', '25056']
38
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.201 DST=10.0.0.5 PROTO=TCP SPT=33968 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.201', '33968']
39
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.191 DST=10.0.0.5 PROTO=TCP SPT=53670 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.191', '53670']
40
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.189 DST=10.0.0.5 PROTO=TCP SPT=2923 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.189', '2923']
41
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.179 DST=10.0.0.5 PROTO=TCP SPT=40682 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.179', '40682']
42
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.58 DST=10.0.0.5 PROTO=TCP SPT=7718 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.58', '7718']
43
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.125 DST=10.0.0.5 PROTO=TCP SPT=41922 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.125', '41922']
44
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.206 DST=10.0.0.5 PROTO=TCP SPT=43172 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.206', '43172']
45
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.124 DST=10.0.0.5 PROTO=TCP SPT=59286 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.124', '59286']
46
[UFW BLOCK] IN=eth0 OUT= SRC=203.0.113.103 DST=10.0.0.5 PROTO=TCP SPT=31377 DPT=22
T6
[UFW BLOCK] IN=eth0 OUT= SRC=<*> DST=10.0.0.5 PROTO=TCP SPT=<*> DPT=22
['203.0.113.103', '31377']
47
pam_unix(sudo:session): session opened for user root by admin(uid=1001)
T7
pam_unix(sudo:session): session opened for user <*> by <*>(uid=<*>)
['root', 'admin', '1001']
48
pam_unix(sudo:session): session opened for user deploy by git(uid=1000)
T7
pam_unix(sudo:session): session opened for user <*> by <*>(uid=<*>)
['deploy', 'git', '1000']
49
pam_unix(sudo:session): session opened for user root by git(uid=1001)
T7
pam_unix(sudo:session): session opened for user <*> by <*>(uid=<*>)
['root', 'git', '1001']
50
pam_unix(sudo:session): session opened for user root by test(uid=0)
T7
pam_unix(sudo:session): session opened for user <*> by <*>(uid=<*>)
['root', 'test', '0']
51
pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
T7
pam_unix(sudo:session): session opened for user <*> by <*>(uid=<*>)
['root', 'ubuntu', '0']
52
pam_unix(sudo:session): session opened for user ubuntu by git(uid=0)
T7
pam_unix(sudo:session): session opened for user <*> by <*>(uid=<*>)
['ubuntu', 'git', '0']
53
pam_unix(sudo:session): session opened for user deploy by test(uid=1001)
T7
pam_unix(sudo:session): session opened for user <*> by <*>(uid=<*>)
['deploy', 'test', '1001']
54
pam_unix(sudo:session): session closed for user deploy
T8
pam_unix(sudo:session): session closed for user <*>
['deploy']
55
pam_unix(sudo:session): session closed for user deploy
T8
pam_unix(sudo:session): session closed for user <*>
['deploy']
56
pam_unix(sudo:session): session closed for user deploy
T8
pam_unix(sudo:session): session closed for user <*>
['deploy']
57
pam_unix(sudo:session): session closed for user deploy
T8
pam_unix(sudo:session): session closed for user <*>
['deploy']
58
pam_unix(sudo:session): session closed for user root
T8
pam_unix(sudo:session): session closed for user <*>
['root']
59
pam_unix(sudo:session): session closed for user deploy
T8
pam_unix(sudo:session): session closed for user <*>
['deploy']
60
pam_unix(sudo:session): session closed for user deploy
T8
pam_unix(sudo:session): session closed for user <*>
['deploy']

SecOps-2k Trail baseline

Trail's parse of the SecOps-2k synthetic security logs, with the per-decision audit trail. Trail is a deterministic template miner: no model involved in these numbers. Each parsed line gets a template plus a receipt showing the exact decision that produced it.

Author: MbitAI. Parser code: TMFNK/LogParser-Trail. Archived release: doi:10.5281/zenodo.22484287. Companion paper: trail-techreport.pdf in the code repo.

What is inside

File What
data/trail_secops_parsed.parquet (+ .csv) Trail parse of SecOps-2k, 2,000 rows
data/trail_secops_audit.jsonl one audit record per line, 2,000 records
data/trail_sample.parquet (+ .csv) 60-line sample parse, quick preview
data/trail_sample_audit.jsonl 60 audit records
data/scores.json Trail scores plus the pinned Drain reference

Parsed columns (LogHub shape): LineId, Content, EventId, EventTemplate, ParameterList. Trail found 26 templates against 25 ground-truth ones. An audit record holds the line number, the cluster, whether the line matched or opened a new cluster, the similarity, and the template right after the decision.

Scores

Deterministic miner on SecOps-2k tight: GA 0.967, PA 0.967, FGA 0.8627, FTA 0.8627. The pinned Drain baseline on the same file (st=0.5, depth=4): GA 0.772, PA 0.6945, FGA 0.2947, FTA 0.2526. Drain compresses 25 truth templates into 70 parsed ones; Trail produces 26. The 60-line sample parses perfectly (all four scores 1.0, 8 templates) and is the CI golden in the code repo.

How it was made

./reproduce.sh in the Trail repo: builds the sample, parses it, writes the audit trail, scores against ground truth, then parses SecOps-2k (needs a LogParser-Dataset checkout next door) and checks the tight gate. Miner settings live in configs/miner.yaml (similarity 0.5, 2 anchor tokens, length slack 1). Metric code is an independent Apache-2.0 implementation of the LogHub-2.0 formulas, not a copy of the GPL evaluation script.

Privacy

Input logs are fully synthetic (see the secops-2k card). One caution that travels with the format: audit records quote source log content as examples, so auditing real logs would embed real content in the audit file. Here that content is invented, so the files are safe to share. Keep real-log audits in a private directory.

Limits

Header split is syntactic only. Token masks are a small pinned regex list, not a general field parser. Line order can change clusters; the committed sample keeps runs reproducible. Long lines with many variable tokens can fragment (sudo COMMAND lines, for example), and the fragmentation stays visible in the audit log. Local-model assist results are not included; they live in the code repo behind a local server and never change the deterministic parse.

Cite

@software{mbitai_2026_logparser_trail,
  author  = {MbitAI},
  title   = {LogParser-Trail},
  year    = {2026},
  version = {v0.2.2},
  doi     = {10.5281/zenodo.22484287},
  url     = {https://doi.org/10.5281/zenodo.22484287},
}

If you score on SecOps-2k, also cite that dataset (doi:10.5281/zenodo.22341506). For the format and metrics: Jiang et al., ISSTA 2024 (arXiv:2308.10828); Zhu et al., ISSRE 2023 (arXiv:2008.06448). For the baseline: He et al., "Drain: An Online Log Parsing Approach with Fixed Depth Tree," ICWS 2017.

Downloads last month
53

Collection including mbitai/secops-2k-trail-baseline

Papers for mbitai/secops-2k-trail-baseline