add_App_Linky

master
admingit 2 years ago
parent edcd7974b8
commit b9682f781f

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -0,0 +1,626 @@
/* How to use this file
Any values in application.css will override those from the default.css file. This file allows you to customize the look of your Splunk App. It does not let you change the overall layout. For the most part, use this to change background colors, buttons, navigation, menus, etc. You can change the color of the histogram bars, but the palette for other chart colors is not exposed to CSS yet.
A note on images:
Alpha channel PNG files are used for a variety of transparency effects (gradient, glass, shadows, etc.) These images will not work on IE6, so you should either provide an alternate image or override the image by using the "underscore" hack, i.e. _background-image:none. To ensure that IE6 does not render alpha channel PNG files, make sure that the override comes after the declaration that contains your PNG. Any image that starts with "overlay" is an alpha channel graphic. As well, the logo images that are PNG format are also alpha channel so you can use on whatever background you like. GIF formats are available and are set as transparent against black and white only.
A note on background positioning:
We use and image sprite (splIcons.gif) for most of the icons and arrows that appear in the UI. Background-position is used to set different colors. By default, this sprite has black, white, grey, green, and blue versions of arrows. If you want to change these colors, edit the local version of this file (inside this directory). Otherwise, you can choose a different color by adjusting the background position on the selected element.
*/
/* Basic Typography
---------------------------------*/
body, td {
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
color: #111;
}
input, textarea, select {
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
color: #333;
}
/* monospaced font */
.splFont-mono {
font-family: Consolas,Monaco,Courier New,monospace;
}
/* App header elements
---------------------------------*/
/* Application logo
height and width should be the same as your image. make sure to include some top and buttom margin in the padding.
Black logo, green >
background-image: url(appLogo_black.png);
Black logo, black >
background-image: url(appLogo_allblack.png);
White logo, green >
background-image: url(appLogo_white.png);
White logo, white >
background-image: url(appLogo_allwhite.png);
For IE6, use the following images. Note that if you make a background color other than black or white (or close to it) you will need to redo the transparent GIF matte.
White logo, green > for IE6, transparent against black
background-image: url(appLogo_white.gif);
Black logo, green > for IE6, transparent against white
background-image: url(appLogo_black.gif);
*/
.appLogo {
height: 43px;
width: 81px;
background-image: url(appLogo_white.png);
_background-image: url(appLogo_white.gif); /* for IE6 */
background-repeat: no-repeat;
}
/* the name of your app. line height can be adjusted to fix alignment issues w/ the logo. color is the color of the text. if your logo has the name in it, then you can set this to "display:none; */
.appHeaderWrapper h1 {
color:;
line-height: 43px;
}
/* background-color and/or image of your app */
.appHeaderWrapper {
background-color: #000;
background-image: url(overlay_togradient_large.png);
background-repeat: repeat-x;
background-position: top;
border-bottom-style: ;
border-bottom-width: ;
border-bottom-color: ;
}
/* color of top-right text */
.appHeaderWrapper {
color: ;
}
/* color of top-right links */
.appHeaderWrapper a {
color:;
}
/* app menu arrows */
.appHeaderWrapper .splIcon-triangle-3-s {
background-position: ;
}
/* loader background */
#loading {
background-color: ;
}
/* link colors
---------------------------------*/
a {
color: ;
}
a.disabled {
color: ;
}
/* nav bar and aux links
---------------------------------*/
/*
set an overlay effect for your navbar or leave blank for default
background-image: url(overlay_glass_28.png);
background-image: url(overlay_gloss_28.png);
background-image: url(overlay_gradient_28.png);
background-image: url(overlay_reversegradient_28.png);
background-image: url(overlay_reversegradient_light_28.png);
background-image: url(overlay_reversegradientridge_28.png);
background-image: url(overlay_softgradient_28.png);
background-image: url(overlay_white_28.png);
background-image: url(overlay_whiteridge_28.png);
*/
.splHeader-navigation {
background-image: ;
background-repeat: repeat-x;
_background-image: none;
}
/*--- the default state ---*/
ul.appBarNav li a, ul.appBarNav li a:active, ul.appBarNav li a:visited {
color: ;
}
/*--- the hover state ---*/
ul.appBarNav li.hasMenu a:hover, ul.appBarNav li a:hover {
color: ;
background-color: ;
background-image: url(overlay_white_28.png);
background-repeat: repeat-x;
_background-image: none; /* for IE6 */
}
/*--- the open state ---*/
ul.appBarNav li a.menuOpen {
color: ;
background-color: ;
background-image: url(overlay_white_28.png);
background-repeat: repeat-x;
_background-image: none; /* for IE6 */
}
/*--- link color ---*/
ul.appBarNav li.hasMenu a:hover, ul.appBarNav li a.menuOpen {
color: ;
}
/* to change arrows, see Menu section, below */
/* auxiliary text and links */
.AppBar .auxLinks a {
color: ;
}
.AppBar .auxLinks span {
color: ;
}
/* Menus
---------------------------------*/
/* primary menu */
.splMenu-primary ul {
background-color: ;
}
.splMenu-primary, .splMenu-primary a, .splMenu-primary a:visited, .splMenu-primary a:hover {
color: ;
}
.splMenu-primary .actionsMenuDivider {
}
.splMenu-primary li:hover {
background-color: ;
}
/* secondary menu, used for apps pulldown */
.splMenu-secondary ul {
background-color: ;
}
.splMenu-secondary, .splMenu-secondary a {
color: ;
}
.splMenu-secondary li.disabled a {
color: ;
}
.splMenu-secondary li:hover {
background-color: ;
}
.splMenu-secondary a:hover {
color: ;
}
/* actions menu open state */
.TitleBar div.menuOpen {
background-color: ;
color: ;
}
/*
Arrow color is changed by adjusting background position. use the following values for these colors:
grey: background-position: -7px -367px;
white: background-position: -27px -367px;
green: background-position: -47px -367px;
black: background-position: -67px -367px;
*/
/* nav arrow, default state */
ul.appBarNav li.hasMenu a span.splIcon-triangle-2-s {
}
/* hover state */
ul.appBarNav li.hasMenu a:hover span.splIcon-triangle-2-s {
}
/* open state */
ul.appBarNav li.hasMenu a.menuOpen span.splIcon-triangle-2-s {
}
/* actions menu open state */
.TitleBar div.menuOpen .splIcon-triangle-4-s {
}
/* background colors
---------------------------------*/
/* default page color */
body, .splBackground-default,
.graphArea, .resultsArea,
.reportSecondPanel, .reportThirdPanel,
.sidebarCollapsed,
.SearchBar .saTypeaheadWrapper,
.ui-datepicker-links,
.popupContent {
background-color: ;
}
/* primary background - applies to search controls and primary action panels */
.viewHeader, .mainSearchControls, .splSearchControls-inline,
.SearchBar .saHelpWrapper,
.popupContent {
background-color: ;
}
/* secondary background - sidebar, other panels */
.splBackground-secondary, .sidebarExpanded,
.fieldValuePopup p.reportLinks {
background-color: ;
}
/* Specific overrides */
.layoutCellInner .ResultsHeader .splHeader, .layoutCellInner .ResultsHeader .splHeader-secondary {
background: transparent none;
}
/* Specific overrides */
.popupFooter {
background-color: ;
}
/* dashboard background color */
body.splTemplate-dashboard {
background-color:;
}
/* dashboard containers */
.dashboardCell {
background-color: ;
background-image:url(overlay_topgradient.png);
background-repeat:repeat-x;
_background-image: none; /* for IE6 */
}
/* headers
---------------------------------*/
/* default header font color */
.splHeader-dashboard h2, .dashboardContent .ServerSideInclude h2, .dashboardContent .GenericHeader h3, .SearchBar .saRow h4 {
color: ;
}
/* primary header background color + overlay */
.splHeader-primary,
.TitleBar .splHeader,
.FieldPickerPopup .splHeader-primary {
background-color: ;
background-image:url(overlay_topgradient.png);
background-repeat:repeat-x;
_background-image: none;
}
/* secondary (i.e. sidebar) header background color + overlay */
.splHeader-secondary {
background-color:;
background-image:url(overlay_topgradient.png);
background-repeat:repeat-x;
_background-image: none;
}
/* headers w/o any overlay */
.FlashTimeline .splHeader-primary {
background-color:;
background-image: none;
}
/* borders
---------------------------------*/
/* ALL elements with a generic border attribute */
* {
border-color: #c3cbd4;
}
/* refactor to remove these in default.css since they have specific color declarations; should be same value as * elements, above */
.splMenu-primary ul,
.splMenu-secondary ul,
.Paginator a:hover {
border-color: ;
}
/* specific overrides */
.fieldValuePopup table tr.fieldNameHeaderRow th {
border-bottom:1px solid #c3cbd4;
}
/* horixontal rules in the sidebar */
.splDivider, .SuggestedFieldViewer .splBorder-n {
border-color: #c3cbd4;
}
/* search controls
---------------------------------*/
/* search button color; background-position of 0 0 is black, -40px 0 is white */
input.searchButton {
background-color: ;
background-position:-40px 0;
}
.SearchBar .assistantActivator {
background-color: ;
}
/* Flash timeline and charts
---------------------------------*/
/* All flash charts */
/*
background-color -> controls bgcolor
border-left-color -> controls foregroundColor
color -> controls fontColor
controls and and font color get screened via an alpha layer, so should probably be set to all black or white, depending on main background
*/
div.FlashChart {
background-color: ;
color: ;
border-left-color: ;
}
/* flash timeline specific */
/*
background-color -> controls bgcolor
border-left-color -> controls foregroundColor
color -> controls fontColor
border-right-color -> controls seriesColor
controls and and font color get screened via an alpha layer, so should probably be set to all black or white, depending on main background
*/
div.FlashTimeline {
background-color: ;
border-left-color: ;
color: ;
/* the color of the histogram bar. border-right-color = fill */
border-right-color: ;
}
/* popup bar chart; should be same color as flash timeline */
.splBarGraphBar {
background-color:;
}
/* buttons
---------------------------------*/
.splButton-primary {
background-color: ;
color: ;
}
.splButton-primary:hover {
background-color: ;
}
.splButton-secondary {
background-color:;
color: ;
}
.splButton-secondary:hover {
background-color: ;
}
/* form elements
_________________________________*/
fieldset legend {
color: ;
}
fieldset legend span {
color: ;
}
p.exampleText {
color: ;
}
p.fieldsetHelpText {
color: ;
}
/*-- disabled and read-only form elements --*/
label.disabledLabel {
color: ;
}
select option[disabled] {
color: ;
}
input.readonly {
background-color: ;
}
input[disabled]{
background-color: transparent;
border-color: transparent;
color: ;
}
/* Icons
---------------------------------*/
.splIcon-events-list, .splIcon-events-table, .splIcon-results-table {
/*--
master icon file. edit the local file and include this stanza if you want to override the defaults
background-image: url(splIcons.gif);
--*/
}
/*-- background color for icons --*/
.splIcon {
background-color: #999;
}
/*-- switchers that use icons --*/
.ButtonSwitcher ul li.selected, .ButtonSwitcher ul li.selected:hover,
.EventsViewer .default .actions,
div.FlashTimeline a.logScaleSelected span, div.FlashTimeline a.linScaleSelected span {
border: 1px solid #999;
background-color: #999;
}
/*-- paginator uses similar styles --*/
.Paginator .active a, .Paginator .active a:hover {
background-color: #999;
border-color: #999;
color: #fff;
}
/*-- arrow icons --*/
.splIcon-arrow-n, .splIcon-arrow-e, .splIcon-arrow-s, .splIcon-arrow-w {
background-color: #999;
}
/* triangles. keep this last to avoid getting background colors in the arrows! */
/* Note: to separate color from implementation, we're using a numbering system to differentiate colors.
1=grey,2=white,3=green,4=black,5=blue. If the icon sprite changes, the number mapping to colors would be different */
.splIcon-triangle,
.splIcon-triangle-1-n, .splIcon-triangle-1-s, .splIcon-triangle-1-e, .splIcon-triangle-1-w,
.splIcon-triangle-2-n, .splIcon-triangle-2-s, .splIcon-triangle-2-e, .splIcon-triangle-2-w,
.splIcon-triangle-3-n, .splIcon-triangle-3-s, .splIcon-triangle-3-e, .splIcon-triangle-3-w,
.splIcon-triangle-4-n, .splIcon-triangle-4-s, .splIcon-triangle-4-e, .splIcon-triangle-4-w,
.splIcon-triangle-5-n, .splIcon-triangle-5-s, .splIcon-triangle-5-e, .splIcon-triangle-5-w {
background-color:transparent;
}
.splIcon-triangle-large {
background-color:transparent;
}
/* tables
------------------------------*/
table.splTable {
border-color: ;
}
table.splTable th {
border-color: ;
}
table.splTable th a {
color: ;
}
table.splTable td {
border-color: ;
}
/* highlight colors
---------------------------------*/
/*-- event items --*/
.EventsViewer .default .a, .EventsViewer .default .h, .EventsViewer .default .fields .v:hover, .EventsViewer .default .fields .tg:hover {
background-color: ;
}
/*-- row highlighting for tables --*/
table.splTable tr:hover td {
background-color:;
}
.mouseoverHighlight, .mouseoverHightlight td {
background-color:;
}
/*-- matching search terms --*/
.SimpleEventsViewer span.searchTermHighlight {
background-color:;
}
/* MultiFieldViewer + SuggestedFieldViewer, i.e. highlight in the fields sidebar */
.MultiFieldViewer .fieldTabs .mouseoverHighlight,
.MultiFieldViewer .fieldTabs .selected,
.SuggestedFieldViewer .fieldTabs .mouseoverHighlight,
.SuggestedFieldViewer .fieldTabs .selected {
background-color:;
}
/* field picker popup hover row */
.FieldPickerPopup .fpFieldList tbody tr:hover, .FieldPickerPopup .fpFieldList tbody tr.mouseoverHighlight {
background-color: ;
}
/* date picker
---------------------------------*/
.ui-datepicker-current-day {
background-color: ;
}
.ui-datepicker-links {
background-image: url(overlay_gradient.png) repeat-x 0 0;
_background-image: none;
}
/* popups
---------------------------------*/
.splHeader-popup {
background-color: #000;
background-image: url(overlay_gradient.png);
background-repeat: repeat-x;
_background-image: none;
}
.splHeader-popup h2 {
color:#FFF;
}
.popupContainer {
border-color: ;
}
/* modal overlay */
.splOverlay, .splOverlay-white {
background-color: #000;
opacity:0.8;
filter:alpha(opacity=80);
}
.splOverlay-white {
background-color:#FFF;
}
/* Misc
---------------------------------*/
/* resize handle */
.ui-resizable-s {
background-color:#c3cbd4 !important;
}
/* loading image for jobs */
.JobStatus .output .running h2,
.JobStatus .output .runningReport h2,
.JobStatus .output .finalizing h2 {
/*
loader background must match the same color as the background of your output div. leave blank to use the default loader, or download a custom image from www.ajaxload.info, name it loader.gif and include this line:
background-image: url(loader.gif);
*/
}
/* remove the gradient at top of event and results area */
.EventsViewer, .SimpleResultsTableResults {
background-image: none;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -0,0 +1,13 @@
# Splunk app configuration file
[install]
is_configured = 0
[ui]
is_visible = 1
label = Linky
[launcher]
author = Jocelyn Pamphile
description =
version = 1.0.0

@ -0,0 +1,9 @@
<nav search_view="search">
<view name="search" />
<view name="reports" />
<view name="alerts" />
<view name="dashboards" />
<collection label="EDF">
<view name="Conso_Linky" default="true" />
</collection>
</nav>

@ -0,0 +1,42 @@
<dashboard version="1.1" theme="dark">
<label>Geolocalisation-Renault</label>
<row>
<panel>
<viz type="leaflet_maps_app.leaflet_maps">
<search>
<query>index="idx_api-renault"
| geostats latest_time latfield=location.gpsLatitude longfield=location.gpsLongitude</query>
<earliest>@d</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="drilldown">none</option>
<option name="trellis.enabled">0</option>
<option name="trellis.scales.shared">1</option>
<option name="trellis.size">medium</option>
</viz>
</panel>
</row>
<row>
<panel>
<viz type="leaflet_maps_app.google-street-view">
<search>
<query>index="idx_api-renault"
| geostats latest_time latfield=location.gpsLatitude longfield=location.gpsLongitude
| eval coordinates=latitude.",".longitude | table coordinates</query>
<earliest>-60m@m</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="drilldown">none</option>
<option name="leaflet_maps_app.google-street-view.defaultHeight">600</option>
<option name="leaflet_maps_app.google-street-view.fullScreen">0</option>
<option name="leaflet_maps_app.google-street-view.googleMapsApiKeyUser">Jocelyn</option>
<option name="trellis.enabled">0</option>
<option name="trellis.scales.shared">1</option>
<option name="trellis.size">medium</option>
</viz>
</panel>
</row>
</dashboard>

@ -0,0 +1,665 @@
<dashboard version="2" theme="dark">
<label>Renault</label>
<description></description>
<definition><![CDATA[
{
"dataSources": {
"ds_L0q5u3CO": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\" battery-status.batteryAutonomy=\"*\"\n| stats latest(battery-status.batteryAutonomy)",
"queryParameters": {}
},
"name": "Megane E-Tech - Single value search"
},
"ds_iR3ITKvZ": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\" battery-status.batteryLevel=\"*\"\n| stats latest(battery-status.batteryLevel)"
},
"name": "Batterie"
},
"ds_cMNQU2Pp": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\"\n| stats latest(battery-status.batteryAvailableEnergy)"
},
"name": "Capaciter Batterie"
},
"ds_6DGbP2CC": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\" battery-status.batteryLevel=\"*\"\n| stats latest(battery-status.batteryTemperature)"
},
"name": "Temperature"
},
"ds_OhLdAOpY": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\"\n| rename battery-status.chargingInstantaneousPower as InstaPower\n| eval InstaPowerkW = InstaPower / 10\n| table _time, InstaPowerkW",
"queryParameters": {
"earliest": "@d",
"latest": "now"
}
},
"name": "Puissance de charge"
},
"ds_vpLs7iQP": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\" battery-status.batteryLevel=\"*\"\n| stats latest(battery-status.chargingRemainingTime)"
},
"name": "Temps de charge restant"
},
"ds_3duPstcj": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\"\n| stats latest(charge-mode.chargeMode)"
},
"name": "Mode de charge"
},
"ds_LNrziZwb": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\"\n| stats latest(cockpit.totalMileage)"
},
"name": "Kilometrage"
},
"ds_vUMv8hfb": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\"\n| stats latest(hvac-status.hvacStatus) latest(hvac-status.lastUpdateTime)"
},
"name": "Etats hvac"
},
"ds_RTeET8LI": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\"\n| stats latest(hvac-status.internalTemperature)"
},
"name": "Temperature interieur"
},
"ds_rx5ZIdP3": {
"type": "ds.search",
"options": {
"query": "index=\"idx_api-renault\" source=\"/var/rsyslog/renault/stats.json\" \n| geostats count by source latfield=location.gpsLatitude longfield=location.gpsLongitude",
"queryParameters": {
"earliest": "-24h@h",
"latest": "now"
}
},
"name": "Localisation"
}
},
"visualizations": {
"viz_Bsib7QHd": {
"type": "splunk.singlevalue",
"options": {
"numberPrecision": 0,
"sparklineDisplay": "below",
"trendDisplay": "absolute",
"unit": "Km",
"unitPosition": "after",
"shouldUseThousandSeparators": true,
"majorColor": "> majorValue | rangeValue(convertedColorRange)"
},
"context": {
"convertedColorRange": [
{
"from": 100,
"value": "#dc4e41"
},
{
"from": 70,
"to": 100,
"value": "#f1813f"
},
{
"from": 30,
"to": 70,
"value": "#f8be34"
},
{
"from": 0,
"to": 30,
"value": "#0877a6"
},
{
"to": 0,
"value": "#53a051"
}
]
},
"dataSources": {
"primary": "ds_L0q5u3CO"
},
"title": "Autonomie"
},
"viz_ApRn1c4W": {
"type": "splunk.image",
"options": {
"preserveAspectRatio": true,
"src": "splunk-enterprise-kvstore://65a7e1b4169a61bda900a2d1"
}
},
"viz_RM5EST6g": {
"type": "splunk.singlevalueradial",
"options": {
"majorColor": "> majorValue | rangeValue(majorColorEditorConfig)",
"unit": "%"
},
"dataSources": {
"primary": "ds_iR3ITKvZ"
},
"context": {
"majorColorEditorConfig": [
{
"value": "#FE3A3A",
"to": 20
},
{
"value": "#FF7149",
"from": 20,
"to": 40
},
{
"value": "#FFD442",
"from": 40,
"to": 60
},
{
"value": "#2EB82E",
"from": 60,
"to": 80
},
{
"value": "#088F44",
"from": 80
}
]
}
},
"viz_LoYH4Rkn": {
"type": "splunk.singlevalueradial",
"dataSources": {
"primary": "ds_cMNQU2Pp"
},
"title": "",
"options": {
"unit": "kw",
"majorColor": "> majorValue | rangeValue(majorColorEditorConfig)"
},
"context": {
"majorColorEditorConfig": [
{
"value": "#D41F1F",
"to": 20
},
{
"value": "#D97A0D",
"from": 20,
"to": 40
},
{
"value": "#9D9F0D",
"from": 40,
"to": 63
},
{
"value": "#118832",
"from": 63
}
]
}
},
"viz_SmPWiNin": {
"type": "splunk.singlevalueradial",
"dataSources": {
"primary": "ds_6DGbP2CC"
},
"context": {
"gaugeColorEditorConfig": [
{
"to": 9,
"value": "#118832"
},
{
"from": 10,
"to": 29,
"value": "#669922"
},
{
"from": 30,
"to": 49,
"value": "#CBA700"
},
{
"from": 50,
"to": 69,
"value": "#D94E17"
},
{
"from": 70,
"value": "#D41F1F"
}
],
"majorColorEditorConfig": [
{
"value": "#FF5E5E",
"to": 20
},
{
"value": "#2a99ff",
"from": 20,
"to": 40
},
{
"value": "#6bb3ee",
"from": 40,
"to": 60
},
{
"value": "#adccdd",
"from": 60,
"to": 80
},
{
"value": "#eee8ce",
"from": 80,
"to": 90
},
{
"value": "#f4baa9",
"from": 90
}
]
},
"showProgressBar": false,
"showLastUpdated": false,
"options": {
"unit": "°",
"majorColor": "> majorValue | rangeValue(majorColorEditorConfig)"
}
},
"viz_HeXrBVNe": {
"type": "splunk.line",
"dataSources": {
"primary": "ds_OhLdAOpY"
},
"options": {
"dataValuesDisplay": "all",
"x": "> primary | seriesByName('_time')",
"nullValueDisplay": "connect",
"xAxisLineVisibility": "show",
"showXMajorGridLines": true,
"backgroundColor": "transparent"
}
},
"viz_uOglCEHX": {
"type": "splunk.singlevalueradial",
"options": {
"unit": "min",
"trendDisplay": "off"
},
"dataSources": {
"primary": "ds_vpLs7iQP"
}
},
"viz_0WeBsDKQ": {
"type": "splunk.singlevalue",
"options": {
"backgroundColor": "> majorValue | matchValue(backgroundColorEditorConfig)",
"majorColor": "#ffffff",
"trendColor": "#ffffff"
},
"dataSources": {
"primary": "ds_3duPstcj"
},
"context": {
"backgroundColorEditorConfig": [
{
"match": "delayed",
"value": "#78062a"
},
{
"match": "",
"value": "#207865"
}
]
}
},
"viz_97oQu4gd": {
"type": "splunk.singlevalue",
"options": {
"unit": "Km",
"majorColor": "> majorValue | rangeValue(majorColorEditorConfig)",
"trendDisplay": "off"
},
"dataSources": {
"primary": "ds_LNrziZwb"
},
"context": {
"majorColorEditorConfig": [
{
"to": 20,
"value": "#D41F1F"
},
{
"from": 20,
"to": 40,
"value": "#D94E17"
},
{
"from": 40,
"to": 60,
"value": "#CBA700"
},
{
"from": 60,
"to": 80,
"value": "#669922"
},
{
"from": 80,
"value": "#118832"
}
]
}
},
"viz_XVDIncpt": {
"type": "splunk.markdown",
"options": {
"markdown": "Status clim-chauffage",
"fontSize": "extraLarge",
"fontColor": "#ffffff"
}
},
"viz_zbw2yJFK": {
"type": "splunk.singlevalue",
"options": {},
"dataSources": {
"primary": "ds_vUMv8hfb"
},
"context": {
"majorColorEditorConfig": [
{
"to": 20,
"value": "#D41F1F"
},
{
"from": 20,
"to": 40,
"value": "#D94E17"
},
{
"from": 40,
"to": 60,
"value": "#CBA700"
},
{
"from": 60,
"to": 80,
"value": "#669922"
},
{
"from": 80,
"value": "#118832"
}
]
},
"showProgressBar": false,
"showLastUpdated": false
},
"viz_5VgmdSm4": {
"type": "splunk.singlevalueradial",
"options": {
"unit": "°",
"trendColor": "> trendValue | rangeValue(trendColorEditorConfig)",
"majorColor": "> majorValue | rangeValue(majorColorEditorConfig)"
},
"dataSources": {
"primary": "ds_RTeET8LI"
},
"context": {
"majorColorEditorConfig": [
{
"value": "#0070f3",
"to": 10
},
{
"value": "#115bad",
"from": 10,
"to": 20
},
{
"value": "#224468",
"from": 20,
"to": 30
},
{
"value": "#9e2520",
"from": 30
}
],
"trendColorEditorConfig": [
{
"value": "#F98C83",
"to": 0
},
{
"value": "#F4BAA9",
"from": 0,
"to": 10
},
{
"value": "#EEE8CE",
"from": 10,
"to": 20
},
{
"value": "#ADCCDD",
"from": 20,
"to": 30
},
{
"value": "#6BB3EE",
"from": 30
}
]
}
},
"viz_dlPEqD83": {
"type": "splunk.map",
"options": {
"center": [
45.8023870255046,
3.6947549773331048
],
"zoom": 7,
"layers": [
{
"type": "bubble"
}
]
},
"dataSources": {
"primary": "ds_rx5ZIdP3"
}
}
},
"inputs": {
"input_global_trp": {
"type": "input.timerange",
"options": {
"token": "global_time",
"defaultValue": "@d,now"
},
"title": "Période globale"
}
},
"layout": {
"type": "absolute",
"options": {
"width": 1440,
"height": 1440
},
"structure": [
{
"item": "viz_Bsib7QHd",
"type": "block",
"position": {
"x": 10,
"y": 180,
"w": 240,
"h": 100
}
},
{
"item": "viz_RM5EST6g",
"type": "block",
"position": {
"x": 250,
"y": 180,
"w": 240,
"h": 100
}
},
{
"item": "viz_LoYH4Rkn",
"type": "block",
"position": {
"x": 490,
"y": 180,
"w": 250,
"h": 100
}
},
{
"item": "viz_SmPWiNin",
"type": "block",
"position": {
"x": 740,
"y": 180,
"w": 210,
"h": 100
}
},
{
"item": "viz_HeXrBVNe",
"type": "block",
"position": {
"x": 10,
"y": 280,
"w": 1420,
"h": 300
}
},
{
"item": "viz_uOglCEHX",
"type": "block",
"position": {
"x": 950,
"y": 180,
"w": 250,
"h": 100
}
},
{
"item": "viz_0WeBsDKQ",
"type": "block",
"position": {
"x": 10,
"y": 100,
"w": 1420,
"h": 80
}
},
{
"item": "viz_97oQu4gd",
"type": "block",
"position": {
"x": 1200,
"y": 180,
"w": 230,
"h": 100
}
},
{
"item": "viz_ApRn1c4W",
"type": "block",
"position": {
"x": 610,
"y": -60,
"w": 260,
"h": 240
}
},
{
"item": "viz_XVDIncpt",
"type": "block",
"position": {
"x": 10,
"y": 580,
"w": 280,
"h": 30
}
},
{
"item": "viz_zbw2yJFK",
"type": "block",
"position": {
"x": 10,
"y": 610,
"w": 1420,
"h": 60
}
},
{
"item": "viz_5VgmdSm4",
"type": "block",
"position": {
"x": 10,
"y": 670,
"w": 210,
"h": 100
}
},
{
"item": "viz_dlPEqD83",
"type": "block",
"position": {
"x": 10,
"y": 770,
"w": 1420,
"h": 290
}
}
],
"globalInputs": [
"input_global_trp"
]
},
"title": "Renault",
"defaults": {
"dataSources": {
"ds.search": {
"options": {
"queryParameters": {
"latest": "$global_time.latest$",
"earliest": "$global_time.earliest$"
}
}
}
}
}
}
]]></definition>
<meta type="hiddenElements"><![CDATA[
{
"hideEdit": false,
"hideOpenInSearch": false,
"hideExport": false
}
]]></meta>
</dashboard>

@ -0,0 +1,114 @@
[default]
disabled = 0
[Message size by relay]
action.email.sendresults = 0
dispatch.ttl = 3600
relation = None
request.ui_dispatch_view = search
search = index=sample from | timechart avg(size) by relay
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
[Mail delivery time]
action.email.sendresults = 0
dispatch.ttl = 3600
relation = None
request.ui_dispatch_view = search
search = index=sample | transaction fields=qid | timechart avg(duration)
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
[Top recipients by mailer]
action.email.sendresults = 0
dispatch.ttl = 3600
relation = None
search = index=sample | timechart count(to) by mailer
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
request.ui_dispatch_view = search
[Top recipients]
action.email.sendresults = 0
dispatch.ttl = 3600
relation = None
search = index=sample | top to
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
request.ui_dispatch_view = search
[Sendmail transactions]
action.email.sendresults = 0
dispatch.ttl = 3600
relation = None
request.ui_dispatch_view = search
search = index=sample | transaction msgid pid maxpause=48h | search linecount > 1
[Number of "from" messages]
action.email.sendresults = 0
dispatch.ttl = 3600
relation = None
request.ui_dispatch_view = search
search = index=sample |stats count(from)
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
[Number of "to" messages]
action.email.sendresults = 0
dispatch.ttl = 3600
displayview = search
relation = None
request.ui_dispatch_view = search
search = index=sample |stats count(to)
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
[Top recipients - pie chart]
action.email.sendresults = 0
dispatch.ttl = 3600
displayview = search
relation = None
request.ui_dispatch_view = search
search = index=sample | top to limit=10
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
[Top recipients by mailer - area chart]
action.email.sendresults = 0
dispatch.ttl = 3600
displayview = search
relation = None
request.ui_dispatch_view = search
search = index=sample | timechart count(to) by mailer
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
[Number of reject events by relay]
action.email.sendresults = 0
dispatch.ttl = 3600
displayview = search
relation = None
request.ui_dispatch_view = search
search = index=sample reject |stats count by relay
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics
[Histogram of delay in seconds]
action.email.sendresults = 0
dispatch.ttl = 3600
displayview = search
relation = None
request.ui_dispatch_view = search
search = index=sample | fields + delay, count | convert dur2sec(delay) | sort - delay | top delay limit=10
alert.track = 0
display.general.type = statistics
display.page.search.tab = statistics

