Xpersona
N

Network Log Analysis

CLAWHUB · Unverified

Device-level network log analysis using raw syslog data without SIEM platforms. Guides forensic timeline construction from rsyslog/syslog-ng collectors, devi... Skill: Network Log Analysis Owner: vahagn-madatyan Summary: Device-level network log analysis using raw syslog data without SIEM platforms. Guides forensic timeline construction from rsyslog/syslog-ng collectors, devi... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-01T03:03:05.317Z | auto - Initial release: Skill for device-level network log analysis using raw syslog data, without reliance on SIEM platforms.

62
Rank
84
Safety
999
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 999 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172e0s6wm08gdxkw6pxzkwzgh841b69:network-log-analysis
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-vahagn-madatyan-network-log-analysis/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

39,547 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: network-log-analysis
description: >-
  Device-level network log analysis using raw syslog data without SIEM
  platforms. Guides forensic timeline construction from rsyslog/syslog-ng
  collectors, device console logs, and SNMP trap data. Covers syslog
  pattern recognition across Cisco IOS-XE, Juniper JunOS, and Arista EOS
  message formats, multi-device event correlation using grep/awk/sort,
  anomaly detection via baseline deviation, and chronological timeline
  reconstruction with NTP-aware timestamp normalization.
license: Apache-2.0
metadata:
  safety: read-only
  author: network-security-skills-suite
  version: "1.0.0"
  openclaw: '{"emoji":"📊","safetyTier":"read-only","requires":{"bins":[],"env":[]},"tags":["syslog","log","anomaly"],"mcpDependencies":[],"egressEndpoints":[]}'
---

# Network Log Analysis

Device-level syslog analysis and forensic timeline construction without
SIEM platforms. This skill covers raw log data from rsyslog/syslog-ng
collectors, device console output, and SNMP trap receivers — all
analysis uses standard Unix tools (grep, awk, sort, sed).

For environments with a SIEM platform, use the companion skill
siem-log-analysis which provides the same forensic reasoning with
platform-specific query syntax.

Reference `references/cli-reference.md` for rsyslog/syslog-ng
configuration, device syslog commands, and log parsing one-liners.
Reference `references/syslog-patterns.md` for vendor-specific message
formats, the RFC 5424 facility/severity matrix, and common event
pattern catalogs.

## When to Use

- **No SIEM available** — investigate network events using only raw
  syslog files on a centralized collector or individual device logs
- **Syslog infrastructure audit** — verify that rsyslog or syslog-ng
  is correctly receiving, routing, and retaining logs from all network
  devices in scope
- **Multi-device event correlation** — construct a unified timeline
  from separate per-device or per-facility log files using timestamp
  sorting and pattern matching
- **Anomaly investigation** — identify deviations from normal log
  volume, new message types, or authentication failure clusters
  without statistical query engines
- **Post-incident timeline reconstruction** — assemble a chronological
  evidence chain from raw logs after a network outage or security event
- **Log retention compliance** — verify that log rotation policies
  and retention periods meet organizational or regulatory requirements

## Prerequisites

- **Syslog collector access** — SSH or console access to the
  rsyslog/syslog-ng server with read permissions on log directories
  (typically `/var/log/` or custom paths defined in collector config)
- **Device CLI access** — Read-only credentials for network devices
  to verify syslog forwarding configuration and NTP synchronization
  status
- **Unix tool availability** — `grep`, `awk`, `sort`, `sed`, `wc`,
  and `date` available on the syslog collector (standard on any
  Linux/BSD system)
- **NTP verifica

_meta.json

{
  "ownerId": "kn7ac9vq558rgj3edzcy9mgf1183b0ec",
  "slug": "network-log-analysis",
  "version": "1.0.0",
  "publishedAt": 1775012585317
}

references/cli-reference.md

# CLI Reference — Network Log Analysis

Commands organized by analysis phase: syslog server configuration,
device syslog verification, and log parsing one-liners.

## Syslog Server Configuration

### rsyslog

**Check running configuration:**
```bash
rsyslogd -N1          # Validate config syntax
cat /etc/rsyslog.conf # Main configuration
ls /etc/rsyslog.d/    # Drop-in config fragments
```

