aws / aws-toolkit-jetbrains

AWS Toolkit for JetBrains - a plugin for interacting with AWS from JetBrains IDEs
https://plugins.jetbrains.com/plugin/11349-aws-toolkit
Apache License 2.0
767 stars 224 forks source link

CloudWatch Logs - JSON parsing with key/value column view & filters #2090

Open cynicaljoy opened 4 years ago

cynicaljoy commented 4 years ago

Is your feature request related to a problem? Please describe. Usability

Describe the solution you'd like Update: See Treat As

Original: My CloudWatch Logs are pretty much all JSON, it would be great if the CloudWatch Logs view automatically parsed the contents of the message and displayed the results in columns for the top-level keys of the object.

Additionally, being able to apply filters to the view would be great. This would allow my team to individually filter logging to the modules they care about without having to modify feature flags that would affect the team.

Describe alternatives you've considered

Use the CLI to pipe logging to jq and filtering with that, but that is either in a Termianl window or outside of Jetbrains IDE all together

Additional context

abrooksv commented 4 years ago

JSON: Is this what you are imagining? https://github.com/aws/aws-toolkit-jetbrains/blob/master/designs/cloudWatch/cloudWatchIntegration.md#treat-as

Filtering: Can you provide some pseudo examples what you mean?

We are working on CloudWatch Insights integration that works well for JSON based logs. Have you ever looked into it?

cynicaljoy commented 4 years ago

That is exactly what I was imagining, I just searched "Issues" before opening this, didn't think to look through the repo itself 🤦

abrooksv commented 4 years ago

We can use this issue to track +1s for that part since it was never implemented

slaytr commented 3 years ago

I'd really like this in the toolkit