@ -0,0 +1,15 @@
[]
access = read : [ * ], write : [ admin, power ]
export = none
[tags]
export = system
[props]
export = system
[transforms]
export = system
[lookups]
export = system

@ -0,0 +1,7 @@
[app/ui]
version = 9.1.2
modtime = 1705653202.178472000
[app/launcher]
version = 9.1.2
modtime = 1705653202.182220000

@ -1,47 +0,0 @@
<dashboard version="1.1">
<label>Sample dashboard</label>
<!-- First row of a single comment -->
<row>
<!-- Static content, remove upon editing-->
<html>
<h2>
Welcome to your new app. You can customize this app to look and work any way you want. Here are a few options to get you started:
</h2>
<ul>
<li>Change the pages (or views) in this app. Edit this view, or create a new one through Splunk Manager.</li>
<li>Change the navigation menu for this app. The navigation menu shows at the top of this view.</li>
<li>Read more on building apps in the <a href = "/help?location=sample_dashboard">Developer Manual</a>.</li>
<li>If you're not seeing any data, enable the "sample data" app in Manager <a href ="/manager/search/apps/local">here</a>. Note that this will index sample data which will count toward your daily indexing volume.</li>
</ul>
</html>
<!-- End of static content -->
</row>
<!-- Second row of 2 panels -->
<row>
<chart>
<search ref="Top recipients - pie chart"></search>
<title>Top recipients</title>
</chart>
<chart>
<search ref="Top recipients by mailer - area chart"></search>
<title>Top recipients by mailer</title>
</chart>
</row>
<row>
<event>
<search ref="Sendmail transactions"></search>
<title>Sendmail transactions</title>
</event>
</row>
</dashboard>

@ -1,34 +0,0 @@
<form version="1.1">
<label>Sample dropdown</label>
<!-- define master search template, with replacement tokens delimited with $ -->
<search id="sample_search">
<query>
index=sample "$to$"
</query>
</search>
<fieldset>
<!-- Define a simple dropdown form driven by a search -->
<input type="dropdown" token="to">
<label>Select to address</label>
<choice value="*">Any</choice>
<search>
<query>
index=sample | stats count by to
</query>
</search>
<fieldForValue>to</fieldForValue>
<fieldForLabel>to</fieldForLabel>
</input>
</fieldset>
<row>
<!-- output the results as a 50 row events view -->
<event>
<title>Results</title>
<option name="count">50</option>
<search base="sample_search"></search>
</event>
</row>
</form>

@ -1,24 +0,0 @@
<form version="1.1">
<label>Sample form search</label>
<!-- define master search template, with replacement tokens delimited with $. This is an example, replace with your own search.-->
<search id="sample_search">
<query>index=sample from="$from$"</query>
</search>
<fieldset>
<!-- the default is a text box, with no seed value; if user does not input
a value, then the $from$ token in searchTemplate will be removed -->
<input type="text" token="from" />
</fieldset>
<row>
<!-- output the results as a 50 row events view -->
<event>
<title>Results</title>
<option name="count">50</option>
<search base="sample_search"></search>
</event>
</row>
</form>

@ -1,32 +0,0 @@
<form version="1.1">
<label>Sample radio</label>
<!-- Define master search template, with replacement tokens delimited with $ -->
<search id="sample_search">
<query>index=sample from="$from$"</query>
</search>
<fieldset>
<!-- Define a radio button list, populated from a search. searchWhenChanged propagates any change in selection immediatly to the results. -->
<input type="radio" token="from" searchWhenChanged="true">
<label>Select from address</label>
<choice value="*">Any</choice>
<search>
<query>
index=sample | top from | stats count by from
</query>
</search>
<fieldForValue>from</fieldForValue>
<fieldForLabel>from</fieldForLabel>
</input>
</fieldset>
<row>
<!-- output the results as a 50 row events view -->
<event>
<title>Results</title>
<option name="count">50</option>
<search base="sample_search"></search>
</event>
</row>
</form>

@ -1,26 +0,0 @@
<dashboard version="1.1">
<!--
NOTE: This file was automatically generated by Splunk. Use caution when editing manually.
-->
<label>Sample simple dashboard</label>
<row>
<chart>
<search ref="Message size by relay"></search>
<title>Message size by relay</title>
</chart>
<chart>
<search ref="Mail delivery time"></search>
<title>Mail delivery time</title>
</chart>
</row>
<row>
<single>
<search ref="Number of &quot;from&quot; messages"></search>
<title>Number of "from" messages</title>
</single>
<single>
<search ref="Number of &quot;to&quot; messages"></search>
<title>Number of "to" messages</title>
</single>
</row>
</dashboard>
Loading…
Cancel
Save