**Common input modules:**
```
# UDP listener (traditional syslog)
module(load="imudp")
input(type="imudp" port="514")

# TCP listener (reliable transport)
module(load="imtcp")
input(type="imtcp" port="514")

# RELP listener (reliable event logging protocol)
module(load="imrelp")
input(type="imrelp" port="2514")
```

**Facility/severity routing rules:**
```
# Route by facility to separate files
local0.*    /var/log/network/routers.log
local1.*    /var/log/network/switches.log
local2.*    /var/log/network/firewalls.log

# Route by severity (critical and above to alert file)
*.crit      /var/log/network/critical.log

# Route by source IP (requires property-based filter)
:fromhost-ip, isequal, "10.0.0.1"  /var/log/network/core-rtr01.log
```

**File output template with source hostname:**
```
template(name="NetworkLog" type="string"
  string="%TIMESTAMP% %HOSTNAME% %syslogtag%%msg%\n")

local0.* action(type="omfile" file="/var/log/network/routers.log"
  template="NetworkLog")
```

### syslog-ng

**Check running configuration:**
```bash
syslog-ng --syntax-only     # Validate config
cat /etc/syslog-ng/syslog-ng.conf
```

**Network source definition:**
```
source s_network {
    udp(port(514));
    tcp(port(514));
};
```

**Filter and destination examples:**
```
filter f_routers { facility(local0); };
filter f_critical { level(crit..emerg); };
filter f_cisco { match("%[A-Z]+-[0-7]-[A-Z_]+" value("MESSAGE")); };

destination d_routers { file("/var/log/network/routers.log"); };
destination d_critical { file("/var/log/network/critical.log"); };

log { source(s_network); filter(f_routers); destination(d_routers); };
log { source(s_network); filter(f_critical); destination(d_critical); };
```

**Preserve original hostname:**
```
options {
    keep-hostname(yes);
    use-dns(no);
};
```

## Device Syslog Configuration Commands

### Cisco IOS-XE

```
! Show current logging configuration
show logging

! Configure syslog destination
logging host 10.1.1.100 transport udp port 514
logging trap informational          ! Severity 6 and above
logging facility local0             ! Facility code for rsyslog routing
logging source-interface Loopback0  ! Consistent source IP

! Verify logging history
show logging history
```

### Juniper JunOS

```
# Show syslog configuration
show system syslog

# Configure syslog destination
set system syslog host 10.1.1.100 any info
set system syslog host 10.1.1.100 facility-override local0
set system syslog host 10.1.1.100 structured-data

# Enable structured syslog for parseable output
set system syslog host 10.1.1.100 explicit-priority
```

### Ari

references/syslog-patterns.md

# Syslog Patterns Reference — Network Log Analysis

Vendor-specific syslog message format tables, RFC 5424 facility/severity
matrix, and common network event pattern catalogs for raw log analysis.

## RFC 5424 Facility Codes

| Code | Facility | Typical Network Use |
|------|----------|-------------------|
| 0 | kern | Not used by network devices |
| 1 | user | General device messages |
| 2 | mail | Not used by network devices |
| 3 | daemon | SNMP, NTP, routing daemons |
| 4 | auth | Login, AAA, TACACS+/RADIUS |
| 5 | syslog | Syslog infrastructure messages |
| 6 | lpr | Not used by network devices |
| 7 | news | Not used by network devices |
| 8 | uucp | Not used by network devices |
| 9 | cron | Scheduled tasks on Linux-based devices |
| 10 | authpriv | Privileged authentication events |
| 11 | ftp | Not used by network devices |
| 16 | local0 | Commonly assigned: routers |
| 17 | local1 | Commonly assigned: switches |
| 18 | local2 | Commonly assigned: firewalls |
| 19 | local3 | Commonly assigned: wireless controllers |
| 20 | local4 | Commonly assigned: load balancers |
| 21 | local5 | Available for custom assignment |
| 22 | local6 | Available for custom assignment |
| 23 | local7 | Commonly assigned: network management |

