Skip to content

A SASjs streamable web app created as a utility for parsing Viya Log files (which arrive in JSON format)

Notifications You must be signed in to change notification settings

sasjs/viya-log-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viya Log Parser

This is a simple utility for parsing Viya Log files from JSON to plain text format. An online version of this is available here.

sas viya log parser

Fast Deploy

This app can be deployed as a streaming SAS app in two lines of code:

filename mc url "https://raw.githubusercontent.com/sasjs/viya-log-parser/master/runme.sas";
%inc mc;

You can now open it at YOURSERVER/SASJobExecution?_program=/Public/sasjs/viya-log-parser/clickme.

NOTE - in general, it is not recommended to execute code directly from the internet! Instead you can opt to navigate to the link below and copy paste it (after careful review) into your SAS Studio V session and run it directly.

https://raw.githubusercontent.com/sasjs/viya-log-parser/master/runme.sas

Building from Source

To deploy this app, first install the SASjs CLI - full instructions here.

Then run sasjs cb to prepare the deployment SAS script.

It's also possible to build without using the SAS Script by running sasjs add (to authenticate) and sasjs deploy to deploy directly to Viya usin the APIs. For this you will need the "deployServicePack":true attribute in your target.

Closing remarks

If you have any problems, please just raise an issue!

For more information on the SASjs framework, see https://sasjs.io

About

A SASjs streamable web app created as a utility for parsing Viya Log files (which arrive in JSON format)

Topics

Resources

Stars

Watchers

Forks

Languages