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
732 stars 200 forks source link

Cloudwatch logs - logstreams is not sorted by last event time #2737

Closed viralddave closed 2 years ago

viralddave commented 2 years ago

Describe the bug When you right click on any lambda and open the cloudwatch logs for that , it shows two columns one is log streams and another one is last Event Time - in older version it used to load Log Streams sorted by Last event time - so either give sorting option or make it default sorted by latest timestamp To reproduce

Expected behavior

Screenshots

Your Environment

Additional context

abrooksv commented 2 years ago

It looks like it is behaving that way for me: Screen Shot 2021-07-29 at 7 33 21 AM

The event time is a snapshot in time from when the table loaded, you need to hit refresh to resort it if there are newer events

Is this not what you are seeing?

viralddave commented 2 years ago

No I tried refresh but still no issue

Let me give you more details , am using latest Pycharm (professional edition - 2021.2 ) but still it is not Below is the screen shot

PyCharm 2021.2 (Professional Edition) Build #PY-212.4746.96, built on July 27, 2021 Licensed to --------------- Subscription is active until February 26, 2022. Runtime version: 11.0.11+9-b1504.13 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1981M Cores: 8 Non-Bundled Plugins: AWSCloudFormation (212.4746.57), com.intellij.plugin.adernov.powershell (2.0.7), com.jetbrains.intellij.datalore (0.1.13-212), aws.toolkit (1.29-212)

image

abrooksv commented 2 years ago

Interesting, seems we did not specify a custom String converter for that sorter so not 100% sure what it is sorting on. Will need to dig into it to validate

viralddave commented 2 years ago

Probably when will get this fix , any approximate time ?

viralddave commented 2 years ago

image

viralddave commented 2 years ago

This is still not fixed I updated plugin - did not work - I uninstalled and install it again did not work

PyCharm 2021.2 (Professional Edition) Build #PY-212.4746.96, built on July 27, 2021 Licensed to Viral Dave Subscription is active until February 26, 2022. Runtime version: 11.0.11+9-b1504.13 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1981M Cores: 8 Non-Bundled Plugins: AWSCloudFormation (212.4746.57), com.intellij.plugin.adernov.powershell (2.0.7), com.jetbrains.intellij.datalore (0.1.13-212), aws.toolkit (1.30-212)

abrooksv commented 2 years ago

Sorry for the inconveniences. We will take another look.

viralddave commented 2 years ago

no worries

abrooksv commented 2 years ago

I found the issue and fixed it. Screen Shot 2021-08-06 at 8 57 56 AM