...
The following code demonstrates how to specify a basic association (Note: The sample event specification and sample event output below is extracted from a a sample MySql Database Source the full content of which can be viewed here.):
Code Block | ||
---|---|---|
| ||
{ //... "associations" : [ { "entity1" : "$metadata.offense,$metadata.method", "verb" : "reported", "verb_category" : "crime", "time_start" : "$metadata.reportdatetime", "geo_index" : "Location", "geotag" : { "lat" : "$metadata.latitude", "lon" : "$metadata.longitude"} }, ], //... } |
...