d3.js hello world block.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
output.file: | |
path: "chemin/vers/le/dossier/de/sortie" | |
filename: winlogbeat | |
rotate_every_kb: 10000 | |
number_of_files: 7 | |
codec.json: | |
pretty: false | |
output.file: | |
path: "chemin/vers/le/dossier/de/sortie" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]" | |
$headers.Add("Content-Type", "application/json") | |
$body = '{ "logger.logstash.inputs.jdbc" : "ERROR" }' | |
$url = 'http://localhost:9600/_node/logging?pretty' | |
$response = Invoke-RestMethod -Uri $url -Method 'PUT' -Headers $headers -Body $body |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("runing playlist converter api demo...."); | |
var name = "Super Playlist"; | |
var tracks = []; | |
tracks.push("Shape of You Ed Sheeran"); | |
tracks.push("One Dance Drake"); | |
let tracksJoined = tracks.join("\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TP SECU | |
Dans le fichier de configuration elasticsearch.yml | |
xpack.security.enabled: true | |
Relancer elasticsearch. | |
Se connecter a kibana: est-il accessible ? | |
Se connecter a elasticsearch sur le port 9200: est-il accessible ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST 'http://localhost:9200/cours/note' -d '{"nom": "Eric","ville":"Paris","latlon": "48.864716,2.349014","discipline":"Mathematiques","note":12}' | |
curl -X POST 'http://localhost:9200/cours/note' -d '{"nom": "Martin","ville":"Paris","latlon": "48.864716,2.349014","discipline":"Mathematiques","note":13}' | |
curl -X POST 'http://localhost:9200/cours/note' -d '{"nom": "Patrick","ville":"Paris","latlon": "48.864716,2.349014","discipline":"Mathematiques","note":9}' | |
curl -X POST 'http://localhost:9200/cours/note' -d '{"nom": "Sebastien","ville":"Paris","latlon": "48.864716,2.349014","discipline":"Mathematiques","note":12}' | |
curl -X POST 'http://localhost:9200/cours/note' -d '{"nom": "Stephane","ville":"Bordeaux","latlon": "44.836151,-0.580816","discipline":"Mathematiques","note":11}' | |
curl -X POST 'http://localhost:9200/cours/note' -d '{"nom": "Francois","ville":"Bordeaux","latlon": "44.836151,-0.580816","discipline":"Mathematiques","note":18}' | |
curl -X POST 'http://localhost:9200/cours/note' -d '{"nom": "S |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
tcp { | |
port => 242 | |
} | |
file { | |
type => "syslog" | |
path => [ "/var/log/*.log", "/var/log/messages", "/var/log/syslog" ] | |
start_position => "beginning" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.node { | |
fill: #000; | |
} | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source_lng | source_lat | target_lng | target_lat | |
---|---|---|---|---|
-99.5606025 | 41.068178502813595 | -106.503961875 | 33.051502817366334 | |
-99.5606025 | 41.068178502813595 | -97.27544625 | 34.29490081496779 | |
-99.5606025 | 41.068178502813595 | -92.793024375 | 34.837711658059135 | |
-99.5606025 | 41.068178502813595 | -100.3076728125 | 41.85852354782116 | |
-99.5606025 | 41.068178502813595 | -104.6143134375 | 43.18636214435451 | |
-99.5606025 | 41.068178502813595 | -106.152399375 | 45.57291634897 | |
-99.5606025 | 41.068178502813595 | -105.5811103125 | 42.3800618087319 | |
-99.5606025 | 41.068178502813595 | -74.610651328125 | 42.160561343227656 | |
-99.5606025 | 41.068178502813595 | -78.148248984375 | 40.20112201100485 |
d3.js hello world block.
NewerOlder