Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tshark -r test_trace.pcap -T ek > test_trace.pcap.json
- curl -s -H "Content-Type: application/x-ndjson" -XPOST "localhost:9200/foo/_bulk" --data-binary "@/Users/test-elastic/test_trace.pcap.json"
- curl 'http://127.0.0.1:9200/foo/_search/?size=10&pretty=true'
- {
- "error" : {
- "root_cause" : [
- {
- "type" : "index_not_found_exception",
- "reason" : "no such index",
- "resource.type" : "index_or_alias",
- "resource.id" : "foo",
- "index_uuid" : "_na_",
- "index" : "foo"
- }
- ],
- "type" : "index_not_found_exception",
- "reason" : "no such index",
- "resource.type" : "index_or_alias",
- "resource.id" : "foo",
- "index_uuid" : "_na_",
- "index" : "foo"
- },
- "status" : 404
- }
Add Comment
Please, Sign In to add comment