Published inFAUN — Developer Community 🐾·PinnedElastic APM and OpenTelemetry integrationOpenTelemetry Integration OpenTelemetry is a set of APIs, SDKs, tooling, and integrations that enable the capture and management of telemetry data from your services for greater observability. …Opentelemetry4 min readOpentelemetry4 min read
Mar 18, 2022Okta integration with Amazon Managed GrafanaThe managed Grafana is getting popular since it is well integrated with tons of amazon services. I am start seeing more people asking how to do the okta integration with permission separate. Let’s go over the steps. The below setup allows to achieve the integration. Create two okta group, grafana_admin…Grafana2 min readGrafana2 min read
Oct 22, 2021OKTA integration with VPC-based Amazon Opensearch through NginxOKTA integration with VPC-based Amazon Opensearch through Nginx Amazon Opensearch setup Enable SAML authentication fill in IdP metadata fill in IdP entity ID : you can find it from the okta metadata SAML master username: izekchen@gmail.com < ensure the username also exist in the okta application user assignment SAML master backend role: create…Elasticsearch2 min readElasticsearch2 min read
Jun 15, 2021Analyze mongodb3.x slow query log with filebeat and elasticsearchThe log format for MongoDB v.3.x compare with later version are very different. And it is not working with default filebeat pipeline. However, there is a way we can parse it Default filebeat mongodb pipeline The grok part below are not working in the old version of mongodb logs log example: { aggregate: "orders"…Mongodb2 min readMongodb2 min read
Jan 25, 2021Replace httpGet with exec for readiness and liveness probeThere have been quite a few issue for using httpGet for both Probe keep showing unreasonable timeout net/http: request canceled (Client.Timeout exceeded while awaiting headers) After some investigation, I switched to exec with no issue readinessProbe: # httpGet: # path: "/_node/ready" # port: 9600 exec: command: - "curl" - "--fail" - "http://localhost:9600/_node/ready"K8s1 min readK8s1 min read
Sep 15, 2020Filebeat with nginx custom log format set upBackground For setting up the custom Nginx log parsing, there are something areas you need to pay attention to. When filebeat start, it will initiate a PUT request to elasticsearch to create or update the default pipeline. For Ex, “filebeat-7.7.1-nginx-access-default“ is the default pipeline of filebeat 7.7.1. If you have multiple version…Elasticsearch3 min readElasticsearch3 min read
Jun 21, 2020Coding Challenge — 2Coding Challenge — 2 This problem was recently asked by Airbnb Given a sorted array, A, with possibly duplicated elements, find the indices of the first and last occurrences of a target element, x. Return -1 if the target is not found. Example: Input: A = [1,3,3,5,7,8,9,9,9,15], target = 9 Output…Coding Challenge1 min readCoding Challenge1 min read
Jun 21, 2020Coding Challenge — 1Coding Challenge — 1 This problem was recently asked by Google Given a list of numbers with only 3 unique numbers (1, 2, 3), sort the list in O(n) time. Example 1: Input: [3, 3, 2, 1, 3, 2, 1] Output: [1, 1, 2, 2, 3, 3, 3] def sortNums(nums)…Coding1 min readCoding1 min read
Published inFAUN — Developer Community 🐾·Mar 3, 2020Uptime Host Availability - Hand-on Elastic Heartbeat Setup And Watcher alerting CombinationUptime Host Availability - Hand-on Elastic Heartbeat Setup And Watcher alerting Combination Heartbeat is a lightweight daemon that you install on a remote server to periodically check the status of your services and determine whether they are available. …Elasticsearch6 min readElasticsearch6 min read
Mar 1, 2020Setup Elastic APM with elasticsearch operator and testSetup Elastic APM with elasticsearch operator and test Continue from the previous article, this one we will talk about how to install the APM server and setup sample application for test. For the step of install via elasticsearch-operator, please check the post here. Step-by-step installation guide. Before we start, need…Elasticsearch3 min readElasticsearch3 min read