Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-analytics
Commits
7436e2a6
Commit
7436e2a6
authored
3 years ago
by
Darshan M N
Browse files
Options
Download
Patches
Plain Diff
Adding visualizations for SMF DashboardS
parent
7bb90598
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/resources/schema/SMF_ChartApiConfig.json
+30
-1
src/main/resources/schema/SMF_ChartApiConfig.json
src/main/resources/schema/SMF_MasterDashboardConfig.json
+22
-1
src/main/resources/schema/SMF_MasterDashboardConfig.json
with
52 additions
and
2 deletions
+52
-2
src/main/resources/schema/SMF_ChartApiConfig.json
+
30
−
1
View file @
7436e2a6
...
...
@@ -7,7 +7,7 @@
"requestQueryMap"
:
"{
\r\n
\"
ts
\"
:
\"
timestamp
\"
}"
,
"dateRefField"
:
"timestamp"
,
"indexName"
:
"fs-forms-data"
,
"esInstance"
:
"
QUADN
ARY"
,
"esInstance"
:
"
PRIM
ARY"
,
"aggrQuery"
:
"{
\"
aggs
\"
:{
\"
Application Status
\"
:{
\"
terms
\"
:{
\"
field
\"
:
\"
status.keyword
\"
,
\"
size
\"
:10}}}}"
}
],
...
...
@@ -27,5 +27,34 @@
"alwaysView"
:
""
,
"insight"
:
{},
"_comment"
:
" "
},
"applicationSubmissionTrend"
:
{
"chartName"
:
"Application Submission Trend"
,
"queries"
:
[
{
"module"
:
"COMMON"
,
"requestQueryMap"
:
"{
\r\n
\"
ts
\"
:
\"
timestamp
\"
}"
,
"dateRefField"
:
"timestamp"
,
"indexName"
:
"fs-forms-data"
,
"esInstance"
:
"PRIMARY"
,
"aggrQuery"
:
"{
\"
aggs
\"
:{
\"
Application Submission Trend
\"
:{
\"
date_histogram
\"
:{
\"
field
\"
:
\"
timestamp
\"
,
\"
interval
\"
:
\"
week
\"
},
\"
aggs
\"
:{
\"
count
\"
:{
\"
cardinality
\"
:{
\"
field
\"
:
\"
_id
\"
}}}}}}"
}
],
"chartType"
:
"line"
,
"resultType"
:
"value"
,
"valueType"
:
"number"
,
"isDecimal"
:
true
,
"action"
:
""
,
"filter"
:
""
,
"drillChart"
:
"none"
,
"documentType"
:
"_doc"
,
"aggregationPaths"
:
[
"Application Submission Trend"
],
"isCumulative"
:
false
,
"interval"
:
"day"
,
"alwaysView"
:
""
,
"insight"
:
{},
"_comment"
:
" "
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/resources/schema/SMF_MasterDashboardConfig.json
+
22
−
1
View file @
7436e2a6
...
...
@@ -27,7 +27,7 @@
"vizArray"
:
[
{
"id"
:
111
,
"name"
:
"
Overview
"
,
"name"
:
"
Application Status Count
"
,
"dimensions"
:
{
"height"
:
250
,
"width"
:
4
...
...
@@ -45,6 +45,27 @@
"headers"
:
[]
}
]
},
{
"id"
:
111
,
"name"
:
"Application Submission Trend"
,
"dimensions"
:
{
"height"
:
250
,
"width"
:
4
},
"vizType"
:
"bar"
,
"noUnit"
:
true
,
"isCollapsible"
:
false
,
"charts"
:
[
{
"id"
:
"applicationSubmissionTrend"
,
"name"
:
"Application Submission Trend"
,
"code"
:
""
,
"chartType"
:
"line"
,
"filter"
:
""
,
"headers"
:
[]
}
]
}
]
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets