| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF 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. |
| --> |
| <metainfo> |
| <schemaVersion>2.0</schemaVersion> |
| <services> |
| <service> |
| <name>LOGSEARCH</name> |
| <displayName>Log Search</displayName> |
| <comment>Log aggregation, analysis, and visualization for Ambari managed services. This service is Tech Preview.</comment> |
| <version>0.5.0</version> |
| |
| <components> |
| |
| <component> |
| <name>LOGSEARCH_SERVER</name> |
| <timelineAppid>logsearch</timelineAppid> |
| <displayName>Log Search Server</displayName> |
| <category>MASTER</category> |
| <cardinality>1</cardinality> |
| <versionAdvertised>false</versionAdvertised> |
| <commandScript> |
| <script>scripts/logsearch.py</script> |
| <scriptType>PYTHON</scriptType> |
| </commandScript> |
| <logs> |
| <log> |
| <logId>logsearch_app</logId> |
| <primary>true</primary> |
| </log> |
| <log> |
| <logId>logsearch_perf</logId> |
| </log> |
| </logs> |
| <dependencies> |
| <dependency> |
| <name>LOGSEARCH/LOGSEARCH_SOLR_CLIENT</name> |
| <scope>host</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| </auto-deploy> |
| </dependency> |
| |
| <dependency> |
| <name>ZOOKEEPER/ZOOKEEPER_SERVER</name> |
| <scope>cluster</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| </auto-deploy> |
| </dependency> |
| |
| </dependencies> |
| <configuration-dependencies> |
| <config-type>logsearch-properties</config-type> |
| <config-type>logsearch-env</config-type> |
| <config-type>logsearch-log4j</config-type> |
| <config-type>logsearch-admin-json</config-type> |
| <config-type>logsearch-solr-env</config-type> |
| <config-type>logsearch-service_logs-solrconfig.xml</config-type> |
| <config-type>logsearch-audit_logs-solrconfig.xml</config-type> |
| </configuration-dependencies> |
| </component> |
| |
| <component> |
| <name>LOGSEARCH_SOLR</name> |
| <timelineAppid>logsearch-solr</timelineAppid> |
| <displayName>Log Search Solr Instance</displayName> |
| <category>MASTER</category> |
| <cardinality>1+</cardinality> |
| <versionAdvertised>false</versionAdvertised> |
| <commandScript> |
| <script>scripts/logsearch_solr.py</script> |
| <scriptType>PYTHON</scriptType> |
| </commandScript> |
| <logs> |
| <log> |
| <logId>logsearch_solr</logId> |
| <primary>true</primary> |
| </log> |
| </logs> |
| <dependencies> |
| <dependency> |
| <name>LOGSEARCH/LOGSEARCH_SOLR_CLIENT</name> |
| <scope>host</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| </auto-deploy> |
| </dependency> |
| |
| <dependency> |
| <name>ZOOKEEPER/ZOOKEEPER_SERVER</name> |
| <scope>cluster</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| </auto-deploy> |
| </dependency> |
| |
| </dependencies> |
| <configuration-dependencies> |
| <config-type>logsearch-solr-env</config-type> |
| <config-type>logsearch-solr-xml</config-type> |
| <config-type>logsearch-solr-log4j</config-type> |
| <config-type>logsearch-service_logs-solrconfig.xml</config-type> |
| <config-type>logsearch-audit_logs-solrconfig.xml</config-type> |
| </configuration-dependencies> |
| </component> |
| |
| <component> |
| <name>LOGSEARCH_LOGFEEDER</name> |
| <timelineAppid>logfeeder</timelineAppid> |
| <displayName>Log Feeder</displayName> |
| <category>SLAVE</category> |
| <cardinality>ALL</cardinality> |
| <versionAdvertised>false</versionAdvertised> |
| <commandScript> |
| <script>scripts/logfeeder.py</script> |
| <scriptType>PYTHON</scriptType> |
| </commandScript> |
| <logs> |
| <log> |
| <logId>logsearch_feeder</logId> |
| <primary>true</primary> |
| </log> |
| </logs> |
| |
| <dependencies> |
| |
| <dependency> |
| <name>ZOOKEEPER/ZOOKEEPER_SERVER</name> |
| <scope>cluster</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| </auto-deploy> |
| </dependency> |
| |
| </dependencies> |
| |
| <configuration-dependencies> |
| <config-type>logfeeder-properties</config-type> |
| <config-type>logfeeder-env</config-type> |
| <config-type>logfeeder-log4j</config-type> |
| <config-type>logsearch-solr-env</config-type> |
| </configuration-dependencies> |
| </component> |
| |
| <component> |
| <name>LOGSEARCH_SOLR_CLIENT</name> |
| <displayName>Log Search Solr Client</displayName> |
| <category>CLIENT</category> |
| <cardinality>0+</cardinality> |
| <versionAdvertised>false</versionAdvertised> |
| <commandScript> |
| <script>scripts/logsearch_solr_client.py</script> |
| <scriptType>PYTHON</scriptType> |
| </commandScript> |
| <configFiles> |
| <configFile> |
| <type>env</type> |
| <fileName>log4j.properties</fileName> |
| <dictionaryName>logsearch-solr-client-log4j</dictionaryName> |
| </configFile> |
| </configFiles> |
| </component> |
| |
| </components> |
| |
| <osSpecifics> |
| <osSpecific> |
| <osFamily>redhat7,amazon2015,redhat6,suse11,suse12</osFamily> |
| <packages> |
| <package> |
| <name>ambari-logsearch-solr-client</name> |
| <skipUpgrade>true</skipUpgrade> |
| <condition>should_install_logsearch_solr_client</condition> |
| </package> |
| <package> |
| <name>ambari-logsearch-logfeeder</name> |
| <skipUpgrade>true</skipUpgrade> |
| </package> |
| <package> |
| <name>ambari-logsearch-portal</name> |
| <skipUpgrade>true</skipUpgrade> |
| <condition>should_install_logsearch_portal</condition> |
| </package> |
| <package> |
| <name>ambari-logsearch-solr</name> |
| <skipUpgrade>true</skipUpgrade> |
| <condition>should_install_logsearch_solr</condition> |
| </package> |
| </packages> |
| </osSpecific> |
| <osSpecific> |
| <osFamily>debian7,ubuntu12,ubuntu14,ubuntu16</osFamily> |
| <packages> |
| <package> |
| <name>ambari-logsearch-solr-client</name> |
| <skipUpgrade>true</skipUpgrade> |
| <condition>should_install_logsearch_solr_client</condition> |
| </package> |
| <package> |
| <name>ambari-logsearch-logfeeder</name> |
| <skipUpgrade>true</skipUpgrade> |
| </package> |
| <package> |
| <name>ambari-logsearch-portal</name> |
| <skipUpgrade>true</skipUpgrade> |
| <condition>should_install_logsearch_portal</condition> |
| </package> |
| <package> |
| <name>ambari-logsearch-solr</name> |
| <skipUpgrade>true</skipUpgrade> |
| <condition>should_install_logsearch_solr</condition> |
| </package> |
| </packages> |
| </osSpecific> |
| </osSpecifics> |
| |
| <commandScript> |
| <script>scripts/service_check.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>300</timeout> |
| </commandScript> |
| |
| <requiredServices> |
| <service>ZOOKEEPER</service> |
| </requiredServices> |
| |
| <quickLinksConfigurations> |
| <quickLinksConfiguration> |
| <fileName>quicklinks.json</fileName> |
| <default>true</default> |
| </quickLinksConfiguration> |
| </quickLinksConfigurations> |
| |
| <themes> |
| <theme> |
| <fileName>theme.json</fileName> |
| <default>true</default> |
| </theme> |
| </themes> |
| </service> |
| </services> |
| </metainfo> |