国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

logstack 日志技術(shù)棧-05-windows10 安裝 Elasticsearch elasticsearch-8.11.1 實戰(zhàn)筆記

這篇具有很好參考價值的文章主要介紹了logstack 日志技術(shù)棧-05-windows10 安裝 Elasticsearch elasticsearch-8.11.1 實戰(zhàn)筆記。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點擊"舉報違法"按鈕提交疑問。

安裝 Elasticsearch elasticsearch-8.11.1

下載

訪問 Elasticsearch 下載頁面

解壓下載的壓縮文件到你選擇的目錄。

運行

進入 Elasticsearch 目錄,運行 bin/elasticsearch.bat 啟動 Elasticsearch。

驗證

elaasticsearch的默認訪問路徑是localhost:9200,我們打開瀏覽器直接訪問即可。

如果訪問不了也沒關(guān)系,我們可以先修改配置文件之后再進行訪問。

注意:8.4.3我測試的無法直接打開默認網(wǎng)址,需要先進行配置(原因是:ES8默認開啟了ssl認證,導(dǎo)致無法訪問9200端口,elasticsearch.yml配置文件添加【xpack.security.enabled: false】即可)(https://zhuanlan.zhihu.com/p/504694531)

Elasticsearch在Windows下開啟了安全認證,雖然started成功,但訪問http://localhost:9200/失?。╤ttps://blog.csdn.net/zhangphil/article/details/124476717)

received plaintext traffic on an encrypted channel, closing connection Netty4TcpChannel

修改 elasticsearch.yml

原來是這樣:

# Enable security features
xpack.security.enabled: true

xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
  enabled: true
  keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["PC-20230404XHIO"]

# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
http.host: 0.0.0.0

我們把幾個安全的暫時都關(guān)閉掉。

# Enable security features
xpack.security.enabled: false

xpack.security.enrollment.enabled: false

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
  enabled: false
  keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
  enabled: false
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["PC-20230404XHIO"]

# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
http.host: 0.0.0.0

重新啟動 es。當(dāng)然這只是為了演示關(guān)閉的,實際應(yīng)用還是要注意安全問題。

PS: 我這里在啟動日志中沒有找到密碼,按理說是有一個初始化密碼的。

驗證成功

此時訪問 http://localhost:9200/

如下:文章來源地址http://www.zghlxwxcb.cn/news/detail-810940.html

{
  "name" : "PC-20230404XHIO",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "gROAdkClQka3fHkZukU60A",
  "version" : {
    "number" : "8.11.1",
    "build_flavor" : "default",
    "build_type" : "zip",
    "build_hash" : "6f9ff581fbcde658e6f69d6ce03050f060d1fd0c",
    "build_date" : "2023-11-11T10:05:59.421038163Z",
    "build_snapshot" : false,
    "lucene_version" : "9.8.0",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}

到了這里,關(guān)于logstack 日志技術(shù)棧-05-windows10 安裝 Elasticsearch elasticsearch-8.11.1 實戰(zhàn)筆記的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實不符,請點擊違法舉報進行投訴反饋,一經(jīng)查實,立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費用

相關(guān)文章

  • logstack 日志技術(shù)棧-04-opensource 開源工具 OpenObserve+Grafana Loki

    logstack 日志技術(shù)棧-04-opensource 開源工具 OpenObserve+Grafana Loki

    日志管理包含日志數(shù)據(jù)存儲、處理、分析和可視化,通過利用日志管理工具,可以監(jiān)控性能趨勢、解決問題、檢測異常并優(yōu)化整體系統(tǒng)性能。 近年來,開源日志管理解決方案在大家尋求靈活且經(jīng)濟有效的方式來管理現(xiàn)代系統(tǒng)典型的大量日志數(shù)據(jù)時,獲得了顯著的關(guān)注。這些工

    2024年01月21日
    瀏覽(20)
  • logstack 日志技術(shù)棧-01-ELK/EFK 入門介紹 ELK+filebeta

    ?在Kubernetes集群上運行多個服務(wù)和應(yīng)用程序時,日志收集系統(tǒng)可以幫助你快速分類和分析由Pod生成的大量日志數(shù)據(jù)。 Kubernetes中比較流行的日志收集解決方案是Elasticsearch、Fluentd和Kibana(EFK)技術(shù)棧,也是官方推薦的一種方案。 1)Elasticsearch:是一個實時的,分布式的,可擴

    2024年01月21日
    瀏覽(18)
  • logstack 日志技術(shù)棧-02-ELK 的缺點?loki 更輕量的解決方案?

    logstack 日志技術(shù)棧-02-ELK 的缺點?loki 更輕量的解決方案?

    如果今天談?wù)摰揭渴鹨惶兹罩鞠到y(tǒng),相信用戶首先會想到的就是經(jīng)典的ELK架構(gòu),或者現(xiàn)在被稱為Elastic Stack。 Elastic Stack架構(gòu)為Elasticsearch + Logstash + Kibana + Beats的組合,其中,Beats負責(zé)日志的采集, Logstash負責(zé)做日志的聚合和處理,Elasticsearch作為日志的存儲和搜索系統(tǒng),Kiba

    2024年01月21日
    瀏覽(17)
  • logstack 日志技術(shù)棧-04-opensource 開源工具 Syslog-ng+Highlight.io

    logstack 日志技術(shù)棧-04-opensource 開源工具 Syslog-ng+Highlight.io

    Syslog-ng 是一個開源的日志管理解決方案,主要用于收集和處理日志數(shù)據(jù)。它可以從多種源收集日志,包括系統(tǒng)日志、網(wǎng)絡(luò)設(shè)備日志和第三方應(yīng)用日志。 然后將日志解析、分類、重寫和關(guān)聯(lián)到統(tǒng)一格式中,然后將其存儲或安全地傳輸?shù)讲煌南到y(tǒng)(如 Apache Kafka 或 Elasticsearch)

    2024年01月21日
    瀏覽(20)
  • 搭建EFK(Elasticsearch+Filebeat+Kibana)日志收集系統(tǒng)[windows]

    搭建EFK(Elasticsearch+Filebeat+Kibana)日志收集系統(tǒng)[windows]

    EFK簡介 Elasticsearch 是一個實時的、分布式的可擴展的搜索引擎,允許進行全文、結(jié)構(gòu)化搜索,它通常用于索引和搜索大量日志數(shù)據(jù),也可用于搜索許多不同類型的文檔。 FileBeats 是數(shù)據(jù)采集的得力工具。將 Beats 和您的容器一起置于服務(wù)器上,或者將 Beats 作為函數(shù)加以部署,然

    2024年02月08日
    瀏覽(29)
  • 從 Elasticsearch 到 Apache Doris,10 倍性價比的新一代日志存儲分析平臺

    從 Elasticsearch 到 Apache Doris,10 倍性價比的新一代日志存儲分析平臺

    作者介紹:肖康,SelectDB 技術(shù)副總裁 日志數(shù)據(jù)的處理與分析是最典型的大數(shù)據(jù)分析場景之一,過去業(yè)內(nèi)以 Elasticsearch 和 Grafana Loki 為代表的兩類架構(gòu)難以同時兼顧高吞吐實時寫入、低成本海量存儲、實時文本檢索的需求。Apache Doris 借鑒了信息檢索的核心技術(shù),在存儲引擎上實

    2024年02月03日
    瀏覽(42)
  • Elasticsearch Windows部署-ELK技術(shù)棧

    Elasticsearch Windows部署-ELK技術(shù)棧

    本文不介紹ELK相關(guān)原理知識,只記錄部署操作過程 下載地址Past Releases of Elastic Stack Software | Elastic 選擇同一版本,這里選擇是當(dāng)前最新版本8.11.3 解壓放在同目錄下,方便后續(xù)操作與使用 由于8.11.3使用自帶jdk,這里可以不用安裝jdk并配置,低版本需要電腦中安裝jdk 設(shè)置一下配

    2024年01月17日
    瀏覽(26)
  • linux安裝filebeat并收集日志到elasticsearch

    linux安裝filebeat并收集日志到elasticsearch

    通過filebeat收集服務(wù)器上各個應(yīng)用的日志到elasticsearch,通過tags區(qū)分不同的應(yīng)用創(chuàng)建不同的索引保存日志。 https://www.elastic.co/cn/downloads/past-releases#filebeat 1:下載并解壓(以7.9.3版本為例) 2:修改配置文件filebeat.yml filebeat.inputs: - type: log ? enabled: true ? paths: ? ? - /logs/app1*.log ?

    2024年02月01日
    瀏覽(16)
  • 從 Elasticsearch 到 Apache Doris,10 倍性價比的新一代日志存儲分析平臺|新版本揭秘

    從 Elasticsearch 到 Apache Doris,10 倍性價比的新一代日志存儲分析平臺|新版本揭秘

    日志數(shù)據(jù)的處理與分析是最典型的大數(shù)據(jù)分析場景之一,過去業(yè)內(nèi)以 Elasticsearch 和 Grafana Loki 為代表的兩類架構(gòu)難以同時兼顧高吞吐實時寫入、低成本海量存儲、實時文本檢索的需求。Apache Doris 借鑒了信息檢索的核心技術(shù),在存儲引擎上實現(xiàn)了面向 AP 場景優(yōu)化的高性能倒排索

    2024年02月12日
    瀏覽(16)
  • 【Elasticsearch】windows安裝elasticsearch教程及遇到的坑

    【Elasticsearch】windows安裝elasticsearch教程及遇到的坑

    一、安裝參考 1、安裝參考:ES的安裝使用(windows版) ?elasticsearch的下載地址:https://www.elastic.co/cn/downloads/elasticsearch ?ik分詞器的下載地址:https://github.com/medcl/elasticsearch-analysis-ik/releases ?kibana可視化工具下載地址:https://www.elastic.co/cn/downloads/kibana ?安裝es之前確保系統(tǒng)已安裝

    2024年04月17日
    瀏覽(27)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包