kafka-pipe: update filter "KafkatorioPacket encoded:::"
This commit is contained in:
parent
6a439b334d
commit
dbfbc9bbea
2 changed files with 2 additions and 2 deletions
|
|
@ -49,4 +49,4 @@ curl \
|
|||
--insecure "http://localhost/v1.41/containers/factorio-server/attach?logs=true&stream=true&stdout=true&follow=true" |
|
||||
tail -c+9
|
||||
|
||||
```
|
||||
```
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ KEY="${INSTANCE_ID:-none}"
|
|||
|
||||
while :; do
|
||||
docker logs --tail 0 -f "$FACTORIO_SERVER_CONTAINER_NAME" |
|
||||
sed -n -e 's/^KafkatorioPacket: //p' |
|
||||
sed -n -e 's/^KafkatorioPacket encoded::: //p' |
|
||||
kcat -P \
|
||||
-b "$KAFKA_HOST" \
|
||||
-t kafkatorio.src.server-log \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue