# bro-dblogger

**URL:** <https://community.zeek.org/t/bro-dblogger/1407>\
**Category:** Zeek\
**Created:** [October 15, 2008, 7:01pm UTC](https://community.zeek.org/t/bro-dblogger/1407 "2008-10-15T19:01:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seth\_Hall](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Seth\_Hall](https://community.zeek.org/u/Seth_Hall)\
**Post date:** [October 15, 2008, 7:01pm UTC](https://community.zeek.org/t/bro-dblogger/1407/1 "2008-10-15T19:01:47Z")

</div>

Hi all,

Here's my first functional release of a tool for inserting data from Bro into a PostgreSQL database in realtime. There are still quite a few things to work on, but this version works and is already being used here.

Site at github: [http://github.com/sethhall/bro-dblogger](http://github.com/sethhall/bro-dblogger)  
Zip: [http://github.com/sethhall/bro-dblogger/zipball/release1](http://github.com/sethhall/bro-dblogger/zipball/release1)  
Tar.gz: [http://github.com/sethhall/bro-dblogger/tarball/release1](http://github.com/sethhall/bro-dblogger/tarball/release1)

Check out the README and the examples directory if you are interested in using it. If you have any questions or comments, please let me know.

Thanks!  
&nbsp;&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![Seth\_Hall](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Seth\_Hall](https://community.zeek.org/u/Seth_Hall)\
**Post date:** [October 16, 2008, 4:38am UTC](https://community.zeek.org/t/bro-dblogger/1407/2 "2008-10-16T04:38:45Z")

</div>

I forgot to mention that in order to use this, you'll need to be linking against the version of Broccoli in trunk or broccoli from the soon-to-be 1.4 release.

&nbsp;&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![mel](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mel](https://community.zeek.org/u/mel)\
**Post date:** [October 17, 2008, 2:46am UTC](https://community.zeek.org/t/bro-dblogger/1407/3 "2008-10-17T02:46:51Z")

</div>

Seth Hall wrote:

> I forgot to mention that in order to use this, you'll need to be  
> linking against the version of Broccoli in trunk or broccoli from the  
> soon-to-be 1.4 release.

I'm getting compile time error:

c++ -g -Wall -I/usr/local/include -L/usr/local/lib  
-L/usr/local/lib/postgresql -I/usr/local/include/postgresql  
-L/usr/local/bro14/lib -I/usr/local/bro14/include -lbroccoli -lpq  
bro-dblogger.cc -o bro-dblogger  
bro-dblogger.cc: In function 'void db\_log\_event\_handler(BroConn\*, void\*,  
BroEvMeta\*)':  
bro-dblogger.cc:281: error: 'bro\_record\_get\_nth\_name' was not declared  
in this scope  
\*\*\* Error code 1

> &nbsp;&nbsp;&nbsp;.Seth

--mel

---

<div class="post-metadata">

**Author:** ![Seth\_Hall](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Seth\_Hall](https://community.zeek.org/u/Seth_Hall)\
**Post date:** [October 17, 2008, 3:09am UTC](https://community.zeek.org/t/bro-dblogger/1407/4 "2008-10-17T03:09:09Z")

</div>

Oh, I guess I forgot to mention that it will only work with the upcoming 1.4 final (or current trunk). That was a small update that was included after the 1.4 pre-releases. Sorry about that!

&nbsp;&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:38pm UTC](https://community.zeek.org/t/bro-dblogger/1407/5 "2022-05-06T15:38:42Z")

</div>

Closed on May 6, 2022, 3:38pm UTC


