Guest User

Untitled

a guest
Feb 18th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. tshark -r test_trace.pcap -T ek > test_trace.pcap.json
  2.  
  3. curl -s -H "Content-Type: application/x-ndjson" -XPOST "localhost:9200/foo/_bulk" --data-binary "@/Users/test-elastic/test_trace.pcap.json"
  4.  
  5. curl 'http://127.0.0.1:9200/foo/_search/?size=10&pretty=true'
  6.  
  7. {
  8. "error" : {
  9. "root_cause" : [
  10. {
  11. "type" : "index_not_found_exception",
  12. "reason" : "no such index",
  13. "resource.type" : "index_or_alias",
  14. "resource.id" : "foo",
  15. "index_uuid" : "_na_",
  16. "index" : "foo"
  17. }
  18. ],
  19. "type" : "index_not_found_exception",
  20. "reason" : "no such index",
  21. "resource.type" : "index_or_alias",
  22. "resource.id" : "foo",
  23. "index_uuid" : "_na_",
  24. "index" : "foo"
  25. },
  26. "status" : 404
  27. }
Add Comment
Please, Sign In to add comment