Is there anyway can we show all the currently logged in users in the interface
Discussion posts and replies are publicly visible
There are 2 Functions which are available like queryappianlogs() or readlog() which can help you get the data into the interface and can show the data in the screen.
Alternatively, you can write a plugin which does the same thing as per your specification.
Interesting. I couldn't find any of these function.
https://community.appian.com/b/appmarket/posts/log-reader# may be we can try this.