I have a csv file which has a list of 600 numbers in the following format
442030580306
442030580307
I need it to output the file in one long file like the below from reading the numbers above
"new-request-uri-user-part:442030580306": {
"query_string": {
"query": "new-request-uri-user-part:442030580306",
"analyze_wildcard": true
}
},
"new-request-uri-user-part:442030580307": {
"query_string": {
"query": "new-request-uri-user-part:442030580307",
"analyze_wildcard": true
}
},
Any ideas how best to achieve this?