## RFC 5424 Severity Levels

| Value | Severity | Keyword | Description |
|-------|----------|---------|-------------|
| 0 | Emergency | emerg | System is unusable |
| 1 | Alert | alert | Immediate action required |
| 2 | Critical | crit | Critical conditions |
| 3 | Error | err | Error conditions |
| 4 | Warning | warning | Warning conditions |
| 5 | Notice | notice | Normal but significant |
| 6 | Informational | info | Informational messages |
| 7 | Debug | debug | Debug-level messages |

**Priority (PRI) calculation:** `PRI = (Facility × 8) + Severity`

Example: local0.warning = (16 × 8) + 4 = 132. In raw syslog: `<132>`.

## Cisco IOS-XE Message Format

**Format:** `*timestamp: %FACILITY-SEVERITY-MNEMONIC: description`

### Common Facility Codes

| Facility | Subsystem | Example Mnemonic |
|----------|-----------|-----------------|
| LINK | Layer 1/2 interface | LINK-3-UPDOWN |
| LINEPROTO | Line protocol | LINEPROTO-5-UPDOWN |
| OSPF | OSPF routing | OSPF-5-ADJCHG |
| BGP | BGP routing | BGP-5-ADJCHANGE, BGP-3-NOTIFICATION |
| SYS | System events | SYS-5-CONFIG_I, SYS-5-RESTART |
| SEC | Security | SEC-6-IPACCESSLOGP |
| SEC_LOGIN | Login security | SEC_LOGIN-4-LOGIN_FAILED |
| AUTHMGR | Auth manager | AUTHMGR-5-START, AUTHMGR-5-SUCCESS |
| SNMP | SNMP subsystem | SNMP-3-AUTHFAIL |
| HSRP | First-hop redundancy | HSRP-5-STATECHANGE |
| VLAN | VLAN manager | VLAN-3-NATIVE_VLAN_MISMATCH |
| SPANNING | Spanning tree | SPANTREE-2-BLOCK_PVID_LOCAL |
| CRYPTO | IPsec/IKE | CRYPTO-4-IKMP_NO_SA |
| DHCP | DHCP snooping | DHCP_SNOOPING-5-DHCP_SNOOPING_MATCH |

### Critical Cisco Mnemonics to Monitor

| Mnemonic | Severity | Meaning | Action |
|----------|----------|---------|--------|
| LINK-3-UPDOWN | Error | Physical inte

skill-card.md

## Description:

Device-level network log analysis using raw syslog data without SIEM platforms, covering forensic timeline construction, syslog pattern recognition, multi-device event correlation, anomaly detection, and NTP-aware timestamp normalization.

This skill is ready for commercial/non-commercial use.

## Publisher:

[vahagn-madatyan](https://clawhub.ai/user/vahagn-madatyan)

### License/Terms of Use:

MIT-0

## Use Case:

Network engineers, security analysts, and incident responders use this skill to investigate raw device syslog data, audit syslog collection health, correlate events across devices, detect anomalies, and produce a structured forensic report.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Timestamp-conversion examples may pass log text through shell commands when used on attacker-controlled logs.

Mitigation: Use safer parsing tools or scripts that avoid shell interpolation of log text before applying examples to untrusted logs.

Risk: Intermediate timeline and baseline files may expose sensitive log data or collide on shared systems.

Mitigation: Use private temporary directories, restrict file permissions, and run analysis under an unprivileged read-only account.

Risk: Incomplete syslog collection, retention gaps, or unsynchronized clocks can make forensic conclusions unreliable.

Mitigation: Verify collector coverage, retention, and NTP status before correlation, and document evidence gaps in the final report.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/vahagn-madatyan/skills/network-log-analysis)
- [CLI Reference](references/cli-reference.md)
- [Syslog Patterns Reference](references/syslog-patterns.md)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with inline shell commands, configuration examples, tables, and report templates]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces analyst-facing procedures and report structure; it does not execute log analysis directly.]

## Skill Version(s):

1.0.0 (source: server release metadata and skill frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Network Log Analysis and adjacent AI workflows.