-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCloud-Stream_Your_Data-NxLog.html
252 lines (231 loc) · 9.79 KB
/
Cloud-Stream_Your_Data-NxLog.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!DOCTYPE html>
<html lang="en">
<head>
<title>Logscape Cloud Support</title>
<link href="css/style-app.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style-app.css" rel="stylesheet">
<link href="css/cloud-app.css" rel="stylesheet">
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/angular-1.2.9/angular.min.js"></script>
<script src="js/angular-1.2.9/angular-animate.min.js"></script>
<script src="js/angular-1.2.9/angular-route.min.js"></script>
<script src="js/app/controllers.js"> </script>
<script src="js/cloud-breadcrumb.js"></script>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
</script>
<script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script>
$(document).ready(function(){
navigation_bind();
});
function navigation_bind(){
$(".menu p").click(function() {
$(".submenu").each(function() {
$(this).attr("style", "display:none");
});
parent = $(this).parent();
ul = parent.find("ul");
ul.attr("style", "display:block");
});
}
</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=site:logscape.github.io+"+q
var location = window.location.href;
console.log("back:" + location);
history.pushState({},"",location);
window.location.replace(query);
}
</script>
<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>
</head>
<body>
<div style="width:100%;height:85px;background-color:#2980B9;">
<!--div
a(href="/") Documentation
a(href="") Forums |
a(href="") Getting Started |
a(href="") Logscape |
-->
<div style="padding-left:100px;padding-top:20px"><img src="images/logscapecloud.png" style="height:45px">
<div style="float:right" class="col-md-3">
<form id="cse-search-box" action="" style="position:right;padding-top:5px;padding-bottom:5px" onSubmit="submit_form()"></form>
<input type="hidden" name="cx" value="015161349156186070243:ktxh8djpql8">
<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">
</div>
</div>
</div>
<div id="navdiv" style="width:100%;height:40px;background-color:#EEE;box-shadow: 0 0 2px #999;">
<div style="padding-left:70px;padding-top:10px"><a href="/index.html">Support | </a><a href="http://logscape.activeboard.com/">Forums | </a><a href="/apps.html">Apps | </a><a href="http://www.logscape.com">Logscape.com </a>
<div id="google_translate_element" class="float-right display-inline"> </div>
</div>
</div>
<div style="" class="row">
<div style="" class="col-md-2 nav-padding">
<hr>
<ul class="menu nav nav-tabs nav-stacked">
<li><a href="Cloud-Introduction.html">Introduction</a>
<ul class="menu nav nav-tabs nav-stacked active open">
<!--lia(href="cloud-welcome.html") Welcome to Logscape
-->
<li><a href="Cloud-Introduction-Full_Stack_Monitoring.html">Full Stack Monitoring</a></li>
<li><a href="Cloud-Introduction-Getting_Started.html">Getting Started </a></li>
</ul>
</li><a href="Cloud-Stream_Your_Data.html">Stream Your Data </a>
<li><a href="Cloud-Stream_Your_Data-Syslog.html">▶ Syslog</a>
<!--div
ul.nav.nav-tabs.nav-stacked
li
a(href="cloud-syslog-ng.html") Syslog-NG
li
a(href="") System Logs
li
a(href="") Application Logs
-->
</li>
<li><a href="Cloud-Stream_Your_Data-NxLog.html">Nxlog </a></li>
<li><a href="Cloud-Stream_Your_Data-Collector.html">▶ Collector </a></li><a href="Cloud-System_Data.html">System Data </a>
<li><a href="Cloud-System_Data-Unix_Server.html">▶ Unix Server</a></li>
<!--li a(href="Cloud-System_Data-Unix_Server-Unix_System_Logs.html") Unix System Logs
-->
<!--li a(href="Cloud-System_Data-Unix_Server-Unix_Audit_Logs.html") Unix Audit Logs
-->
<li><a href="Cloud-System_Data-Windows_Server.html">▶ Windows Server </a></li>
<!--li a(href="Cloud-System_Data-Windows_Server-Windows_System_Logs.html") Windows Event Logs
-->
<!--mdli
a(href="Cloud-System_Data-Windows_Server-Windows_Audit_Logs.html") Windows Audit Logs
--><a href="Cloud-Application_Data.html">Application Data </a>
<li> <a href="Cloud-Application_Data-Java_Logs.html">Java Logs </a></li>
<!--li a(href="cloud-dotnet-logs.html") DotNet Logs
-->
<!--li
a(href="cloud-aws-logs.html") Amazon AWS
-->
<!--lia(href="cloud-iis-logs.html") IIS Logs
-->
<!--p Web Data-->
<li><a href="Cloud-Application_Data-Apache_Logs.html">Apache Logs</a></li>
<li><a href="Cloud-Application_Data-Nginx_Logs.html">Nginx Logs</a></li>
<li><a href="Cloud-Application_Data-Web_Logs.html">Web Logs</a></li><a href="Cloud-Network_Devices.html">Network Devices </a>
<li><a href="Cloud-Network_Devices-Juniper.html">Juniper</a></li>
<li> <a href="Cloud-Network_Devices-Cisco_ASA.html">Cisco ASA </a></li>
<!--p Logscape Configuration-->
<!--lia(href="cloud-alerts.html") Alerts
-->
<!--lia(href="cloud-workspaces.html") Creating a workspace
-->
<!--li
a(href="cloud-sub-user.html") Create a new team member
-->
</ul>
</div>
<div class="col-md-9 apps">
<div ng-app="docBrowserApp" class="row">
<div>
<h6 id="breadcrumb">Stream your Data/ Nxlog</h6>
<h3>Nxlog </h3>
<p>To ship applications logs and windows event logs use NXLOG. NXLOG is a cross-platform log shipper which you can download from here: <a href="http://nxlog.org/products/nxlog-community-edition/download">nxlog download page</a></p><strong>1) Edit the nxlog.conf</strong>
<p>To send data into Logscape Cloud edit the nxlog.conf and update your out section ( or equivalent ) in your config. </p>
<pre>
<Output out>
Module om_tcp
Host collector.logscape.com
Port 9991
</Output></pre><strong>2) Set up input routes</strong>
<p>Make sure that for any nxlog log inputs that you prepend your security token. Here's an example for the apache2 logs </p>
<pre>
<Input in_apache2>
Module im_file
File "C:\\Bitnami\\wampstack-5.4.35-0\\apache2\\logs\\access.log"
Exec $raw_event = "LOGSCAPETOKEN:YOUR_TOKEN_HERE LOGSCAPETAG:www " + $raw_event;
</Input></pre><strong>3) Test your connectivity</strong>
<p>Make sure that you also add an appropriate tag to your data. The tag will allow you to identify the data from the search page. For the Apache2 example all its data is tagged <em>www </em></p>
<div class="image"> <img src="images/cloud-syslog-logscape.png" class="shadow"></div>
</div><br><br><br>
<div id="disqus_thread">
<script>
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'logscape'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
</div>
</div>
</div>
</div>
</body>
</html>
<!--
.container
//
.navbar.navbar-fixed-top
.navbar-inner
.nav-collapse.collapse
ul.nav
li.active Main Support Site
li Explore Logscape Apps
li
a(href="") Download
h3 Logscape Apps
a(href="index.html") Getting Started |
a(href="http://support.liquidlabs.co.uk") Older Versions 1.3x Docs
.container-fluid
br
br
br
br
br
.row
.col-md-11(style="padding-left:100px")
block content
script(src="js/ga.js")
-->
<!--
//
.row
.col-md-2.nav-padding
br
ul
li
a(href="https://github.com/logscape/windowsapp#windowsapp-10") WindowsApp
li
a(href="https://github.com/logscape/unixapp#unixapp-10") UnixApp
li
a(href="https://github.com/logscape/coherenceapp#oraclecoherenceapp-10") Oracle Coherence App
li
a(href="https://github.com/logscape/javaapp#javaapp-10") JavaApp
li
a(href="https://github.com/logscape/vmwareapp#vmwareapp-10") VMWareApp
li
a(href="https://github.com/logscape/ciscoapp#ciscoapp-10") Cisco Devices
.col-md-10
block content
-->