Here's the screen shot.
The index pattern (just the meta fields - note that the sub fields show properly):
And the relevant part of the mapping (sorry, the forum won't let me post non-image attachments) mapping:
indent preformatted text by 4 spaces {
"mapping": {
"doc": {
"dynamic_templates": [
{
"string_fields": {
"match": "*",
"match_mapping_type": "string",
"mapping": {
"doc_values": true,
"index": "true",
"type": "keyword"
}
}
}
],
"properties": {
"@timestamp": {
"type": "date"
},
"@version": {
"type": "integer"
},
"beat": {
"properties": {
"hostname": {
"type": "keyword"
},
"name": {
"type": "keyword"
},
"version": {
"type": "keyword"
}
}
},
"category": {
"type": "keyword"
},
"event": {
"dynamic": "true",
"properties": {
"hostname": {
"type": "keyword"
},
"id": {
"type": "keyword"
},
"level": {
"type": "keyword"
},
"message": {
"type": "keyword"
},
"pid": {
"type": "keyword"
},
"program": {
"type": "keyword"
},
"reason": {
"type": "keyword"
}
}
},
"fields": {
"properties": {
"group": {
"type": "keyword"
},
"host": {
"type": "keyword"
},
"json": {
"type": "boolean"
},
"name": {
"type": "keyword"
},
"tier": {
"type": "keyword"
},
"type": {
"type": "keyword"
}
}
},
"message": {
"type": "text"
},
"meta": {
"dynamic": "true",
"properties": {
"delay": {
"type": "integer"
},
"filter": {
"type": "keyword"
},
"filterhost": {
"type": "keyword"
},
"filtertime": {
"type": "long"
},
"input": {
"type": "keyword"
},
"queuehost": {
"type": "keyword"
},
"queuetime": {
"type": "long"
},
"relayhost": {
"type": "keyword"
},
"size": {
"type": "long"
},
"target": {
"properties": {
"index": {
"type": "keyword"
},
"topic": {
"type": "keyword"
}
}
},
"type": {
"type": "keyword"
}
}
},
"offset": {
"type": "long"
},
"session": {
"properties": {
"duration": {
"type": "keyword"
},
"input_bytes": {
"type": "keyword"
},
"output_bytes": {
"type": "keyword"
},
"start_time": {
"type": "keyword"
}
}
},
"source": {
"type": "keyword"
},
"tags": {
"type": "keyword"
},
"type": {
"type": "keyword"
},
"user": {
"properties": {
"sponsor": {
"type": "keyword"
},
"sponsor_profile": {
"type": "keyword"
}
}
},
"username": {
"type": "keyword"
}
}
}
}
}