Log View Widget¶
Log View is a widget that presents your log data in a format similar to Common Log Format. In other terms, it has the look and feel of a console output. In addition, the Log View widget allows you to scroll through log events as it populates new lines in real-time.
Of course, the Log View widget will provide you a way to investigate your log events, to accomplish such actions as:
recording faults to diagnose and debug
identifying security breaches and other system and network misuses.
When you build aggregations in the Log View widget expect it to help you create highly customizable reports and infographics. Furthermore, you can add them to your dashboards. Also, you can save and retrieve them, in the event you need to review that data again. At any time, you can add new values, fields, and metrics to build reports that you need.
According to the section Export results as CSV, Graylog Open Source is limited to exports in CSV. However, three additional formats are available in Enterprise: JSON, Newline delimited JSON, and Plain Text form.
Log View Usage¶
To get familiar with Log View, perform the following actions.
Create a new Log View widget.
Expand your report with additional fields, in the widget.
Focus on the widget with an expanded view.
Export data from your widget.
Create a Log View Widget¶
The Log View Widget is located on the expandable bar, screen left.
To create your first widget:
Click the Create (+) button to extend the menu.
Select Log View to generate the widget in the main UI.
When the button generates a new widget,
message are the default
fields presented in plain text format.
Add New Fields to the Report¶
To build more informed reports, you might add a new field to the widget. For example, you may
need to associate activity between
company.org and an http response code.
Click the diagonal arrow icon on right side of a logline.
Review and select one or more options, e.g.
Alternately, you can add new fields via the chevron icon (mentioned in “Aggregation”).
Click Edit from the menu.
Locate FIELD SELECTION AND ORDER on the bottom left.
Click the dropdown arrow, or type in a value.
Click Add to include the field in your widget.
Press the Apply Changes button to save all your edits.
Focus on the Widget¶
When you return to the main Log View UI, identify the x-crossed arrow icon next to the other widget icons.
Click the icon to expand your widget to full view: