forked from logscape/logscape.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy-administration-dsoffsets.html
138 lines (130 loc) · 10.9 KB
/
deploy-administration-dsoffsets.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html><html lang="en"><head><title> Logscape 2.0 </title><link href="css/bootstrap.min.css" rel="stylesheet"><link href="css/style.css" rel="stylesheet"><link href="css/style.css" rel="stylesheet"><link href="css/font-awesome-4.0.3/css/font-awesome.min.css" rel="stylesheet"><script src="js/jquery-1.11.0.js"></script><script src="js/bootstrap.min.js"></script><script>var breadcrumbs={
"gettingstarted":"Getting Started"
,"searching":"Search"
,"kv":"Data Discovery"
,"offsets":"Using Offsets"
,"geoip":"Geo IP"
,"pattern":"Using Search Patterns"
,"video":"tutorials"
,"overlays":"Overlaying Searches"
,"starthere":""
,"ds":"Data Sources"
,"add":" Add a New Data Source"
,"multitags":" Using Multi-Tags"
,"syslog":" Connect Syslog Clients"
,"tags": " Sources and Tags"
,"intelligent_field_discovery":" Intelligent Field Discovery"
,"types":"Data Types"
,"system_fields":"System Fields"
,"deploy":"Deployment"
,"app":" Logscape Apps"
,"agents": "Agents "
,"architectures_default": " Default Deployment"
,"architectures_failover": "Failover"
,"architectures_indexstores": " Index Stores"
,"architectures_tenured":"Tenured Data"
,"architectures_zones":" Zones"
,"Backup": "Backup"
,"home":" The Home WorkspacE"
,"import":" Restoring from Backup"
,"partial": " Selective Import"
,"arch_zoning":"Distributed Topology"
,"arch_clm":"Centralized Monitoring Topology"
,"arch_indexstores":"Multiple Index Store Topology"
,"rawtcpserver": "Tcp Server"
,"syslogserer":"Syslog Server"
,"centralconfigs":"Centralized Configuration"
,"boot_properties":"Boot Properties"
,"users":"Users"
,"datagroups": "Data Groups"
,"nested": "Nested Groups"
,"ldap":"Active Directory"
};
$(window).load(function(){
function genLink(arr,idx){
if (idx<0) { return "/"; }
var l="/"
for(i=0;i<=idx;i++){
l=l + arr[i] + "-" ;
}
return l.substring(0,l.length-1) + ".html";
}
function renderCrumbs(page){
console.log("rendering breadcrumbs for page:" + page)
if (page.indexOf("-") < 0){
return ""
}
var parts=page.split("-");
var idx=0;
console.log("rendering " + parts);
var html="<a href='"+genLink(parts,-1)+"'> / Home </a>";
for(idx=0;idx<parts.length;idx++){
k=parts[idx];
html=html + "<a href="+ genLink(parts,idx) + ">";
if (breadcrumbs.hasOwnProperty(k)){
html=html + " / " + breadcrumbs[k];
}else{
html=html + " / " + k[0].toUpperCase() + k.substring(1,k.length);
}
console.log(".");
}
console.log("this far!!!");
return html
}
var elems=window.location.href.split('?')[0].split('/');
var currentPage=elems[elems.length-1].split('.')[0]
console.log("crumb>" + renderCrumbs(currentPage));
$('#widget-bc').html(renderCrumbs(currentPage));
});
</script><script>var blogFeed;
function parseRSS(url, callback) {
$.ajax({
url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=10&callback=?&q=' + encodeURIComponent(url),
dataType: 'json',
success: function(data) {
callback(data.responseData.feed);
}});
}
$(window).load(function() {
parseRSS("http://blog.logscape.com/feed",function(feed){
var num = feed.entries.length;
for(i=0;i< num;i++){
var title=feed.entries[i].title;
//var link=feed.entries[i].
link=feed.entries[i].link;
$(".resource-list ul").append("<li><a href='"+link+"'>"+title+"</a> </li>")
blogFeed=feed;
}
});
});
</script><script>$(window).bind("pageshow",function(){
var $form= $("form")[0];
$form.reset();
});
</script><script>function submit_form(){
var q=$("#searchBox").val()
q=encodeURIComponent(q)
var query="https://www.google.com/?gws_rd=cr&q=site:logscape.github.io++"+q+"#q=site:logscape.github.io++"+q
var location = window.location.href;
console.log("back:" + location);
history.pushState({},"",location);
window.location.replace(query);
}</script></head><body><div style="min-height:30px;margin-bottom:5px;" class="container-fluid navbar"><div style="height:5px" class="row"></div><div class="row navbar-inner"><div style="width:10px" class="col-md-1"></div><div class="col-md-11"><form id="cse-search-box" action="" style="position:right;padding-top:5px;padding-bottom:5px" onSubmit="submit_form()"><a href="/"><img src="images/logo.png" style="padding-top:0px,padding-right:15px" width="150"></a><input type="hidden" name="cx" value="partner-pub-2789521296837340:9402765321"><input type="hidden" name="ie" value="UTF-8"><input id="searchBox" type="text" name="q" size="31" style="margin-left:15px"><input id="cseSubmit" type="submit" value=" " class="btn-search"> <a href="http://apps.logscape.com">Apps | </a><a href="http://support.liquidlabs.co.uk">Release 1.3 | </a><a href="http://logscape.activeboard.com/">Forums </a></form></div></div></div><div class="container-fluid"><div class="row"><div class="col-md-2"></div><div class="col-md-5"><div id="widget-bc" padding-left:150px class="breadcrumbs style"> </div></div><!--p
a(href="") >> Home
a(href="") / Searches
a(href="") / Overlaying Searches
--></div><div class="row"><div style="width:10px" class="col-md-1"><p></p></div><div class="col-md-2 nav-padding"><ul class="nav nav-tabs nav-stacked"><li><a href="searching.html">Search</a></li><li></li><!--a(href="workspaces.html") WorkSpaces--><li><a href="ds.html">Data Sources</a></li><li><a href="types.html">Data Types </a></li><li><a href="deploy.html">Deployment</a></li><li><a href="users.html">Users </a></li><li><a href="alerts.html">Alerts </a></li><li><a href="technology.html">Technology</a></li></ul></div><!--.resource-list
ul(style="list-style:none;padding-left:0px")
h4 Blog Feed--><div class="col-md-9 content-area"><div class="container-fluid"><div class="row"><div class="col-md-11"><h3>Data Source Offsets </h3><p>Certain log-data such as IIS or Squid-Proxy logs will assume a TimeZone of GMT-0. By default LogScape uses the hosts TimeZone which results in the data being show with an incorrect time window. To overcome this problem it is possible to override a specific data-sources timezone with an explicit setting. </p><p>Data Source times can be overrided by using a datasource.properties file. The content of the file has the following format </p><blockquote> $DATASOURCE.timezone=$TIMEZONE </blockquote><p>An example entry for a data source called IIS will look like this</p><blockquote> iis.timezone=GMT</blockquote><p>These are the available time zones </p><table class="table"><tr><td>DLW</td><td>-12.0</td><td>International Date Line West</td></tr><tr><td>HAST</td><td>-10.0</td><td>Hawaii Standard Time*</td></tr><tr><td>HDT</td><td>-9.0</td><td>Hawaii Daylight Time**</td></tr><tr><td>AKST</td><td>-9.0</td><td>Alaska Standard Time*</td></tr><tr><td>AKDT</td><td>-8.0</td><td>Alaska Daylight Time**</td></tr><tr><td>YST</td><td>-9.0</td><td>Yukon Standard Time*</td></tr><tr><td>YDT</td><td>-8.0</td><td>Yukon Daylight Time**</td></tr><tr><td>PST</td><td>-8.0</td><td>Pacific Standard Time*</td></tr><tr><td>PT</td><td>-8.0</td><td>Pacific Time*</td></tr><tr><td>PDT</td><td>-7.0</td><td>Pacific Daylight Time**</td></tr><tr><td>MST</td><td>-7.0</td><td>Mountain Standard Time*</td></tr><tr><td>MDT</td><td>-6.0</td><td>Mountain Daylight Time**</td></tr><tr><td>CST</td><td>-6.0</td><td>Central Standard Time*</td></tr><tr><td>CDT</td><td>-5.0</td><td>Central Daylight Time**</td></tr><tr><td>EST</td><td>-5.0</td><td>Eastern Standard Time*</td></tr><tr><td>VST</td><td>-4.5</td><td>Venezuelan Standard Time</td></tr><tr><td>EDT</td><td>-4.0</td><td>Eastern Daylight Time**</td></tr><tr><td>AST</td><td>-4.0</td><td>Atlantic Standard Time*</td></tr><tr><td>ADT</td><td>-3.0</td><td>Atlantic Daylight Time**</td></tr><tr><td>NST</td><td>-3.5</td><td>Newfoundland Standard Time*</td></tr><tr><td>NDT</td><td>-2.5</td><td>Newfoundland Daylight Time**</td></tr><tr><td>GMT</td><td>0</td><td>Greenwich Mean Time*</td></tr><tr><td>WET</td><td>0</td><td>West European Time*</td></tr><tr><td>WEST</td><td>+1.0</td><td>West European Summer Time**</td></tr><tr><td>WEDT</td><td>+1.0</td><td>West European Daylight Time**</td></tr><tr><td>BST</td><td>+1.0</td><td>British Summer Time**</td></tr><tr><td>WAT</td><td>+1.0</td><td>West African Time</td></tr><tr><td>CET</td><td>+1.0</td><td>Central European Time*</td></tr><tr><td>CEST</td><td>+2.0</td><td>Central European Summer Time**</td></tr><tr><td>CEDT</td><td>+2.0</td><td>Central European Daylight Time**</td></tr><tr><td>EET</td><td>+2.0</td><td>East European Time*</td></tr><tr><td>EEST</td><td>+3.0</td><td>East European Summer Time**</td></tr><tr><td>EAT</td><td>+3.0</td><td>East African Time</td></tr><tr><td>BT</td><td>+3.0</td><td>Bagdad Time</td></tr><tr><td>MSK</td><td>+3.0</td><td>Moscow Time*</td></tr><tr><td>MSD</td><td>+4.0</td><td>Moscow Daylight Time**</td></tr><tr><td>IRT</td><td>+3.5</td><td>Iran Time*</td></tr><tr><td>IRST</td><td>+4.5</td><td>Iran Summer Time**</td></tr><tr><td>IST</td><td>+5.5</td><td>Indian Standard Time</td></tr><tr><td>ICT</td><td>+7.0</td><td>Indochina Time</td></tr><tr><td>KRAT</td><td>+7.0</td><td>Krasnoyarsk Time*</td></tr><tr><td>KRAST</td><td>+8.0</td><td>Krasnoyarsk Summer Time**</td></tr><tr><td>CNST</td><td>+8.0</td><td>China Standard Time</td></tr><tr><td>ULAT</td><td>+8.0</td><td>Ulaanbaatar Time</td></tr><tr><td>CIT</td><td>+8.0</td><td>Central Indonesian Time</td></tr><tr><td>MYT</td><td>+8.0</td><td>Malaysian Time</td></tr><tr><td>SGT</td><td>+8.0</td><td>Singapore Time</td></tr><tr><td>PHT</td><td>+8.0</td><td>Philippine Time</td></tr><tr><td>IRKT</td><td>+8.0</td><td>Irkutsk Time*</td></tr><tr><td>IRKST</td><td>+9.0</td><td>Irkutsk Summer Time**</td></tr><tr><td>AWST</td><td>+8.0</td><td>Australian West Standard Time</td></tr><tr><td>AWDT</td><td>+9.0</td><td>Australian West Daylight Time</td></tr><tr><td>JST</td><td>+9.0</td><td>Japan Standard Time</td></tr><tr><td>CHOT</td><td>+9.0</td><td>Choibalsan Time</td></tr><tr><td>EIT</td><td>+9.0</td><td>East Indonesian Time</td></tr><tr><td>ACST</td><td>+9.5</td><td>Australian Central Standard Time*</td></tr><tr><td>ACDT</td><td>+10.5</td><td>Australian Central Daylight Time**</td></tr><tr><td>AEST</td><td>+10.0</td><td>Australian East Standard Time*</td></tr><tr><td>AEDT</td><td>+11.0</td><td>Australian East Daylight Time**</td></tr><tr><td>NFT</td><td>+11.5</td><td>Norfolk Time</td></tr><tr><td>IDLE</td><td>+12.0</td><td>International Date Line East</td></tr><tr><td>NZST</td><td>+12.0</td><td>New Zealand Standard Time*</td></tr><tr><td>NZDT</td><td>+13.0</td><td>New Zealand Daylight Time**</td></tr></table></div></div></div></div></div><div class="row"><hr class="dark"><div class="col-md-3"></div><Logscape>Copyright 2014(c) Registered Trademark </Logscape></div></div><script>$( document ).ready(function() {
$("#cseSubmit").on("click",function(e){
e.preventDefault();
submit_form();
});
$("#searchBox").on("keypress",function(e){
if (e.keyCode == 13) {
e.preventDefault();
submit_form()
}
});
});
</script><script src="js/ga.js"></script></body></html>