文件名称:redis-to-elastic:Redis通过python3流到弹性索引
文件大小:2KB
文件格式:ZIP
更新时间:2024-04-14 19:58:52
Python
从弹性到弹性 python3中的简单工具,用于从redis读取流并将其发送到弹性索引,我们不需要logstash即可完成简单的任务:) .env: REDIS_HOST= " 127.0.0.1:6379 " # redis host DB=0 # redis db STREAM_PATTERN= " organization:* " # pattern for our redis streams ELASTIC_HOST= " localhost:9200 " INDEX= " events " # index name where we send data from redis (will add to name -acutal_date) LOOP=1 # time in seconds for looping
【文件预览】:
redis-to-elastic-main
----.env(279B)
----main.py(1KB)
----requirements.txt(57B)
----README.md(444B)