NetSight Setup Guide — Part 5: Sending logs to NetSight
This is Part 5 of the NetSight Setup Guide, and the start of the log management section. Everything NetSight does with logs — search, alerting, correlation, dashboards — depends on one thing first: your devices actually sending their logs to it. Let's make that happen.
How devices send logs to NetSight
NetSight listens on a few standard ports. You point each device at NetSight's IP address on the matching port:
| What | Port | Used by |
|---|---|---|
| Syslog (UDP) | 514 | Firewalls, switches, routers, Linux servers |
| Syslog (TCP) | 514 | The same, when you want reliable delivery |
| Syslog over TLS | 6514 | When you need the logs encrypted in transit |
| SNMP traps | 162 | Switches and network gear sending alarms |
| HTTP API (token) | 8000 | Applications and custom scripts |
What you'll do in this guide
- Send logs from a firewall (syslog)
- Confirm the logs are arriving
- Receive SNMP traps from switches
- Send logs from applications over the HTTP API
Step 1 — Send logs from a firewall (syslog)
Almost every firewall, switch and router can forward its logs by syslog. The steps differ by vendor but the idea is always the same: tell the device where to send logs.
On the device's logging / syslog settings, set:
- Syslog server / destination: your NetSight server's IP address.
- Port: 514.
- Protocol: UDP (or TCP if you want guaranteed delivery).
- Severity / minimum level: send Warning and above to avoid flooding NetSight with routine chatter — you can lower this later if you need more detail.
Save and apply. The device begins forwarding immediately. (For example, on a Sangfor firewall you'd enable a Log Server pointing at NetSight on port 514; on a Cisco switch you'd use logging host <NetSight-IP>.)
Network tip: make sure any firewall between the device and NetSight allows UDP 514 through to the NetSight server, or the logs never arrive.
Step 2 — Confirm the logs are arriving
Two quick ways to verify:
- Collectors page — open Collectors in the left menu. It shows the live listeners and the queue depth (how many logs are being processed). If numbers are moving, logs are flowing.
- Live Monitor — open Live Monitor to watch logs stream in as they arrive. You should see entries from your device appear within a few seconds.
If nothing shows up after a minute, re-check the device's syslog destination IP and port, and confirm UDP 514 isn't blocked by a firewall in between.
Step 3 — Receive SNMP traps
Network devices can also send SNMP traps — alarms like a port going down or a duplicate IP being detected.
- On the switch or device, set its trap destination to your NetSight IP on port 162.
- Set the SNMP community string as required by your device.
- Traps then appear in NetSight alongside your syslog data, ready to search and alert on.
Step 4 — Send logs from applications (HTTP API)
For custom applications or scripts that can't speak syslog, NetSight accepts logs over an authenticated HTTP API.
- Create an ingest token in NetSight (from the ingest/collectors settings).
- Have your application send its log messages to NetSight's API endpoint, including the token in the request header.
- Those logs are tagged to your organization and appear alongside everything else.
This is how you get logs from software that lives outside the usual network-device world.
You're now collecting logs
Your firewalls, switches and servers are feeding NetSight, and you can watch them arrive in real time. This is the raw material for everything that follows — searching, alerting and correlation.
Right now those logs may show as generic if NetSight doesn't yet recognise the vendor format. That's exactly what we fix next.
Next up — Part 6: Parsers & normalising log data, where we turn raw log lines into clean, structured events — with the vendor, severity, source, user and action pulled out automatically.