Hello All,
So…we use the REST API extensively, and I’m hung up on the stacked_chart creation.
Here’s the JSON string we are sending at the REST API to make a 3 tiered bar graph
{
“cache_time”: 10,
“description”: “Write/Change/Add Timeline”,
“type”: “STACKED_CHART”,
“config”: {
“interval”: “hour”,
“timerange”: {
“type”: “relative”,
“range”: 86400
},
“renderer”: “bar”,
“interpolation”: “linear”,
“series”: [
{
“query”: “(EventID:4663 AND AccessMask:0x10000) OR (EventID:4659 AND (AccessMask:0x10080 OR AccessMask:0x0)) OR (EventID:4663 AND (AccessMask:0x10000 OR AccessMask:0x2)) AND NOT SubjectUserName:/.*/",
"field": "AccessMask",
"statistical_function": "count"
},
{
"query": "(EventID:4663 AND AccessMask:0x10000) OR (EventID:4659 AND (AccessMask:0x10080 OR AccessMask:0x0)) AND NOT SubjectUserName:/.*/”,
“field”: “AccessMask”,
“statistical_function”: “count”
},
{
“query”: “EventID:4663 AND AccessMask:0x4”,
“field”: “AccessMask”,
“statistical_function”: “count”
}
]
}
}
The issue is that the widget comes up with an N/A and when I look into it’s details, it looks like this:
What am I missing here?
All insight is appreciated
TP