Thank you for your response. I tried this also. I manually created the mapping as
{
"settings": {
"index": {
"analysis": {
"char_filter": {
"dot_pattern": {
"type": "pattern_replace",
"pattern": "\.",
"replacement": " "
}
},
"analyzer": {
"dot_analyzer": {
"tokenizer": "standard",
"char_filter": [
"dot_pattern"
]
}
}
}
}
},
"mappings": {
"employees": {
"properties": {
"index_id": {
"type": "string",
"_index": {
"enabled": false
},
"store": true
},
"report_id": {
"type": "integer",
"index": "not_analyzed",
"store": true
},
"title": {
"type": "string",
"index": "analyzed",
"store": true
},
"Comment": {
"type": "string",
"index": "analyzed",
"store": true
},
"Author": {
"type": "string",
"index": "analyzed",
"store": true,
"analyzer": "dot_analyzer"
},
"sqlDate": {
"type": "date",
"index": "not_analyzed",
"store": true
},
"category": {
"type": "string",
"index": "analyzed",
"store": true
},
"report_type": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"report_subtype": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"Active": {
"type": "boolean",
"index": "not_analyzed",
"store": true
},
"InactiveBy": {
"type": "string",
"index": "analyzed",
"store": true,
"analyzer": "dot_analyzer"
},
"InactiveDate": {
"type": "date",
"index": "not_analyzed",
"store": true
}
}
}
}
}
However, Logstash failed to import with 400 error. Do you have example about make this work (or steps you took)?
Thank you