0
A
回答
0
更新您的vuln_ip.json
這樣:
{
"mappings": {
"vulnerabilities": {
"properties": {
"address": {
"type": "ip"
},
"cpes": {
"type": "text"
},
"port": {
"type": "nested",
"properties": {
"portid": {
"type": "integer"
},
"protocol": {
"type": "text"
},
"service": {
"type": "nested",
"properties": {
"extrainfo": {
"type": "text"
},
"name": {
"type": "text"
},
"ostype": {
"type": "text"
},
"product": {
"type": "text"
},
"version": {
"type": "text"
}
}
},
"state": {
"type": "text"
}
}
},
"score": {
"type": "text"
}
}
}
}
}
修改您的curl命令這個curl -XPUT 'localhost:9200/vulnerable/' -d @vuln_ip.json
。
相關問題
- 1. ElasticSearch MetricBeat映射問題
- 2. elasticsearch中的映射問題2.3.3
- 3. elasticsearch映射沒有JSON對象錯誤
- 4. Elasticsearch動態或強制映射錯誤
- 5. CF9 ORM映射問題DB錯誤
- 6. ElasticSearch映射Charfilter
- 7. Elasticsearch映射
- 8. ElasticSearch geo_shape映射
- 9. 映射在elasticsearch
- 10. 映射問題
- 11. 錯誤映射
- 12. Elasticsearch Logstash Filebeat映射
- 13. 更改elasticsearch映射
- 14. 更新ElasticSearch映射
- 15. NHibernate映射問題
- 16. JsonModel映射問題
- 17. NHibernate映射問題
- 18. WSO2映射問題
- 19. NHibernate映射問題
- 20. SQL映射問題
- 21. 問題映射C:\
- 22. EF映射問題
- 23. NHibernate映射問題
- 24. OnetoOne映射問題
- 25. BizTalk映射問題
- 26. 表映射問題
- 27. NHiberate映射問題
- 28. NetLogo映射問題
- 29. AutoMapper映射問題?
- 30. 春映射問題
這是一個類似於https://stackoverflow.com/questions/39288997/elasticsearch-root-mapping-definition-has-unsupported-parameters-index-not-a的問題嗎? –