Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
devops:deploy_elk_using_helm [2020/06/01 18:44] – [RBAC using Oidc proxy] admindevops:deploy_elk_using_helm [2021/04/08 14:05] – [Kibana Ingress] admin
Line 63: Line 63:
     secretName:  kibana-autosys-tk-tls     secretName:  kibana-autosys-tk-tls
 </code> </code>
 +
 +===== Kibana Saved Objects =====
 +В кибане есть сохраненные пользователем объекты. Например - Index Patterns.\\
 +Создать можно так:
 +  kubectl exec -it -n elk elk-openresty-oidc-559f46d69d-shbwg -- curl -H 'Authorization: Basic dXN....o' -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"attributes": {"title": "my-pattern-*"}}' http://elk-kb-http:5601/api/saved_objects/index-pattern/my-pattern
 +Посмотреть их можно так:
 +  kubectl exec -it -n elk elk-openresty-oidc-559f46d69d-shbwg -- curl -H 'Authorization: Basic dXN....o' http://elk-kb-http:5601/api/saved_objects/_find?type=index-pattern | grep '"type":"index-pattern"'
 +Удалить какой-то можно так:
 +  kubectl exec -it -n elk elk-openresty-oidc-559f46d69d-shbwg -- curl -X DELETE -H 'kbn-xsrf: true' -H 'Authorization: Basic dXN....o' http://elk-kb-http:5601/api/saved_objects/index-pattern/vrm
 +
 +
 +
  
 ====== Logstash ====== ====== Logstash ======
  • devops/deploy_elk_using_helm.txt
  • Last modified: 2021/10/24 12:06
  • by admin