Hi,
I have following document Ingesting into Elasticsearch using the logstash
_source": {
"server_name": "abc",
"server_ip": "0.0.0.0",
"server_location: "us"
"type" : "laptop"
}
I am looking to use logstash to convert the document fields into json object similar to following output for all the fields related to server . I would appreciate if someone can please point the right direction to find the right solution
_source": {
"server {
"name" : "abc",
"ip": "0.0.0.0",
"location": "us"
}
type: laptop