Defining columns
One of the primary features in Logdy is that you can dynamically define logic for parsing the logs and use that to file the specific column values.
Basic settings
Auto generated columns
Most of the time, you will be dealing with flat JSON objects that are very well described (property names). You have an option to generate columns based on the properties in the JSON content. That means with a click of a button, you are able to populate table with columns, then review and modify them. It's much faster than adding columns from scratch and will get you going in few seconds.
Column settings
Name
The name of the column that will be used in the table header
Column hidden
Whether to display the column in the table. If the column is hidden, it will still be visible in the log drawer.
Column width
Specifies the width of the column in the main table
Value selection
A piece of TypeScript code responsible for providing a value to display in a table cell and in the log drawer. This code can also produce Facet values.
(line: Message): CellHandler => {
return { text: '-' }
}
The above code should consist of a single anonymous function that accepts line
of type Message
and return a CellHandler
structure. The line
argument represents a single line from the stream of logs. Check Code reference chapter for more info.
TIP
You can use additional embedded libraries, go to Code reference chapter to learn more
Log drawer
Clicking on a particular row will reveal a drawer containing all of the table column values as well as the hidden fields. JSON values are automatically formatted and highlighted.