{
    "metricType": "$.agent.type",
    "instance": "$.agent.name",
    "properties.entityName": "$.network[?(@.direction =~ /^.*inbound-.*$/i)].direction",
    "properties.entityType": "$.network[?(@.type == 'ipv6')].type",
    "processedTimestamp": "$.@timestamp",
    "metrics": "$.metricset",
    "type": "KafkaCollector-One",
    "properties.dataSource": "$.source.ip",
    "properties.deviceName": "$.newnetwork[?(@.direction =~ /^.*-outbound.*$/i)].direction",
    "timestamp": "$.@timestamp",
    "properties.deviceType": "$.newnetwork[?(@.type =~ /^.*ip.*$/i)].type",
    "tags": "$.tags"
}