space_user:
run_as: [ '*' ]
cluster: [ 'all' ]
indices:
- names: [ '*' ]
privileges: [ 'read' ]
applications: ['kibana-.kibana']
privileges: ['space_all']
resources:
PUT test/_doc/1
{
"message" : "Port XX/XX flood control mc stop action"
}
PUT test/_doc/2
{
"message" : "Port XX/XX flood control mc start action"
}
Typing vagrant
from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
vagrant init
-- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.vagrant init <boxpath>
-- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example,vagrant init ubuntu/trusty64
.
vagrant up
-- starts vagrant environment (also provisions only on the FIRST vagrant up)
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
{"hostname":"soejima", "cards" : [{"id" : "1", "ifDescr" : "eth1" }, {"id" : "2" , "ifDescr" : "eth2"}, {"id" : "3", "ifDescr" : "eth3"}]} |
POST a/3
{"uid": 0, "value": 1}
POST a/3
{"uid": 1, "value": 1}
POST a/3
{"uid": 1, "value": 1}
POST a/3
{"uid": 2, "value": 10}
POST a/3
DELETE test4
PUT /test4
{
"mappings": {
"test": {
"properties": {
"name": {
"type": "text",
DELETE a2
PUT a2
{
"mappings": {
"a": {
"properties": {
"created": {
"type": "date"
delete t
PUT /t
{
"settings": {
"index": {
"analysis": {
"filter": {
"engram": {
"type": "edgeNGram",
# note that elasticsearch/config/test.txt should exist
PUT /test
{
"settings": {
"analysis": {
"filter": {
"my_synonym_filter": {
"type": "synonym",
GET /hotel/_search
{
"query": {
"multi_match" : {
"query": "tofu ramen Yakitori",
"type": "best_fields",
"fields": [ "dinner_menu", "lunch_menu" ],
"tie_breaker": 0.3,
"operator": "and"