Suvigya
8 years agoNew Contributor
Logs Public API
Hello Folks,
I found a strange behavior of public API for log extraction. Previously, we created our pipeline to handle and extract the error message by using the index ‘0’ of entities. But in recent past, we noticed that the relevant error message is coming on the last index of the REST call to the API. It’s like it worked as queue for collecting the errors before and now it is working as stacks.
Because of this observation and a possible uncertainty, we had to come with a logic to extract error message based on least timestamp in the entities array. Can someone confirm such observation and as well state that it will work as queue or stack or my logic is undeniable? (I, Robot movie dialogue of WIKI 😀 )
Thanks,
Suvigya.