This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<match cloudsql.cell.app> | |
@type exec | |
command /fluentd/bin/fluentd-objectstore | |
<format> | |
@type json | |
</format> | |
<buffer> | |
@type file | |
path /var/log/fluentd-buffers/objectstore.buffer | |
flush_interval 10s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stable-slim | |
LABEL maintainer="SoftWare Samuraj" | |
WORKDIR /home/samuraj | |
# Copy remote-debug app | |
COPY remote-debug . | |
# Copy Delve - Golang debugger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## File input | |
<source> | |
@type tail | |
path /tmp/fluentd/*/cell.log | |
pos_file /tmp/fluentd/cell.log.pos | |
tag cloudsql.cell | |
read_from_head true | |
<parse> | |
@type json | |
</parse> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<match cloudsql.cell.app> | |
@type elasticsearch | |
host localhost | |
port 9200 | |
index_name fluentd.${tag} | |
</match> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filter cloudsql.cell.app> | |
@type record_transformer | |
enable_ruby | |
<record> | |
msg ${record["msg"].encode("UTF-8", invalid: :replace, replace: "__NON_ASCII_CHAR__")} | |
</record> | |
</filter> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<source> | |
@type tail | |
path /tmp/fluentd/*/cell.log | |
pos_file /tmp/fluentd/cell.log.pos | |
tag cloudsql.cell | |
read_from_head true | |
<parse> | |
@type json | |
</parse> | |
</source> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "oci" { | |
version = "~> 3.88" | |
tenancy_ocid = var.tenancy_ocid | |
user_ocid = var.user_ocid | |
fingerprint = var.fingerprint | |
private_key_path = var.private_key_path | |
region = var.region | |
} | |
data "oci_bds_bds_instance" "tf_bds_instance" { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## This configuration was generated by terraform-provider-oci | |
resource oci_bds_bds_instance export_tf-bds-example { | |
#cluster_admin_password = <<Required attribute not found in discovery>> | |
#cluster_public_key = <<Required attribute not found in discovery>> | |
cluster_version = "CDH6" | |
compartment_id = "${var.compartment_ocid}" | |
defined_tags = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./terraform-provider-oci -command=export \ | |
-compartment_id=ocid1.compartment.oc1..aaaaaaaa7gna34n3semxsi7ejf72jqpjnip6mqw2764hegwp7y2sl5rctdqa \ | |
-output_path=tf-export \ | |
-services=bds \ | |
-generate_state |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "oci_bds_bds_instance" "tf_bds_instance" { | |
#Required | |
compartment_id = "ocid1.compartment.oc1..aaaaaaaa7gna34n3semxsi7ejf72jqpjnip6mqw2764hegwp7y2sl5rctdqa" | |
display_name = "tf-bds-example" | |
# Password has to be Base64 encoded, e.g.: echo Init01$$ | base64 | |
cluster_admin_password = "SW5pdDAxMTgwOTEK" | |
is_high_availability = false | |
is_secure = false | |
cluster_version = "CDH6" | |
master_node { |
NewerOlder