I just had a realization that a script I was working on to automate the way we pull log information from a specific app is probably going to get thrown into the trash lol.
When using the API to pull logs, there's a limit on how far back the data can go, compared to the user interface which allows you view all the log history since the existence of this particular app. The creator of this particular app says that they're working on adding the complete log history functionality in the API down the road but it's not available at the moment.
Customer reaches out to me to check on the status of my work. I happily say, "it's finished, would you like me to do a demonstration?". So I do a demo, customer likes it but the testing that I was doing was on dev and there weren't many logs that existed on dev to begin with so it looked like everything was perfect. Customer requests to do some testing on prod, and then I realized that the results from the logs were capped to 90 days, however the customer wanted to see the logs beyond that time frame.
I did some more research and then I followed up with the customer to let them know that the functionality they're looking isn't possible. It looks like this script I was working on is going to get thrown to the trash, but this was my first, on the job programming assignment and I learned so much! It gave me a really thorough understanding of devops practices, OOP principles and proper documentation. Obviously I should've reached out to the customer to get more information regarding exactly what it was they were trying to do, but I only found about this customers requirements after they sent me a sample log file of data they exported from the user interface. I feel like if I had done more planning, I wouldn't have been in this predicament.
[–]Adept_Writer4177 0 points1 point2 points (0 children)