This file contains 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
# Create our mapping with a single attribute array: projects | |
PUT abac-ingest-node-test | |
{ | |
"mappings": { | |
"doc": { | |
"properties": { | |
"projects": { | |
"type": "keyword" | |
} | |
} |
This file contains 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
PUT my_index | |
{ | |
"mappings": { | |
"doc": { | |
"properties": { | |
"securityTags": { | |
"type": "keyword", | |
"fields": { | |
"length": { | |
"type": "token_count", |
This file contains 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
#!/bin/bash | |
# NOTE: This script has a dependency on python for parsing | |
ES_URL=http://localhost:9200 | |
ES_USER=elastic | |
ES_PASS=changeme | |
################## |
As configured in my dotfiles.
start new:
tmux
start new with session name: