def elastic_mapping(cls): return BaseFact.make_mapping( {"mappings": { "properties": { "location": { "type": "keyword" } } }}, )
def elastic_mapping(cls): return BaseFact.make_mapping( {"mappings": { "properties": { "address": { "type": "ip" } } }}, )
def elastic_mapping(cls): return BaseFact.make_mapping( {'mappings': { 'properties': { 'address': { 'type': 'ip' } } }}, )
def elastic_mapping(cls): return BaseFact.make_mapping( {'mappings': { 'properties': { 'name': { 'type': 'keyword' } } }}, )
def elastic_mapping(cls): return BaseFact.make_mapping( { 'mappings': { 'properties': { 'port': { 'type': 'integer' }, 'proto': { 'type': 'keyword' }, }, }, }, )
def elastic_mapping(cls): return BaseFact.make_mapping( { 'mappings': { 'properties': { 'content': { 'type': 'text' }, 'id': { 'type': 'keyword' }, 'date': { 'type': 'text' }, 'rt': { 'type': 'boolean' }, }, }, }, )
def elastic_mapping(cls): return BaseFact.make_mapping( { "mappings": { "properties": { "content": { "type": "text" }, "id": { "type": "keyword" }, "date": { "type": "text" }, "rt": { "type": "boolean" }, }, }, }, )