oracle / weblogic-logging-exporter

Export server logs from WebLogic Server in JSON format to Elasticsearch.
Universal Permissive License v1.0
24 stars 16 forks source link

Export logs to Elasticsearch server using HTTPS #18

Open galiacheng opened 3 years ago

galiacheng commented 3 years ago

It will be very helpful for customers using Elastic Cloud if the weblogic logging tools support to export the WLS operator logs to ELK using HTTPS connection.

Now we can specify an existing Elasticsearch server using command

helm upgrade \
  --namespace sample-weblogic-operator-ns \
  --set image=ghcr.io/oracle/weblogic-kubernetes-operator:3.2.1 \
  --set serviceAccount=sample-weblogic-operator-sa \
  --set "elkIntegrationEnabled=true" \
  --set "elasticSearchHost=sample.elasticsearch.com" \
  --set "elasticSearchPort=9200" \
  --set "enableClusterRoleBinding=true" \
  --set "domainNamespaceSelectionStrategy=LabelSelector" \
  --set "domainNamespaceLabelSelector=weblogic-operator\=enabled" \
  --wait \
  weblogic-operator \
  kubernetes/charts/weblogic-operator

It will be great to specify the scheme with variable like

helm upgrade \
  --namespace sample-weblogic-operator-ns \
  --set image=ghcr.io/oracle/weblogic-kubernetes-operator:3.2.1 \
  --set serviceAccount=sample-weblogic-operator-sa \
  --set "elkIntegrationEnabled=true" \
  --set "elasticSearchHost=sample.elasticsearch.com" \
  --set "elasticSearchPort=9200" \
  --set "elasticSearchUser=elastic" \
  --set "elasticSearchPassword=111111111111111111111" \
  --set "elasticSearchScheme=https" \
  --set "enableClusterRoleBinding=true" \
  --set "domainNamespaceSelectionStrategy=LabelSelector" \
  --set "domainNamespaceLabelSelector=weblogic-operator\=enabled" \
  --wait \
  weblogic-operator \
  kubernetes/charts/weblogic-operator
mriccell commented 3 years ago

Thanks so much for the suggestion, we will capture your enhancement requirement and prioritize it.

Monica

merssrem commented 3 years ago

Have you something to work with HTTPS or with Authentications as issue Support authentications #12?

galiacheng commented 3 years ago

We have a customer, they want Authentications., it will be better to have HTTPS support.