To start Elasticsearch + Logstash + Kibana execute:
docker-compose up
The container images will be downloaded from docker hub at first run.
Next, import the log file data to logstash
| # original URL: https://www.symantec.com/connect/downloads/readynosleepexe-prevents-screensaver-and-pc-locking | |
| #AutoIt3Wrapper_icon=nosleep.ico | |
| Opt("TrayOnEventMode",1) | |
| Opt("TrayMenuMode",1) | |
| $AboutItem = TrayCreateItem("About") | |
| TrayItemSetOnEvent(-1,"ReadList") | |
| TrayCreateItem("") |
| #!/bin/bash | |
| # This script rotates the screen and touchscreen input 90 degrees each time it is called, | |
| # also disables the touchpad, and enables the virtual keyboard accordingly | |
| # by Ruben Barkow: https://gist.github.com/rubo77/daa262e0229f6e398766 | |
| #### configuration | |
| # find your Touchscreen and Touchpad device with `xinput` | |
| TouchscreenDevice='ELAN Touchscreen' | |
| TouchpadDevice='SynPS/2 Synaptics TouchPad' |
| #!/bin/bash | |
| # | |
| # rotate_desktop.sh | |
| # | |
| # Rotates modern Linux desktop screen and input devices to match. Handy for | |
| # convertible notebooks. Call this script from panel launchers, keyboard | |
| # shortcuts, or touch gesture bindings (xSwipe, touchegg, etc.). | |
| # | |
| # Using transformation matrix bits taken from: | |
| # https://wiki.ubuntu.com/X/InputCoordinateTransformation |
| user www-data; | |
| worker_processes 1; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 2048; | |
| multi_accept on; | |
| use epoll; | |
| } |
| package examples.database; | |
| import com.google.common.collect.Lists; | |
| import examples.database.dao.PeopleDAO; | |
| import examples.database.model.PeopleInfo; | |
| import org.apache.commons.lang.time.StopWatch; | |
| import org.apache.commons.logging.Log; | |
| import org.apache.commons.logging.LogFactory; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; |
| import akka.actor._ | |
| class EchoActor extends Actor { | |
| def receive = { | |
| case msg => println(s"${self.path.name} - New msg received: $msg") | |
| } | |
| } |
| curl -XDELETE 'localhost:9200/test' | |
| curl -XPUT 'localhost:9200/test' -d ' | |
| { | |
| "mappings" : { | |
| "_default_": { | |
| "properties" : { | |
| "name" : { "type" : "string" }, | |
| "age" : { "type" : "integer" }, |
| KEY=XXXXXXXXXXXX | |
| HOST="https://metrics.crisidev.org" | |
| mkdir -p dashboards && for dash in $(curl -k -H "Authorization: Bearer $KEY" $HOST/api/search\?query\=\& |tr ']' '\n' |cut -d "," -f 5 |grep slug |cut -d\" -f 4); do | |
| curl -k -H "Authorization: Bearer $KEY" $HOST/api/dashboards/db/$dash > dashboards/$dash.json | |
| done |