event-forwarding-microservice

所属分类:数值算法/人工智能
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-11-09 20:46:02
上 传 者sh-1993
说明:  事件转发微服务从中央事件中心接收事件,并将其转发到Redis缓存和日志记录系统,如EL...
(The event-forwarding-microservice receives events from the central event hub and forwards them to Redis cache and logging systems like ELK and Humio.)

文件列表:
cache/ (0, 2023-11-10)
cache/cache.go (487, 2023-11-10)
cache/initialization.go (1174, 2023-11-10)
cache/memorycache/ (0, 2023-11-10)
cache/memorycache/deviceitemmanager.go (3975, 2023-11-10)
cache/memorycache/init.go (690, 2023-11-10)
cache/memorycache/memorycache.go (7968, 2023-11-10)
cache/memorycache/roomitemmanager.go (2351, 2023-11-10)
cache/rediscache/ (0, 2023-11-10)
cache/rediscache/helpers.go (4658, 2023-11-10)
cache/rediscache/rediscache.go (7601, 2023-11-10)
cache/shared/ (0, 2023-11-10)
cache/shared/device.go (2160, 2023-11-10)
cache/shared/helpers.go (12532, 2023-11-10)
cache/shared/helpers_test.go (8731, 2023-11-10)
cache/shared/interface.go (1052, 2023-11-10)
cache/shared/room.go (586, 2023-11-10)
config.json (306, 2023-11-10)
config/ (0, 2023-11-10)
config/cacheconfig.go (744, 2023-11-10)
config/config.go (2464, 2023-11-10)
config/forwarderconfig.go (1647, 2023-11-10)
couch/ (0, 2023-11-10)
couch/couch.go (3275, 2023-11-10)
couch/req.go (1699, 2023-11-10)
dockerfile (99, 2023-11-10)
elk/ (0, 2023-11-10)
elk/ELKIndexMappings/ (0, 2023-11-10)
elk/ELKIndexMappings/StaticDeviceMappings.json (5310, 2023-11-10)
elk/ELKIndexMappings/StaticRoomMappings.json (3400, 2023-11-10)
elk/ELKIndexMappings/eventsv2mappings.json (3645, 2023-11-10)
elk/elk.go (5317, 2023-11-10)
elk/queries.go (480, 2023-11-10)
elk/rooms.go (1651, 2023-11-10)
elk/structs.go (1672, 2023-11-10)
forwarding/ (0, 2023-11-10)
forwarding/manager.go (4022, 2023-11-10)
forwarding/managers/ (0, 2023-11-10)
... ...

## event-forwarding-microservice ### Production Branch is Main [![Apache 2 License](https://img.shields.io/hexpm/l/plug.svg)](https://raw.githubusercontent.com/byuoitav/touchpanel-ui-microservice/master/LICENSE) The event-forwarding-microservice receives events from the central event hub and forwards them to Redis cache and logging systems like ELK and Humio. Caches and logging systems are configured in a json file: service-config.json. ### service-config.json Format ``` { "caches": [ { "name": "default", "cache-type": "redis", "type-cache": { "device-index": "oit-static-av-devices-v3", "room-index": "oit-static-av-rooms-v3", "url": "location.byu.edu:port" }, "generic-cache": { "device-database": 0, "room-database": 1, "url": "wherever.amazonaws.com:port" } } ], "forwarders": [ { "name": "LogEvents", "type": "logging_system_name", "event-type": "all", "data-type": "event", "cache-name": "default" "logging_system_name": { "update-interval": 5, "buffer-size": 4000 } } ] } ``` ## Forwarder Options ### Humio ``` "humio": { "update-interval": 5, //send buffer every x seconds "buffer-size": 4000, //max amount of events that can be stored in a buffer "ingest-token": "jai52gwjl-auemdio5-5263-83lp-sjrd3853k9" } ``` ### Elk ``` "elk": { "url": "http://location.byu.edu:1534", "index-pattern": "av-delta-events", "index-rotation-interval": "monthly" } ``` ## Cache Options ### redis-cache ``` "redis-cache": { "device-database": 0, "room-database": 1, "url": "production.location.com:PORT" } ```

近期下载者

相关文件


收藏者