Skip to content

Commit c02874a

Browse files
committed
documentation on malcolm pivot urls
1 parent ba0cc35 commit c02874a

1 file changed

Lines changed: 93 additions & 0 deletions

File tree

docs/dashboards-reference.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,99 @@ The following fields are used across nearly all dashboards and are not repeated
3333

3434
---
3535

36+
## URIs for pivoting between Malcolm tools
37+
38+
The following URI patterns are used to pivot between Malcolm components, such as from Arkime to OpenSearch Dashboards or from OpenSearch Dashboards to NetBox, with filters or search expressions pre-applied.
39+
40+
The URI patterns are grouped below by destination.
41+
42+
See also the [Malcolm REST APIs](api.md#API).
43+
44+
### OpenSearch Dashboards
45+
46+
Use the following URI pattern to open OpenSearch Dashboards with a field/value filter and time range applied:
47+
48+
```text
49+
/idark2dash/filter?<URI parameters>
50+
```
51+
52+
#### URI parameters
53+
54+
* `start` - beginning of the search time frame, in ISO 8601 UTC format at second precision
55+
* `stop` - end of the search time frame, in ISO 8601 UTC format at second precision
56+
* `field` - name of the field to filter
57+
* `value` - value of the field to filter
58+
59+
#### Example
60+
61+
```text
62+
/idark2dash/filter?start=2026-07-13T21:19:14&stop=2026-07-15T21:19:57&field=event.provider&value=zeek
63+
```
64+
65+
### Arkime
66+
67+
Use the following URI pattern to open Arkime with a query expression applied:
68+
69+
```text
70+
/iddash2ark/<expression>
71+
```
72+
73+
`<expression>` is an Arkime search expression. For a detailed guide to Arkime query syntax, see the Arkime help page at **https://localhost/arkime/help#search** when connected locally. Users may also review the [Arkime source code](https://github.com/arkime/arkime/blob/main/viewer/vueapp/src/components/help/Help.vue) used to generate that help page.
74+
75+
#### Example
76+
77+
```text
78+
/iddash2ark/db:event.provider == "zeek"
79+
```
80+
81+
### NetBox
82+
83+
Use the following URI pattern to open NetBox with a search or object filter applied:
84+
85+
```text
86+
/netbox/<expression>
87+
```
88+
89+
`<expression>` depends on the Malcolm field being pivoted from and the type of NetBox object being searched.
90+
91+
| Malcolm field | NetBox URI |
92+
| ----------------------- | ------------------------------------------------------------------------------------------------------- |
93+
| `….segment.name` | `/netbox/search/?q=<value>&obj_types=ipam.prefix&lookup=iexact` |
94+
| `….device.name` | `/netbox/search/?q=<value>&obj_types=dcim.device&obj_types=virtualization.virtualmachine&lookup=iexact` |
95+
| `….device.device_type` | `/netbox/search/?q=<value>&obj_types=dcim.devicetype` |
96+
| `….device.manufacturer` | `/netbox/search/?q=<value>&obj_types=dcim.manufacturer` |
97+
| `….device.role` | `/netbox/search/?q=<value>&obj_types=dcim.devicerole` |
98+
| `….device.site` | `/netbox/search/?q=<value>&obj_types=dcim.site&lookup=iexact` |
99+
| `….segment.site` | `/netbox/search/?q=<value>&obj_types=dcim.site&lookup=iexact` |
100+
| `network.name` | `/netbox/search/?q=<value>&obj_types=ipam.prefix&lookup=iexact` |
101+
| `related.device_name` | `/netbox/search/?q=<value>&obj_types=dcim.device&obj_types=virtualization.virtualmachine&lookup=iexact` |
102+
| `related.device_type` | `/netbox/search/?q=<value>&obj_types=dcim.devicetype` |
103+
| `related.manufacturer` | `/netbox/search/?q=<value>&obj_types=dcim.manufacturer` |
104+
| `related.role` | `/netbox/search/?q=<value>&obj_types=dcim.devicerole` |
105+
| `related.site` | `/netbox/search/?q=<value>&obj_types=dcim.site&lookup=iexact` |
106+
107+
#### Example
108+
109+
```text
110+
/netbox/search/?q=Cyberville&obj_types=dcim.site&lookup=iexact
111+
```
112+
113+
### External links
114+
115+
Use the following URI pattern to link to an external URL. Malcolm will display a redirect prompt before leaving the Malcolm interface:
116+
117+
```text
118+
/dashboards/app/refred/<external URL>
119+
```
120+
121+
#### Example
122+
123+
```text
124+
/dashboards/app/refred/https://example.com/
125+
```
126+
127+
---
128+
36129
## Table of Contents
37130

38131
### General Network Logs

0 commit comments

Comments
 (0)