inliniac/suricata — pull request #273 by JakeGNA (2013-01-31 19:56:46+00:00)
Title: Adding support for Feature #667

Added static uint32_t sensor_id to hold the value (defaulted to 0). I could not think of a way to not use a static or global variable without modifying much more than seemed necessary or reading the yaml for every individual alert.

It is populated in Unified2AlertInitCtx(ConfNode *conf)