Unable to Change/update field value


(Manya12) #1

Hi Team,
I want to update my field value i.e. content of my field message. Value of my field "message" is -
{"l":3000,"m":"{"message":{"data":[{"id":"9N-CANADA","startingPrice":{"amount":5658,"currencyCode":"USD","taxAmount":0},"title":"8-night Canada cruise","ship":{"startDate":"2018-09-03","endDate":"2018-09-10","id":"VC1809038N BARCELONA"}],"imageSrc":"http://10.3.100.55:8080/magnoliaPublic/dam/jcr:72215a3e-cbda-4826-99dc-c7a878427bde"}],"status":200,"statusText":"OK","headers":{"content-type":"application/json"},"config":{"transformRequest":{},"transformResponse":{},"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"headers":{"Accept":"application/json","Authorization":"bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21wYW55aWQiOiJiMzVhMzI1YS0wMzZhLTRhZDQtODgzNi02NDY5MjNlNjAxZGUiLCJzY29wZSI6WyJ0cnVzdCIsInJlYWQiLCJ3cml0ZSJdLCJleHAiOjE1MDUwNDg4NzYsImF1dGhvcml0aWVzIjpbIlJPTEVfVFJVU1RFRF9DTElFTlQiXSwianRpIjoiZjg5M2U4ZmQtZGExOC00NDQ5LWI5MjItODNjMzBlZmI0MmYyIiwiY2xpZW50X2lkIjoiNDllMTQ2NzEtMzJkMy00MWU4LWI1NzktZDc0N2I1NGZmZDIzIn0.CrAQGyh8ImZGlFro8eG16W33PhEW-ddB6d9ZcOj8HeW64VLwmHC7uNj-3V38FQauYTxW6mMLIm060nDY8WRpw9ZX7H3jmp82wlCKrsB_n8ZsSS18C6cOmOq3k1ZvOcKgEfPlaTzqB1ApwZgos2SpzqnwqjYzmjMkZPGWncIVitW-S3RKYueTcJgdG-J8BGyLrs3Wi-fuB8V7xkSGHPRVe2m2GqNaddjGQrgKRhCe_m1_NJca1qkHo3O1WmX6qAijSseZ-Ij88qFWiZBvdEbQP1ygagsoBnzllqJcYzsoK_V15qZwujzfnjv58UjNJwb1XH98m6uFBeLSlqNV8wag9w","Accept-Language":"en","Content-Type":"application/json;charset=utf-8","CorrelationId":"5005b37d-338d-4def-978d-85b6299447fa","Local-IP":"172.26.248.87"},"baseURL":"http://10.3.100.45:31021","method":"post","url":"http://10.3.100.45:31021/voyages","data":"{\"searchQualifier\":{\"sailingDateRange\":[{\"start\":\"2018-08-03\",\"end\":\"2018-10-15\"}],\"cabins\":[{\"guestCounts\":[{\"ageCategory\":\"Adult\",\"count\":2}]}]}}"},"request":{}},"messageDetail":{"messageCode":"5002","message":"common service response message","severity":"2"}}","n":"RW","t":1502880228610}
I want my authorization field to be null inside message.
How can i do it using logstash filters?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.