Skip to content

Instantly share code, notes, and snippets.

Avatar

Larry Gregory legrego

View GitHub Profile
@nyurik
nyurik / kibana_vega_question_guide.md
Last active Jun 3, 2020
How to submit Kibana Vega question
View kibana_vega_question_guide.md

How to submit Kibana Vega question

It is usually very difficult to debug Vega questions without having your data. To make it easier, please follow these steps to include data with your graph when posting:

  • Reduce your data query to the smallest possible dataset, e.g. set the time range to 15 minutes. It will work as long as it is not empty and represents your data well enough.
  • Open Browser Debugger (for Chrome, right click and click Inspect)
  • Switch to the Console tab
  • Copy the right command, paste it in the console at the > symbol and hit enter (check the schema in your graph to see if you use Vega or Vega-Lite)
@anis-campos
anis-campos / cross-compile_filebeat_arm.sh
Last active Dec 15, 2018
Cross-compile Elastic Filebeat for ARM with docker. Works Raspberry Pi 2
View cross-compile_filebeat_arm.sh
#----- Create a Docker for cross-compilation -----#
mkdir build && cd $_
docker run -it --rm -v `pwd`:/build golang:1.8.3 /bin/bash
#----- Inside docker -----#
go get github.com/elastic/beats
cd /go/src/github.com/elastic/beats/filebeat/
git checkout v5.6.3
GOARCH=arm go build
cp filebeat /build
exit
@DSpeckhals
DSpeckhals / install-nginx-1.17.4.sh
Last active Apr 18, 2020 — forked from wouterds/install-nginx-1.9.9.sh
Install nginx-1.17.4 with OpenSSL on Debian (including Raspbian)
View install-nginx-1.17.4.sh
#!/usr/bin/env bash
# Run as root or with sudo
# Make script exit if a simple command fails and
# Make script print commands being executed
set -e -x
# Set names of latest versions of each package
export VERSION_PCRE=pcre-8.43
export VERSION_ZLIB=zlib-1.2.11