This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dashboard script="table_icons_inline.js" stylesheet="table_decorations.css"> | |
<label>Table Icon Set (Inline)</label> | |
<description>Add icons to table cells based on custom conditions.</description> | |
<row> | |
<table id="table1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require([ | |
'underscore', | |
'jquery', | |
'splunkjs/mvc', | |
'splunkjs/mvc/tableview', | |
'splunkjs/mvc/simplexml/ready!' | |
], function(_, $, mvc, TableView) { | |
var CustomIconRenderer = TableView.BaseCellRenderer.extend({ | |
canRender: function(cell) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Custom Icons*/ | |
td.icon { | |
text-align: center; | |
} | |
td.icon i { | |
font-size: 25px; | |
text-shadow: 1px 1px #aaa; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe src="http://splunkhost/account/insecurelogin?username=username&password=password&return_to=/app/search/dashboardname" ></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
splunk edit cluster-config -mode master -rebalance_threshold 0.95 -auth admin:your_SplunkWeb_password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvc.Components.get('tblCrashReport').getVisualization(function(tableView) | |
{ | |
tableView.table.addCellRenderer(new CustomTooltipRenderer()); | |
tableView.table.render(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
render: function($td, cell) { var message = cell.value; | |
var tip = cell.value; | |
if(message.length > 48) { message = message.substring(0,47) + "..." } | |
$td.html(_.template('<a href="#" data-toggle="tooltip" data-placement="left" title="<%- tip%>"><%- message%></a>', | |
{ | |
tip: tip, | |
message: message | |
})); | |
// This line wires up the Bootstrap tooltip to the cell markup | |
$td.children('[data-toggle="tooltip"]').tooltip(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tooltip-inner { max-width: 400px; | |
text-align: left; | |
font-size: 14px; | |
font-weight: normal; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<drilldown> | |
<set token="show">$click.value$</set> | |
<set token="show_panel">true</set> | |
</drilldown> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<email_incident> | |
<Caller>Splunk_User</Caller> | |
<onBehalfOf>Splunk_User</onBehalfOf> | |
<ConfigurationItem>$result.Hostname$</ConfigurationItem> | |
<Category>generic</Category> | |
<Subcategory>generic</Subcategory> | |
<AssignmentGroup>$result.Assignment_group$</AssignmentGroup> | |
<Urgency>Low</Urgency> | |
<ShortDescription>SecOps </ShortDescription> |
OlderNewer