Datasets:
messages list | task string | lang string | mode string | n_lines int64 | gold dict |
|---|---|---|---|---|---|
[
{
"role": "system",
"content": "Tu es un assistant d'analyse de logs Linux."
},
{
"role": "user",
"content": "Extract all unique IP addresses, in order of first appearance.\n```\n2024/12/11 05:21:28 [info] 8733#5463: *614914 client closed connection while waiting for request, client: 193.192.13.... | qa | en | weberr | 10 | null |
[
{
"role": "user",
"content": "==> /var/log/syslog <==\n2027-09-23T08:36:51.010995+00:00 nginx-edge systemd[1]: Starting logrotate.service - Rotate log files...\n2027-09-23T08:37:44.269546+00:00 nginx-edge systemd-timesyncd[474]: Initial clock synchronization to Thu 2027-09-23 08:37:44 UTC.\n2027-09-23T08:39... | qa | en | syslog | 12 | null |
[
{
"role": "system",
"content": "Tu es un assistant d'analyse de logs Linux."
},
{
"role": "user",
"content": "Apr 05 09:03:11 monitor CRON[210647]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)\nApr 05 09:03:12 monitor CRON[210647]: pam_unix(cron:session): session cl... | analysis | en | mixed_sys | 21 | {
"log_sources": [
"auth",
"syslog"
],
"time_range": {
"start": "Apr 05 09:03:11",
"end": "Apr 05 09:56:58"
},
"risk_level": "critical",
"findings": [
{
"category": "compromised_account",
"severity": "critical",
"status": "successful",
"source": "auth",
"ips... |
[
{
"role": "user",
"content": "Fais le tri de ces logs comme un analyste SOC.\n\n2024-11-21T07:06:02.926945+05:30 gw sshd[16847]: Accepted publickey for ubuntu from 172.19.111.152 port 14225 ssh2: RSA SHA256:Go4K4y8LwjZl0ZiUSfW8vHApkQ9ibIq3sbtABAs9ao0\n2024-11-21T07:06:02.956945+05:30 gw sshd[16847]: pam_uni... | analysis | fr | mixed_sys | 36 | {
"log_sources": [
"auth",
"syslog",
"ufw"
],
"time_range": {
"start": "2024-11-21T07:06:02.926945+05:30",
"end": "2024-11-21T18:50:06.145155+05:30"
},
"risk_level": "high",
"findings": [
{
"category": "disk_error",
"severity": "high",
"status": "observed",
"s... |
[
{
"role": "system",
"content": "Tu es un assistant d'analyse de logs Linux."
},
{
"role": "user",
"content": "What happened here?\n\n2026-09-07T15:42:09.805868+02:00 app-server kernel: [2516689.283887] [UFW ALLOW] IN=eno1 OUT= MAC=6f:c4:9b:bf:95:12:83:bb:ba:68:90:0a:08:00 SRC=172.17.27.238 DST=9... | analysis | en | ufw | 24 | {
"log_sources": [
"ufw"
],
"time_range": {
"start": "2026-09-07T15:42:09.805868+02:00",
"end": "2026-09-07T15:45:40.821184+02:00"
},
"risk_level": "high",
"findings": [
{
"category": "firewall_disabled",
"severity": "high",
"status": "successful",
"source": "ufw",
... |
[
{
"role": "system",
"content": "You are a security log analyzer."
},
{
"role": "user",
"content": "Here are some logs from my server. Anything suspicious?\n\n<logs>\n[2680493.025587] Initializing XFRM netlink socket\n[2680533.245194] Command line: BOOT_IMAGE=/vmlinuz-6.8.0-60-generic root=/dev/m... | analysis | en | dmesg | 19 | {
"log_sources": [
"kernel"
],
"time_range": {
"start": "2680493.025587",
"end": "2681353.888277"
},
"risk_level": "none",
"findings": [],
"summary": "19 log lines reviewed; no security issue or error found. Activity looks normal.",
"recommendations": []
} |
[
{
"role": "user",
"content": "Here are some logs from my server. Anything suspicious?\n\n```\n2025-03-09T22:47:17.801978+01:00 mail sshd[179981]: Accepted password for deploy from 218.66.24.245 port 36910 ssh2\n2025-03-09T22:47:17.831978+01:00 mail sshd[179981]: pam_unix(sshd:session): session opened for us... | analysis | en | auth | 66 | {
"log_sources": [
"auth"
],
"time_range": {
"start": "2025-03-09T22:47:17.801978+01:00",
"end": "2025-03-10T10:21:55.982776+01:00"
},
"risk_level": "high",
"findings": [
{
"category": "distributed_ssh_brute_force",
"severity": "high",
"status": "attempted",
"source":... |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | analysis | en | web | 39 | {
"log_sources": [
"nginx_access"
],
"time_range": {
"start": "18/May/2026:03:38:14 +0000",
"end": "18/May/2026:03:50:06 +0000"
},
"risk_level": "medium",
"findings": [
{
"category": "sql_injection",
"severity": "medium",
"status": "blocked",
"source": "nginx_access",... |
[
{
"role": "system",
"content": "Tu es un assistant d'analyse de logs Linux."
},
{
"role": "user",
"content": "```\nwww.boulangerie-dupont.fr:443 5.189.7.56 - - [10/Jan/2027:00:20:36 -0500] \"GET /download/report.pdf HTTP/1.1\" 404 23 \"https://www.boulangerie-dupont.fr/\" \"Mozilla/5.0 (Windows ... | qa | fr | web | 22 | null |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | analysis | en | auth | 25 | {
"log_sources": [
"auth"
],
"time_range": {
"start": "Jun 28 12:40:10",
"end": "Jun 28 12:49:23"
},
"risk_level": "medium",
"findings": [
{
"category": "ssh_brute_force",
"severity": "medium",
"status": "attempted",
"source": "auth",
"ips": [
"141.79.21... |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | analysis | en | auth | 41 | {
"log_sources": [
"auth"
],
"time_range": {
"start": "2027-12-27T17:26:33.763418+02:00",
"end": "2027-12-27T17:31:27.946985+02:00"
},
"risk_level": "none",
"findings": [],
"summary": "41 log lines reviewed; no security issue or error found. Activity looks normal.",
"recommendations": []
} |
[
{
"role": "user",
"content": "Here are some logs from my server. Anything suspicious?\n\n141.114.197.146 - - [04/Jul/2025:23:01:43 +0000] \"GET /fr/accueil HTTP/2.0\" 200 22869 \"-\" \"Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0 Mobile Safari/537.36\"\n172.18... | analysis | en | web | 17 | {
"log_sources": [
"nginx_access"
],
"time_range": {
"start": "04/Jul/2025:23:01:43 +0000",
"end": "04/Jul/2025:23:56:08 +0000"
},
"risk_level": "none",
"findings": [],
"summary": "17 log lines reviewed; no security issue or error found. Activity looks normal.",
"recommendations": []
} |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | qa | en | syslog | 39 | null |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | qa | en | weberr | 25 | null |
[
{
"role": "user",
"content": "Extract all unique IP addresses, in order of first appearance.\n\n--- /var/log/syslog ---\nJul 28 13:01:37 mail systemd[1]: Starting systemd-tmpfiles-clean.service - Cleanup of Temporary Directories...\nJul 28 13:01:38 mail systemd[1]: Finished systemd-tmpfiles-clean.service - ... | qa | en | syslog | 55 | null |
[
{
"role": "user",
"content": "2023-09-02T18:31:58.890467+00:00 srv-prod CRON[254229]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)\n2023-09-02T18:34:12.820950+00:00 srv-prod CRON[254126]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)\n2023-09-02T18:... | analysis | fr | auth | 44 | {
"log_sources": [
"auth"
],
"time_range": {
"start": "2023-09-02T18:31:58.890467+00:00",
"end": "2023-09-02T19:28:41.626855+00:00"
},
"risk_level": "medium",
"findings": [
{
"category": "ssh_user_enumeration",
"severity": "medium",
"status": "attempted",
"source": "a... |
[
{
"role": "user",
"content": "```\nJun 7 06:46:11 nginx-edge systemd-logind[1401]: New session 124 of user yuki.\nJun 7 06:46:24 nginx-edge systemd-logind[1232]: New session 604 of user julie.\nJun 7 06:46:44 nginx-edge sshd[388946]: Failed password for yuki from 192.168.1.98 port 3766 ssh2\nJun 7 06:46... | analysis | en | auth | 17 | {
"log_sources": [
"auth"
],
"time_range": {
"start": "Jun 7 06:46:11",
"end": "Jun 7 06:49:04"
},
"risk_level": "critical",
"findings": [
{
"category": "suspicious_sudo_command",
"severity": "critical",
"status": "successful",
"source": "auth",
"users": [
... |
[
{
"role": "system",
"content": "You are a security log analyzer."
},
{
"role": "user",
"content": "[Tue Jul 25 00:50:27.788705 2023] [mpm_event:notice] [pid 46992:tid 1181760511083] AH00489: Apache/2.4.58 (Ubuntu) configured -- resuming normal operations\n[Tue Jul 25 01:12:02.956874 2023] [php:n... | analysis | en | weberr | 13 | {
"log_sources": [
"apache_error"
],
"time_range": {
"start": "Tue Jul 25 00:50:27.788705 2023",
"end": "Tue Jul 25 03:42:58.162060 2023"
},
"risk_level": "high",
"findings": [
{
"category": "command_injection",
"severity": "high",
"status": "attempted",
"source": "ap... |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | analysis | en | web | 15 | {
"log_sources": [
"apache_access"
],
"time_range": {
"start": "22/Mar/2025:14:50:47 -0500",
"end": "22/Mar/2025:15:04:19 -0500"
},
"risk_level": "high",
"findings": [
{
"category": "sql_injection",
"severity": "high",
"status": "possibly_successful",
"source": "apach... |
[
{
"role": "user",
"content": "```\n2023-11-01T05:47:29.035062+00:00 db02 kernel: [UFW BLOCK] IN=enp3s0 OUT= MAC=cf:0b:dc:b6:22:ed:06:2c:89:2f:b6:bb:08:00 SRC=117.103.25.107 DST=80.248.198.36 LEN=60 TOS=0x00 PREC=0x00 TTL=59 ID=28815 DF PROTO=TCP SPT=12097 DPT=2323 WINDOW=65535 RES=0x00 SYN URGP=0\n2023-11-0... | qa | en | ufw | 27 | null |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | qa | en | auth | 42 | null |
[
{
"role": "system",
"content": "Tu es un assistant d'analyse de logs Linux."
},
{
"role": "user",
"content": "Check these logs and return your analysis as JSON.\n\n```\n[Sat Sep 11 11:19:50 2027] TCP: request_sock_TCP: Possible SYN flooding on port [::]:8080. Sending cookies. Check SNMP counter... | analysis | en | dmesg | 15 | {
"log_sources": [
"kernel"
],
"time_range": {
"start": "Sat Sep 11 11:19:50 2027",
"end": "Sat Sep 11 11:31:00 2027"
},
"risk_level": "high",
"findings": [
{
"category": "syn_flood",
"severity": "high",
"status": "observed",
"source": "kernel",
"count": 2,
... |
[
{
"role": "user",
"content": "Is there any sign of path traversal in these logs?\n\nOct 10 19:59:21 node3 sshd[178789]: Accepted publickey for judy from 45.17.215.211 port 34382 ssh2: RSA SHA256:tNgOart3AZSjY2QYgTEFijqHsYYHMnRBONRCKbhDSCQ\nOct 10 19:59:21 node3 sshd[178789]: pam_unix(sshd:session): session ... | qa | en | auth | 23 | null |
[
{
"role": "system",
"content": "Tu es un assistant d'analyse de logs Linux."
},
{
"role": "user",
"content": "What happened here?\n\n<logs>\n2024-10-01T23:53:46.822004+00:00 ubuntu sudo: pam_unix(sudo:session): session opened for user root(uid=0) by alice(uid=1005)\n2024-10-01T23:53:50.201849+00... | analysis | en | auth | 24 | {
"log_sources": [
"auth"
],
"time_range": {
"start": "2024-10-01T23:53:46.822004+00:00",
"end": "2024-10-01T23:58:25.181775+00:00"
},
"risk_level": "high",
"findings": [
{
"category": "root_login",
"severity": "high",
"status": "successful",
"source": "auth",
"... |
[
{
"role": "user",
"content": "==> /var/log/syslog <==\nJul 24 03:56:13 fileserver systemd[1]: Finished apt-daily.service - Daily apt download activities.\nJul 24 03:56:18 fileserver dbus-daemon[886]: [system] Successfully activated service 'org.freedesktop.PackageKit'\nJul 24 03:56:19 fileserver rsyslogd: [... | analysis | en | syslog | 29 | {
"log_sources": [
"syslog",
"fail2ban"
],
"time_range": {
"start": "Jul 24 03:56:13",
"end": "2026-07-24 04:00:14,016"
},
"risk_level": "critical",
"findings": [
{
"category": "disk_error",
"severity": "critical",
"status": "observed",
"source": "syslog",
"... |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | analysis | fr | mixed_sys | 58 | {
"log_sources": [
"auth",
"ufw"
],
"time_range": {
"start": "2026-08-20T05:17:24.813461+05:30",
"end": "2026-08-20T05:24:05.791613+05:30"
},
"risk_level": "critical",
"findings": [
{
"category": "compromised_account",
"severity": "critical",
"status": "successful",
... |
[
{
"role": "system",
"content": "You are a security log analyzer."
},
{
"role": "user",
"content": "Here are some logs from my server. Anything suspicious?\nJul 20 20:22:49 node3 sshd[49146]: Accepted password for admin from 192.168.0.21 port 31944 ssh2\nJul 20 20:22:49 node3 sshd[49146]: pam_uni... | analysis | en | auth | 44 | {
"log_sources": [
"auth"
],
"time_range": {
"start": "Jul 20 20:22:49",
"end": "Jul 20 20:36:55"
},
"risk_level": "critical",
"findings": [
{
"category": "suspicious_sudo_command",
"severity": "critical",
"status": "successful",
"source": "auth",
"users": [
... |
[
{
"role": "system",
"content": "You are a security log analyzer."
},
{
"role": "user",
"content": "[Wed Jun 11 00:11:00.667281 2025] [core:info] [pid 95880:tid 32399499901236] [client 135.100.76.87:55979] AH01964: Connection to child 3 established (server shop.example.org:443)\n[Wed Jun 11 00:24... | analysis | fr | weberr | 10 | {
"log_sources": [
"apache_error"
],
"time_range": {
"start": "Wed Jun 11 00:11:00.667281 2025",
"end": "Wed Jun 11 02:47:36.402955 2025"
},
"risk_level": "medium",
"findings": [
{
"category": "path_traversal",
"severity": "medium",
"status": "blocked",
"source": "apa... |
[
{
"role": "user",
"content": "Mar 21 02:56:11 api-1 myapi[569972]: #033[2m2026-03-21T02:56:11.212028Z#033[0m #033[32m DEBUG#033[0m #033[2mmyapi::server#033[0m#033[2m:#033[0m connection pool size=10 idle=7\nMar 21 02:56:25 api-1 myapi[569972]: #033[2m2026-03-21T02:56:25.273399Z#033[0m #033[32m INFO#033[0m #0... | analysis | en | mixed_sys | 48 | {
"log_sources": [
"syslog",
"auth",
"ufw"
],
"time_range": {
"start": "Mar 21 02:56:11",
"end": "Mar 21 03:44:12"
},
"risk_level": "high",
"findings": [
{
"category": "privilege_escalation_attempt",
"severity": "high",
"status": "blocked",
"source": "auth",
... |
[
{
"role": "system",
"content": "You are LogSentinel, a Linux log analysis assistant. You read server logs (nginx, apache, auth/sshd, sudo, ufw, dmesg, syslog, fail2ban) and report security findings and operational problems accurately. Never invent events that are not in the logs."
},
{
"role": "user... | analysis | fr | web | 15 | {
"log_sources": [
"nginx_access"
],
"time_range": {
"start": "14/Jan/2023:14:27:14 -0500",
"end": "14/Jan/2023:23:29:10 -0500"
},
"risk_level": "none",
"findings": [],
"summary": "15 lignes de logs analysées ; aucun problème de sécurité ni erreur détecté. L'activité semble normale.",
"recom... |
[
{
"role": "system",
"content": "Tu es un assistant d'analyse de logs Linux."
},
{
"role": "user",
"content": "May 04 11:29:08 lab CRON[7471]: pam_unix(cron:session): session opened for user root(uid=0) by root(uid=0)\nMay 04 11:29:08 lab CRON[7471]: pam_unix(cron:session): session closed for use... | qa | fr | auth | 40 | null |
End of preview. Expand in Data Studio
LogSentinel synthetic Linux logs
Chat-format training data for LogSentinel-Qwen3-0.6B, a small model that reads Linux server logs and reports security findings as JSON.
- Code and step-by-step reproduction: github.com/rzafiamy/LogSentinel
Fully synthetic. Every sample comes from a deterministic generator, so there is no real log data and no personal data. Each label is computed exactly from the generator's own knowledge of what it injected, never written by an LLM.
Files
| Config | File | Rows | Generator / seed | Used for |
|---|---|---|---|---|
| v1 | v1_train.jsonl |
40,000 | generators/gen_v1.py seed 1 |
stage 1 (format warm-up, 250 steps) |
| v1 | v1_val.jsonl |
500 | v1 seed 2 | stage 1 validation |
| v2 | v2_test.jsonl |
800 | generators/gen_v2.py seed 23 |
extra test set (older generator) |
| v3 | v3_train.jsonl |
60,000 | generators/gen_v3.py seed 41 |
stage 2 (main training) |
| v3 | v3_val.jsonl / v3_test.jsonl |
500 / 800 | v3 seeds 42 / 43 | validation / main test set |
| v4 | v4_train.jsonl |
24,000 | gen.py (v4) seed 61 (16k) + 8k replayed from v3_train |
stage 3 (refinement) |
| v4 | v4_val.jsonl / v4_test.jsonl |
400 / 600 | v4 seeds 62 / 63 | validation / test |
scripts/make_data.sh in the GitHub repo regenerates every file byte-for-byte.
Format
One JSON object per line:
{"messages": [{"role": "system", "content": "..."}, {"role": "user", "content": "<question + logs>"}, {"role": "assistant", "content": "<expected answer>"}],
"task": "analysis", "lang": "en", "mode": "auth", "n_lines": 42, "gold": {"risk_level": "critical", "findings": [ ... ], ...}}
- The system message is optional (present in some samples).
taskisanalysis(62%): the answer is a JSON report. It isqa(38%) for extraction questions, whose answer is short text.goldholds the parsed expected report foranalysissamples and isnullforqa.- Prompts are 75% English and 25% French.
The analysis JSON contains log_sources, time_range, risk_level, findings[], summary and recommendations.
Each finding has category, severity, status, source, ips, users, count, first_seen, last_seen, evidence (a verbatim log line) and description.
Coverage:
- Log sources: nginx/apache access and error logs, auth.log (sshd, sudo, PAM), UFW, dmesg, syslog/journal, fail2ban.
- Incident categories (41): web attacks, SSH/sudo abuse, firewall events, kernel/hardware problems and persistence.
- Hard negatives: benign events that look suspicious and must not be reported.
License
Apache 2.0.
- Downloads last month
- 82