Kubernetes Logs Support


Author
Message
androidotai
androidotai
New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)
Group: Forum Members
Posts: 3, Visits: 3
Dear LogViewPlus team,

I am really happy to use your product.

How about if you can add new future for reading logs from Kubernetes?

Thanks.
androidotai
androidotai
New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)
Group: Forum Members
Posts: 3, Visits: 3
My suggestion is either use 'kubectl cp' command to copy log files from pods to host system, or 'kubectl logs' to directly read logs from pods.
LogViewPlus Support
LogViewPlus Support
Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)
Group: Moderators
Posts: 1.1K, Visits: 3.7K
Hi,

Thanks for the feedback. 

I am not very familiar with Kubernetes.  Is the issue accessing log files inside of Kubernetes or parsing the log files generated?  Can you give me more detail on what you are trying to do?

Thanks,

Toby

LogViewPlus Support
LogViewPlus Support
Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)
Group: Moderators
Posts: 1.1K, Visits: 3.7K
Just saw your update.

Are you familiar with custom commands?  Would this help you solve the problem?
https://www.logviewplus.com/docs/open_commands.html
https://www.logviewplus.com/docs/open_settings_2.html
androidotai
androidotai
New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)New Member (19 reputation)
Group: Forum Members
Posts: 3, Visits: 3
Already tried and it help.

But everything still in manual. Cuz I use 'kubectl logs' command to get the logs and store it to file. Then, manually import the file to workspace. 
I am looking for a way to auto import the file to workspace. And also if possible to directly tail the log from 'kubectl logs -f' command.

Will explore future on this.

It will be great if it can integrate with kubernetes.

Anyway, thanks yall.
LogViewPlus Support
LogViewPlus Support
Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)
Group: Moderators
Posts: 1.1K, Visits: 3.7K
I see what you mean.  I agree that we can do better here.

I think we need a new command type that is very similar to the 'Open' command, but does not require a file to trigger the action.  The 'Open' command should probably be renamed to something like 'Transform' or 'Preprocess'.  

The new command type should integrate with the file system browser rather than the core application.  Maybe a 'Commands' folder under 'Quick Access' next to 'History'?

That's interesting and I can see where it would be powerful in a number of different use cases (not just Kubernetes).

Let me have a think about this and get back to you.  Hopefully, I can have something for you to test in a few weeks.

Thanks for the suggestion!

Toby
LogViewPlus Support
LogViewPlus Support
Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)
Group: Moderators
Posts: 1.1K, Visits: 3.7K
Hi,

Just a quick update to let you know that we have modified how commands work in the latest BETA release - v2.5.7.

In the latest version, External commands are capable of opening a file from the temp or target directory after the external command has completed execution.  The target directory will either be the Execution Directory (if provided) or the path to the target executable.

We also prompt users by default before executing commands. 

Putting these two changes together means you can modify your command just before execution to change details of the target file.  You will also be able to open a file without the need to create a predefined workspace.  I think these changes should handle the scenario you outlined above in a much cleaner way.  Please do let me know if you have any thoughts or suggestions.

Thanks again,

Toby  
dshunter
dshunter
New Member (14 reputation)New Member (14 reputation)New Member (14 reputation)New Member (14 reputation)New Member (14 reputation)New Member (14 reputation)New Member (14 reputation)New Member (14 reputation)New Member (14 reputation)
Group: Forum Members
Posts: 3, Visits: 9
Hi,
This is an old thread, but wondering if you have any plans for proper Kubernetes support.
The problem is we are moving to it, and right now VSCode is our best (but not very good) option for opening logs.
This was the main push back I had when trying to get our company to purchase some licenses for LogViewPlus.

LogViewPlus Support
LogViewPlus Support
Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)
Group: Moderators
Posts: 1.1K, Visits: 3.7K
Hi Hunter,

Thanks for chasing this one.  Full Kubernetes support is something that we would really like to add.  

I have just done some research to try to see what's involved.  If I am understanding correctly, I think getting the logs will be relatively straight forward for us.  I can see a pretty solid Apache-licensed client library.  It looks like we could bundle that into a new Add-On

So the code should be easy.  The problem will be setting up the Kubernetes cluster for testing.  Between learning the system and setting up the environment, I am thinking there is probably a few weeks work here.  Maybe I am wrong?

If we could crack the testing issue, we could probably turn this around quick.  As it stands, it will be delayed until our other high-priority tasks are complete.  We are focused on reporting at the moment, so this may have to wait until next year.

Thanks for the suggestion,

Toby


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Login

Explore
Messages
Mentions
Search