zoukankan      html  css  js  c++  java
  • 阿里云Elasticsearch filebeat.yml 配置文件


    filebeat.inputs:


    - type: log
    #enabled: ture
    encoding: GB2312

    paths:
    #- /var/log/*.log
    - D:logs*.log

    filebeat.config.modules:
    path: ${path.config}/modules.d/*.yml


    setup.template.settings:
    index.number_of_shards: 1

    setup.kibana:


    host: "https://es-sg-25u1z2ljn000hhwmp.kibana.elasticsearch.aliyuncs.com:5601" #阿里云Kibana 地址

    output.elasticsearch:
    # Array of hosts to connect to.
    username: elastic                            #阿里云Elasticsearch 账号
    password: "sM9oRub4M2roadQa"  #阿里云Elasticsearch 密码
    hosts: ["http://es-sg-25u1z2ljn000hhwmp.elasticsearch.aliyuncs.com:9200"] #阿里云Elasticsearch 地址
    index: 192.168.3.32-%{+yyyy.MM.dd}
    setup.template.name: "192.168.3.32"
    setup.template.pattern: "192.168.3.32-*"
    setup.ilm.enabled: false

    processors:
    - add_host_metadata:
    when.not.contains.tags: forwarded
    - add_cloud_metadata: ~
    - add_docker_metadata: ~
    - add_kubernetes_metadata: ~

  • 相关阅读:
    数据库外键约束
    mysql查询数据
    操作mysql操作数据库
    自定义标签
    jstl标签
    getattibute 与 getparameter区别
    2017.3.2
    java中静态,抽象,接口,继承总结
    关于使用css伪类实现小图标
    动态生成的dom元素绑定事件
  • 原文地址:https://www.cnblogs.com/iantest/p/14190453.html
Copyright © 2011-2022 走看看