25 lines
419 B
Plaintext
25 lines
419 B
Plaintext
![]() |
<source>
|
||
|
@type forward
|
||
|
</source>
|
||
|
|
||
|
<filter **>
|
||
|
@type record_transformer
|
||
|
enable_ruby
|
||
|
<record>
|
||
|
docker.container_id ${record["container_id"]}
|
||
|
docker.image_name ${tag}
|
||
|
</record>
|
||
|
</filter>
|
||
|
|
||
|
<match **>
|
||
|
@type elasticsearch
|
||
|
host cloud.humio.com
|
||
|
port 9200
|
||
|
scheme https
|
||
|
ssl_version TLSv1_2
|
||
|
user <Humio index or Elasticsearch user>
|
||
|
password <Humio API key or Elasticsearch password>
|
||
|
logstash_format true
|
||
|
</match>
|
||
|
|