Skip to content

Commit

Permalink
Added IIS logs module
Browse files Browse the repository at this point in the history
  • Loading branch information
tsg committed Jul 20, 2018
1 parent 392d6be commit c0acaff
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export function elasticsearchLogsSpecProvider() {
id: 'elasticsearchLogs',
name: 'Elasticsearch logs',
category: TUTORIAL_CATEGORY.LOGGING,
isBeta: true,
shortDescription: 'Collect and parse logs created by Elasticsearch.',
longDescription: 'The `elasticsearch` Filebeat module parses logs created by Elasticsearch.' +
' [Learn more]({config.docs.beats.filebeat}/filebeat-module-elasticsearch.html).',
Expand Down
54 changes: 54 additions & 0 deletions src/core_plugins/kibana/server/tutorials/iis_logs/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

import { TUTORIAL_CATEGORY } from '../../../common/tutorials/tutorial_category';
import { onPremInstructions, cloudInstructions, onPremCloudInstructions } from '../../../common/tutorials/filebeat_instructions';

export function iisLogsSpecProvider() {
const moduleName = 'iis';
const geoipRequired = false;
const uaRequired = false;
const platforms = ['WINDOWS'];
return {
id: 'iisLogs',
name: 'IIS logs',
category: TUTORIAL_CATEGORY.LOGGING,
shortDescription: 'Collect and parse access and error logs created by the IIS HTTP server.',
longDescription: 'The `iis` Filebeat module parses access and error logs created by the IIS HTTP server.' +
' [Learn more]({config.docs.beats.filebeat}/filebeat-module-iis.html).',
//euiIconType: 'logoIIS',
artifacts: {
dashboards: [
{
id: '4278ad30-fe16-11e7-a3b0-d13028918f9f',
linkLabel: 'IIS logs dashboard',
isOverview: true
}
],
exportedFields: {
documentationUrl: '{config.docs.beats.filebeat}/exported-fields-iis.html'
}
},
completionTimeMinutes: 10,
previewImagePath: '/plugins/kibana/home/tutorial_resources/iis_logs/screenshot.png',
onPrem: onPremInstructions(moduleName, platforms, geoipRequired, uaRequired),
elasticCloud: cloudInstructions(moduleName, platforms),
onPremElasticCloud: onPremCloudInstructions(moduleName, platforms)
};
}
2 changes: 2 additions & 0 deletions src/core_plugins/kibana/server/tutorials/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { systemMetricsSpecProvider } from './system_metrics';
import { apacheLogsSpecProvider } from './apache_logs';
import { apacheMetricsSpecProvider } from './apache_metrics';
import { elasticsearchLogsSpecProvider } from './elasticsearch_logs';
import { iisLogsSpecProvider } from './iis_logs';
import { kafkaLogsSpecProvider } from './kafka_logs';
import { logstashLogsSpecProvider } from './logstash_logs';
import { nginxLogsSpecProvider } from './nginx_logs';
Expand Down Expand Up @@ -60,6 +61,7 @@ export function registerTutorials(server) {
server.registerTutorial(apacheLogsSpecProvider);
server.registerTutorial(apacheMetricsSpecProvider);
server.registerTutorial(elasticsearchLogsSpecProvider);
server.registerTutorial(iisLogsSpecProvider);
server.registerTutorial(kafkaLogsSpecProvider);
server.registerTutorial(logstashLogsSpecProvider);
server.registerTutorial(nginxLogsSpecProvider);
Expand Down

0 comments on commit c0acaff

Please sign in to comment.