Posts

Showing posts with the label kibana

kubernetes : expost service internally within VPN

Image
Clash Royale CLAN TAG #URR8PPP kubernetes : expost service internally within VPN I've setup kubernetes cluster using kops kops create cluster --dns-zone=vpc.pharmeasy.in --dns=private --master-zones=ap-southeast-1a,ap-southeast-1b,ap-southeast-1c --zones=ap-southeast-1a,ap-southeast-1b,ap-southeast-1c --node-count 3 --topology private --networking flannel-vxlan --node-size=t2.medium --master-size=t2.micro ${NAME} Also, we have used internal LoadBalancer for Kubernetes api server. Whenever i create a service of type=LoadBalancer it creates internet-facing load balancer and is available publically. I tried created service using ClusterIp And exposed using Kubectl proxy, but it is not accessible. We already have VPN setup. We want elasticsearch and kibana dashboard available only within vpn. How to expose service internally with VPN? By clicking "Post Your Answer", you...

Elasticsearch 6.3 - How to enable SSL in elasticsearch

Image
Clash Royale CLAN TAG #URR8PPP Elasticsearch 6.3 - How to enable SSL in elasticsearch Any idea how to enable https in elastic search. Give me the steps to understand by developer 1 Answer 1 You can specify SSL options for any output that supports SSL. You can also specify SSL options when you set up the Kibana endpoint. Example output config with SSL enabled: output.elasticsearch.hosts: ["192.168.1.42:9200"] output.elasticsearch.ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] output.elasticsearch.ssl.certificate: "/etc/pki/client/cert.pem" output.elasticsearch.ssl.key: "/etc/pki/client/cert.key" Example Kibana endpoint config with SSL enabled: setup.kibana.host: "192.0.2.255:5601" setup.kibana.protocol: "https" setup.kibana.ssl.enabled: true setup.kibana.ssl.certificate_authorities: ["/etc/pki/root/ca.pem"] setup.kibana.ssl....

Elastic search error - was expecting double-quote to start field name

Image
Clash Royale CLAN TAG #URR8PPP Elastic search error - was expecting double-quote to start field name Am trying to create a mapping for my new index named as region . Please find my below mapping file. region PUT region { "mappings": { "doc": { "properties": { "catalog_product_id": { "type": "long", }, "id": { "type": "long" }, "region_id":{ "type": "text" }, "region_type":{ "type" : "text" } } } } } } While am trying to execute this mapping script am getting the below error was expecting double-quote to start field name try to check your json for validity of any online service and you will find an error – Oleg SH ...