sm-biz / paloalto-elasticstack-viz

PANW Firewall Visualisations using Elastic Stack
90 stars 39 forks source link

Curl Put error / question #3

Closed js521458741 closed 6 years ago

js521458741 commented 6 years ago

Thank you for your project. I appreciate your efforts and was wondering if anyone else reported not being able to get past the imports of the traffic and threat (see below)? Thanks in advance.

root@XXXXXXX:~# sudo curl -XPUT http://localhost:9200/_template/panos-traffic?pretty -H 'Content-Type: application/json' -d @traffic_template_mapping-v1.json

{ "error" : { "root_cause" : [ { "type" : "mapper_parsing_exception", "reason" : "No handler for type [text] declared on field [type]" } ], "type" : "mapper_parsing_exception", "reason" : "Failed to parse mapping [default]: No handler for type [text] declared on field [type]", "caused_by" : { "type" : "mapper_parsing_exception", "reason" : "No handler for type [text] declared on field [type]" } }, "status" : 400 } root@XXXXXXXX:~# curl -XPUT http://localhost:9200/_template/panos-threat?pretty -H 'Content-Type: application/json' -d @threat_template_mapping-v1.json

{ "error" : { "root_cause" : [ { "type" : "mapper_parsing_exception", "reason" : "No handler for type [text] declared on field [Miscellaneous]" } ], "type" : "mapper_parsing_exception", "reason" : "Failed to parse mapping [default]: No handler for type [text] declared on field [Miscellaneous]", "caused_by" : { "type" : "mapper_parsing_exception", "reason" : "No handler for type [text] declared on field [Miscellaneous]" } }, "status" : 400

js521458741 commented 6 years ago

Issue on 6.2 - Dropped down to 5.6.9 and worked fine.