Skip to content

Instantly share code, notes, and snippets.

@secabstraction
Last active February 16, 2016 17:16
Show Gist options
  • Save secabstraction/21031f0bf2ed6fa277e1 to your computer and use it in GitHub Desktop.
Save secabstraction/21031f0bf2ed6fa277e1 to your computer and use it in GitHub Desktop.
# Create a simple client via Elastic's Uri
$Client = New-ElasticClient -Node http://myelastic:9200
# Test connection
$Client.CatHealth()
# Stash
$Client.BulkAsync($AllTheThings)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment