Serilog GUI for desktop - winforms

Serilog is a logging library that has Sinks (adapters) to many log viewing/analysis services (like Glimpse or Loggly). That is cool but all of them require browser to see the logs.
Is there a ready GUI control for desktop applications (using winforms, WPF, etc..) for log entries that works with serilog?
P.S. We can take IObservable serilog Sink and create our own "LogGrid" but we would prefer to not to reinvent a bicycle.

It depends on where you log the messages from Serilog. You can log to numerous "sinks" so most GUI tools will depend on what sink you are using. The list of provided sinks for Serilog is here: https://github.com/serilog/serilog/wiki/Provided-Sinks
Some options include:
Log Parser
If you are using some file-based sinks, then you can use the Microsoft Log Parser available here: https://www.microsoft.com/en-us/download/details.aspx?id=24659
From the site:
Log Parser 2.2 is a powerful, versatile tool that provides universal
query access to text-based data such as log files, XML files and CSV
files, as well as key data sources on the Windows operating system
such as the Event Log, the Registry, the file system, and Active
Directory.
Log Parser Lizard GUI
If you want a shiny UI to search the log files using log parser, check out Log Parser Lizard GUI here: http://lizard-labs.com/log_parser_lizard.aspx
From the site:
Log Parser Lizard is a GUI for Microsoft Logparser, definitely the
best one available on the market today. Log Parser is a very powerful
and versatile query software tool that provides universal query access
(using SQL) to text-based data, such as log files, XML files, and
TSV/CSV text files, as well as key data sources on the Microsoft
Windows operating system, such as the Windows Event Log, IIS log, the
registry, the File System, the Active Directory services and much
more.
Seq
This does NOT meet your "non-browser based UI" requirement, however Seq does a great job of providing a web-based interface to search and analyze logs with built-in support for Serilog. It is available here: https://getseq.net/
From the site:
Seq is the easiest way for .NET developers to capture, search and
integrate structured log events. Compared with traditional plain-text
logs, structured logs cut through the complexity of distributed and
asynchronous applications.

Have a look at https://github.com/RolandPheasant/TailBlazer to see how Roland did it.

Related

Adobe Experience Manager WorkBench Check out/in Issue

Shortly I ve Windows Server 2012 R2, AEM Forms(6.2), SQLServer(2014) and Workbench(6.2) in same server. At first when i install and configure all of them, i can check out or in my applications from Workbench succesfully. However After my software team executes some scripts at Database, we can not check in/out from workbench. The worst thing when i click check out, workbench gives any error. any log. on event log or server application. It gives nothing and don't do my transaction. I saw at forums some people have same issue but nobody writes solution.
Please if any one knows the solution, share with us. What's wrong with my workbench? what to do fix this issue?
The query that your software team ran turns off security on every single LiveCycle service and makes them run as the system user. This includes the services used by Workbench and is very bad. Some of the services rely on knowing who is logged in to operate correctly. In particular, how can LiveCycle know who has checked in/out a resource if the service always runs as system?
Your best bet is to restore the LiveCycle database - or at least the tb_sc_service_configuration table to be where it was before you ran the script.
If you need to remove security on individual services, you should do it through the admin console, but only do it for your processes. Never do it for systems services unless the Adobe documentation says it is OK.
As JeremyP pointed out, modifying the Adobe database directly is a bad idea. The database should be treated as a black box that is only manipulated by Adobe code (either by doing things in the Adobe tools or making calls to Adobe APIs).
You can either make security changes manually through the adminui (as he indicates, which is the most common way of doing it) or programatically using the Adobe client APIs. See the following links for sample code that uses the APIs:
Removing Security - http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8-7f35.html
Setting the runAs user - http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS624e3cba99b79e12e69a9941333732bac8-7f38.html
My company, 4Point, offers AEM Forms consulting services. We have an in-house Apache Ant library that wraps the code above to automate this (and other) common tasks that are typically required when deploying (and redeploying) AEM Forms solutions. It can be included as part of a consulting engagement.

Flat file database for CD

I have a .csv file with about 5-8 columns and about 1mil. rows and I would like to have it stored in simple flat file database.
Overall this should be a standalone application (one file with *.exe, installable under Windows). The application would allow basic search on the 5-8 columns. There should be very simple user interface.
This application is to be written on CD and distributed to users so should be fairly simple to administer/use.
Questions:
1) Is there already some software that would allow me to build such a application?
2) If not which program would suit best to build such a application?
I would task a programmer to build such a application if I would have clue as to what program to use (finding programmer based on the best program you would recommend).
Again, very simple application, light weight with no additional unnecessary options, dependencies etc.
My Visual Database (http://myvisualdatabase.com/)
from site:
A simple development environment databases, without the help of
specialists and programming skills, you will create a Windows
application databases. It can be as simple telephone directory and
accounting system in your business.
The result of your work will be a Windows application that does not
require installation and third-party components and the ability to
work directly from USB Flash drive.
This software uses sqlite.
Here you can find example, how to import csv file
http://myvisualdatabase.com/forum/viewtopic.php?id=1448
also for import you can use SQLite Studio

Simple deployment from ClearCase on Unix

I have recently joined a team that has several applications that perform workload automation. They use ClearCase for version control but the development and test environments are (I surmise due to a lack of ClearCase expertise within the team) not checked out/deployed out of ClearCase but simply FTP-ed to respective Unix servers from Window. I said "simple deployment" because all the code is interpreted (Perl and shell) so no need to compile. Needless to say, many things are wrong with this approach, most specifically the lack of version management in these environments from the point of deployment onward.
So I would like to bind our deployments to the repository and start controlling changes but I am only a ClearCase novice. My specific question is: what is it that I deploy, a VIEW or a STREAM? I would say the latter cause views are user-specific while (according to my understanding) a stream is a project trunk off of each view is like a branch and views are integrated into their stream.
If anyone has any pointers on some useful yet succint and lightweight ClearCase tutorials for an "accidental" CM liason, please share.
Alternatively, if you think this task is suitable for Jenkins, despite being relatively simple (no build/compile involved) please chime in.
Thanks in advace
You would need to use the Jenkins ClearCase UCM plugin (in combination with Jenkins ClearCase plugin) in order to start jobs based on a ClearCase Stream
Jenkins will create an UCM snapshot view based on the stream you will specify in it.
See also, for more on the stream:
"Difference between branches and streams in ClearCase?"
"Integration stream vs integration view in ClearCase"

Talend Open-Studio Supported I/O Formats

I'm considering Talend's Open Studio for a Data Integration / ETL project, and I can't seem to find a list of formats for which it can input from or output to out of the box. For instance, I'm comparing it against Pentaho's Kettle, which I found supports File System I/O, MS Excel, Access, XML, JSON, SAP, various SQL databases, etc., out of the box. Where can I find similar information for Talend?
By "out of the box" I mean without having to code some Java plugin to do the conversion manually.
One way to look into this is to check out the Talend components reference guide from their download page: http://www.talend.com/download/data-integration (click on the User Manuals tab).
The Reference Guide PDF describes all components that come with Talend out of the box and will include all possible formats you can use.
Here is a list of all the Talend connectors, including the connection methods:
http://www.talendforge.org/components/
All of the formats that you mentioned are supported.

Silverlight OOTB Support for 'Save File' browser dialog

I am in the design stage of an application that must be both a standalone app & a web application (To save the costs of building 2 near identical applications twice). Basically I have opted to go for a silverlight OOTB application that will be installed on the standalone machines and they will write to a collection of files in the sandbox and occasionally talk to the server version. The same application (with a little configuration) will also operate on the webserver and store its data in a database.
I am however more of a WPF developer so I would like to cover some concerns I have before I go too far down this path...these are:
I hear you can pass a file out for the user to 'Save As' in their browser when using SL normally. Is there similar functionality with OOTB? Because I want to be able to save some of the local files to locations other than the sandbox (With user permission)?
Is is possible to configure OOTB to allow access to the filesystem outside of the sandbox?
Is there a way to programatically determine whether a silverlight application is running in OOTB mode (So I know what mode the application should be running in)?
Are there any major flaws in my ideas so far that would prevent this from being a possibility?
Silverlight 4 will provide support for out of browser trusted applications, which have more privileges that a normal sandboxed application but still not as much as a regular desktop application. Regarding file access, a trusted application will be able to access to some predefined folders such as MyDocuments, MyMusic, MyPictures, MyVideos, but not the entire filesystem. See here for details: http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-trusted-applications.aspx
As for how to know whether you are running out of browser or not, use Application.Current.RunningOffline.
Finally, I recommend you to take a look at PRISM. Among other things, it eases the task of sharing code between WPF and Silverlight, so you could consider developing a dual SL+WPF application.

Resources