Created
April 3, 2017 09:19
-
-
Save yoshikaw/713091783a225a64641bfd65401982cf to your computer and use it in GitHub Desktop.
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
curl -s 'localhost:9200/.kibana/_search' -d@- <<EOM | jq '.hits.hits[0]._source.panelsJSON | fromjson | .[].id' | |
{ | |
"query": { | |
"bool": { | |
"must": [ | |
{ | |
"match" : { | |
"_type" : "dashboard" | |
} | |
}, | |
{ | |
"match": { | |
"_id" : "" | |
} | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment