Widgets

Widgets
Widgets

Widget configuration - used to capture configuration of the chart on the explore logs UI, and to provide defaults when a query is added to a dashboard.

JSON Example
{
    "widget": {
        "name": "test_widget",
        "widgetType": "CHART",
        "analysisFunctions": null,
        "visualization": {
            "type": "AREA",
            "options": {
                "logaxis": "false",
                "piestyle": "normal",
                "pielabelstyle": "legend",
                "piepercentage": "false"
            }
        },
        "filter": null
    }
}
string
name
Optional

Widget name associated with the query

string
widgetType
Optional

Widget type, which includes: CHART, LIST, FIELD_TABLE, EVENT_TYPE, EVENT_TREND, ALERT

Possible values are : CHART, LIST, FIELD_TABLE, EVENT_TYPE, EVENT_TREND, ALERT, API_RESPONSE, FAV_DASHBOARD, FAV_QUERY, SYSTEM_ALERT, LOG_STATISTICS,
analysisFunctions
Optional

A list of analysis functions

visualization
Optional

visualization

filter
Optional

filter