@@ -13,13 +13,13 @@ This plugin should be considered experimental.
13
13
Installation
14
14
------------
15
15
16
- After installing PostgreSQL, you can install the Bro PostgreSQL module
16
+ After installing PostgreSQL, you can install the Zeek PostgreSQL module
17
17
either using zkg, or manually via the command-line.
18
18
19
19
To install the plugin using zkg, use
20
20
21
21
```console
22
- # zkg install 0xxon/bro -postgresql
22
+ # zkg install 0xxon/zeek -postgresql
23
23
```
24
24
25
25
To install manually from the cloned repository, use::
@@ -56,11 +56,11 @@ This will write to a database named testdb into the table named conn. Note that
56
56
the table will be automatically be created by the PostgreSQL plugin, if it does
57
57
not yet exist. If a table with the specified name already exists, it is used;
58
58
the existing columns have to be compatible with the column names and types that
59
- the Bro plugin expects.
59
+ the Zeek plugin expects.
60
60
61
61
Data can be read from PostgreSQL using a script similar to:
62
62
63
- ```bro
63
+ ```zeek
64
64
redef exit_only_after_terminate = T;
65
65
66
66
type InfoType: record {
@@ -87,18 +87,18 @@ event Input::end_of_data(name: string, source:string)
87
87
}
88
88
```
89
89
90
- By default, the plugin connects to PostgreSQL as the user running Bro ,
90
+ By default, the plugin connects to PostgreSQL as the user running Zeek ,
91
91
without supplying any additional username or password.
92
92
93
93
Type mapping
94
94
============
95
95
96
- The writer automatically maps the Bro types to the following PostgreSQL data
96
+ The writer automatically maps the Zeek types to the following PostgreSQL data
97
97
types:
98
98
99
99
<table>
100
100
<tr>
101
- <th>Bro type</th>
101
+ <th>Zeek type</th>
102
102
<th>PostgreSQL type</th>
103
103
</tr><tr><td>Bool</td><td>boolean</td>
104
104
</tr><tr><td>int</td><td>bigint</td>
0 commit comments