> For the complete documentation index, see [llms.txt](https://docs.netmap.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.netmap.dev/using-netmap/security-events.md).

# Security Events

The Security workspace searches firewall/syslog events and saved searches.

API equivalents:

* `GET /api/v1/syslog/status`
* `GET /api/v1/syslog/events`
* `GET /api/v1/syslog/searches`
* `POST /api/v1/syslog/searches`
* `DELETE /api/v1/syslog/searches/{search_id}`

Required permission: `security_view`.

## What This Workspace Is For

Use Security when you need to investigate firewall activity or syslog messages. It is the broad search surface for log data; topology only fetches selected-device security summaries on demand.

## Typical Workflow

1. Open Security.
2. Confirm syslog status.
3. Search raw logs or filter by available fields.
4. Save useful searches.
5. Export results if your role includes `firewall_export`.

## API Example

```bash
API_URL="https://netmap.example.com"
API_KEY="<security-view-api-key>"

curl --fail-with-body \
  --url "${API_URL}/api/v1/syslog/events?q=deny" \
  --header "X-API-Key: ${API_KEY}"
```

## Common Problems

| Symptom               | Likely cause                     | Fix                           |
| --------------------- | -------------------------------- | ----------------------------- |
| Security route hidden | missing security role/permission | ask SuperAdmin to update role |
| no events             | no syslog forwarding             | check syslog sender and ports |
| export unavailable    | missing `firewall_export`        | update role or ask an admin   |

## Related Pages

* [Syslog](/configuration/syslog.md)
* [Search Syslog Events](/guides/search-syslog.md)
* [Ports](/reference/ports.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.netmap.dev/using-netmap/security-events.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
