How I should proceed to index JSON documents from Lighthouse into Elasticsearch?
For example, when I try to index this
via
curl -XPOST -H "Content-Type: application/json" 'http://myhost.com:9200/lighthouse/measurement' -d @index.report.json
I'm getting:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [audits.network-requests.details.items.text] of different type, current_type [long], merged_type [text]"}],"type":"illegal_argument_exception","reason":"mapper [audits.network-requests.details.items.text] of different type, current_type [long], merged_type [text]"},"status":400}