[Bro] Bro Elasticsearch 2+

Daniel Guerra daniel.guerra69 at gmail.com
Sat Nov 28 05:47:11 PST 2015


Diving deeper in the problem, beside the dot & timestamp, it can be solved with bro config and
elastic mapping. I didn’t find the exact place where the dot is placed in the fieldnames, but I found
the point it was writing the json and changes JSON.cc <http://json.cc/> (ugly but pragmatic). About the bro script
script structure there is a need for naming conventions and type. Like the version field which changes
type all the time (ssl ssh socks etc.). Check /scripts/bro-map.sh for geo_point and not analyzed fields (when
you let elastic index the data it cuts the results into words). In this script also the shards and copies are set.
Mapping needs to be done before writing. 

> On 28 Nov 2015, at 14:16, James Lay <jlay at slave-tothe-box.net> wrote:
> On Fri, 2015-11-27 at 22:14 +0100, Daniel Guerra wrote:
>> Hi,
>> I’ve been working a while on the elasticsearch integration with bro.
>> There have been some issues like timestamp, the elstic 2.0 no dot
>> and the name/type changes in the logging (version …). See my changes
>> in https://github.com/danielguerra69/bro-debian-elasticsearch/blob/master/Dockerfile <https://github.com/danielguerra69/bro-debian-elasticsearch/blob/master/Dockerfile>It was made pragmatic, some changes where just a quick hack.
>> The latest release is stable.
>> https://hub.docker.com/r/danielguerra/bro-debian-elasticsearch/ <https://hub.docker.com/r/danielguerra/bro-debian-elasticsearch/>
>> Regards,
>> Daniel
>> _______________________________________________
>> Bro mailing list
>> bro at bro-ids.org <mailto:bro at bro-ids.org>
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro <http://mailman.icsi.berkeley.edu/mailman/listinfo/bro>
> Thanks for this Daniel....I've been looking at the new ES as well....seems like a large pain now...this will help me out.
> James
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20151128/bba3e91d/attachment.html 

More information about the Bro mailing list