Skip to content

Instantly share code, notes, and snippets.

Avatar
🏚️
HOME WORK

Luiz Eduardo isweluiz

🏚️
HOME WORK
View GitHub Profile
@isweluiz
isweluiz / curator_cluster_config.yml
Created Oct 22, 2019
Configuration Curator - cluster SSL
View curator_cluster_config.yml
---
client:
hosts:
- "es_coordinating_01.singhaiuklimited.com"
port: 9200
url_prefix:
use_ssl: True
# The certificate file is the CA certificate used to sign all ES node certificates.
# Use same CA certificate to generate and sign the certificate running curator (specified in properties client_cert and client_key)
certificate: '/work/elk/elasticsearch-6.3.2/config/x-pack/certificate-bundle/ca/ca.crt'
@isweluiz
isweluiz / gist:8a9914d129ea3d87f0f4a39b2bec5fa6
Created Oct 9, 2019 — forked from jhmartin/gist:c09e450853e273ee88f2
Multiple Elasticsearch outputs in logstash
View gist:8a9914d129ea3d87f0f4a39b2bec5fa6
#http://pastebin.com/xGt6vv9R from yardenbar
output {
if [type] == "postfix" {
elasticsearch {
host => [ "ES_HOSTNAME" ]
protocol => "transport"
cluster => "elasticsearch"
index => "postfix-%{+YYYY.MM.dd}"
manage_template => true
template_overwrite => true
View gist:bd5331325b53d7cab955b19f179350fc
Best UNIX Shell tools
These are a list of usages of shell commands I can't live without on UNIX-based systems.
Install
Mac OS X
Using Homebrew (yes, I am opinionated) you can install the following tools with the following packages:
brew install proctools # to install pgrep, pkill, etc.
brew install pstree # to be able to use pstree
brew install vnstat # to be able to use vnstat
@isweluiz
isweluiz / git.md
Created Jun 7, 2018 — forked from leocomelli/git.md
Lista de comandos úteis do GIT
View git.md

#GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda