Skip to content

Commit

Permalink
render kib (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
willemdh authored Jul 16, 2018
1 parent b9f982d commit 951dcb1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions FireMotD
Original file line number Diff line number Diff line change
Expand Up @@ -1707,6 +1707,15 @@ RenderLogstash () {
fi
}

RenderKibana () {
WriteLog Debug Info "Rendering Kibana"
KibanaVersion=$(jq -r ".Kibana.Version" $ExportFile)
if [[ ! -z $KibanaVersion ]] && [[ "$KibanaVersion" != "Unknown" ]] && [[ "$KibanaVersion" != "null" ]] ; then
PrintChar "$Char" 2 $CharColor
echo "${KeyColor} Kibana ${SeparatorColor}${Separator} ${ValueColor}Version: ${KibanaVersion}\n"
fi
}

GenerateLine () {
WriteLog Debug Info "Generating \"$Type\" with \"$Char\" in color \"$CharColor\""
PrintChar "$Char" $Length $CharColor
Expand Down

0 comments on commit 951dcb1

Please sign in to comment.