1. What is ElasticsearchElasticsearch is an open source real-time distributed search and analysis engine based on Apche Lucene.2. InstallationThe only requirement to install Elasticsearch is to install the official version of Java, address: www.java.comDownload the latest version of Elasticsearch in Elasticsearch.org/download.3. Running./bin/elastichsearch-d (-d parameter run for daemon mode)Curl ' Http://localhost:9200/?pretty ' can see the status200
originally used in the Journal of Big Data Collection and analysis, its terrible speed as a social work pool is also a good choice.0X03 Installation and ConfigurationThe premise is that you need a large hard disk, approximately 2.5 times times the size of the social library (es will create the relevant index).You need to install at least 7 of Java version. and configure the JAVA_HOME environment variable.Because the installation is very simple, only need to download the corresponding compressed
The _cat parameter allows you to see some information about the cluster, such as whether the cluster is healthy, what nodes it has, and what the index is.Detecting Cluster HealthCurl Localhost:9200/_cat/health?v Description:
Curl
is a file transfer tool that works under the command line using URL syntax
9200
Access the port number of the cluster, which can be modified. Changes
Backup Script es_backup.sh:#!/bin/bash#备份昨天数据, deleted 30 days ago Index host= ' hostname ' es_user=$1es_passwd=$2# get yesterday date (backup used) date_yesterday= ' date-d '-1 day "+%y.%m.%d ' # Gets the current timestamp date_now= ' Date +%s ' #获取一个月前的日期date_month_ago = ' date [emailprotected]$[$date _now-2592000] "+%y.%m.%d" ' For i in Txxxx zhaoxxx #指定备份索引do #判断仓库是否存在, does not exist create code= ' Curl-xget-u$es_user: $es _passwd-s-W "%{http_code}\n "http://127.0.0.1:
Test installation in the latest ELK Stack versionLet's talk a little bit about it.First view versionFilebeat1.0.0-rc2 logstash2.0.0-1 elasticsearch2.0.0 kibana4.2So much content can be summarized as follows:GlossaryElasticsearch storage IndexKibana UIKibana dashboard visual mind chartLogstash Input Beats plugin collects eventsElasticsearch output plugin sends transactionsFilebeat log data shipperTopbeat lightweight server monitoringPacketbeat Online Network Packet AnalysisArchitecture1. Client i
Name spaceThe client has a lot of namespaces and can often burst out of the functionality he manages. namespaces correspond to the endpoints of various elasticsearch management. The following is a list of the completed namespaces:
name Space
function
Indices ()
Index-centric statistics and information
Nodes ()
Node-centric statistics and information
Cluster ()
Cluster-centric statistics and information
ELASTICSEARCH-JDBC Sync Database to Elasticsearch
I. Introduction to ELASTICSEARCH-JDBCSynchronize the database to the Elasticsearch plugin ELASTICSEARCH-JDBCBefore the name is ELASTICSEARCH-RIVER-JDBC
Download Address:Http://xbib.org/repository/org/xbib/elasticsearch/importer/elasticsearch-jdbc//elasticsearch-jdbc--dist.zipThe download will be replaced with the appropriate version.Such as:Http://xbib.org/repository/org/xbib/elasticsearch/importer/elasticsearch-jdbc/2.3.2.0/elasticsearch-jdbc-2.
Tags: Use file log nbsp Number install Ros put select====== MySQL River introduction ====== - what is River? The river represents a data source for ES and is also a way to synchronize data to ES with other storage methods (such as databases). It is an ES service that exists in plug-in mode, by reading the data in the river and indexing it into ES, the official river is couchdb, RABBITMQ, Twitter, Wikipedia. The main research here is the river for MySQL. -MySQL River plugin: MySQL River installat
/FF/wKioL1iy3CuR1caSAABZ_8m2Pho848.png-wh_500x0-wm_ 3-wmp_4-s_1448388675.png "title=" 1.png "alt=" Wkiol1iy3cur1casaabz_8m2pho848.png-wh_50 "/>The above arrows indicate 3 places, all directly to enter. An error occurred when copying the contents of the SSH public key file generated by the local server to the remote server.650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/8D/FF/wKioL1iy3IaA-Kz0AAANV9uVTuo602.png-wh_500x0-wm_ 3-wmp_4-s_3959494843.png "title=" 3.png "alt=" Wkiol1iy3iaa-kz
If you get the "current" domain namehost = Window.location.host;Url=document.domain;url = window.location.href;Get the full URL path: The following code can be used to fully research the results:Thisdloc = document.location; Thisurl = document. URL; Thishref = Document.location.href; Thissloc = self.location.href;Thistloc = Top.location.href; Thisploc = parent.document.location; Thisthost = Top.location.hostname; Thishost = location.hostname;Run as follows: Thisdloc = document.location;Thisurl =
CsrfCSRF, cross-site request forgery is a way to hijack a user to perform a non-intended attack on a Web site application that is currently logged on, in short, an attacker who deceives a user's browser with some technical means to access a website that he has authenticated and performs some actions (such as sending an email, sending a message, Even property operations such as transfer and purchase of goods).Django's CSRF middleware validation can effectively eliminate this kind of malicious att
geoserver and postgis Span style= "font-family: ' The song Body '; > Installation, this article mainly introduces the front-end tool udig installation, udig main user to geoserver published map service and postgis data to be stored for viewing, especially for geoserver map style when Publishing service SLD file configuration. Software: http://udig.refractions.net/This article takes Udig2.0 Main Introductioninstallation files udig-2.0.0.rc1.win32.win32.x86_64.exeRun the set
=" image " Src= "Http://s3.51cto.com/wyfs02/M01/8E/6F/wKioL1jAoUvTGfYEAAPR9nmLfgc450.png" border= "0"/>After creation, the Get-officewebappfarm command can be used to query the settings of this farm.650) this.width=650; "Width=" 541 "height=" 497 "title=" image "style=" border-right-width:0px;background-image:none; border-bottom-width:0px;padding-top:0px;padding-left:0px;margin:0px;padding-right:0px;border-top-width:0px; " alt= "image" Src= "http://s3
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.