logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

logstash 无法连接elasticsearch

在本地docker 中安装并运行了上述两个镜像,发现logstash一直无法连接elasticsearch。查看logstash日志,发现抱错信息:WARNlogstash.outputs.elasticsearch - Attempted to resurrect connection to dead ES instance,but got an error. {:url=>“http:/

#elasticsearch
logstash 启动命令

1. 指定配置文件启动斌目录下执行./logstash -f /etc/logstash/config.d/xxx.conf &配置数据存储路径参考:https://blog.csdn.net/sxf_123456/article/details/788639492. pipelines 启动pipelines 实现批量运行,配置之后不用一个一个指定启动参考:https://blog.cs

linux 测试 ip、端口号可用性

1. curl参考https://blog.csdn.net/leinminna/article/details/122855090?spm=1001.2014.3001.55012. telnettelnet 218.14.227.197 88893. 其他服务器内部// 查询运行的端口号netstat -tnlp|grep 8889// 直接查询运行的 jarps -ef| grep nbi-

#linux#服务器#运维
Mixed Content: The page at ‘https://xxx.com/‘ was loaded over HTTPS, but requested an insecure XMLHt

前端代码中使用的是http://ip_address:port/api,进行接口调用;前端使用 https://domain.com/api ,进行接口调用;

文章图片
#https#网络协议#http
springBoot 项目排除数据库启动

1. 场景在家里运行项目,运行springBoot的时候报数据库连接不了,公司的数据库家里不能连接。2. 配置2.1 保留之前的properties 配置不注释;2.2 在启动类中添加, exclude = {DataSourceAutoConfiguration.class}package cn.cncommdata.file;import org.mybatis.spring....

mysql分组排序取第一条数据

需求:mysql 根据一个字段分组,各种排序,然后,取第一条数据1.分组字段加排序字段先排序2. 再按分组字段分组,取第一条即可witht_picture as(SELECT npi_product_id,is_default_one,update_time, uri FROM datahub_product_attachment where type=1 ORDER BY npi_product

#mysql#数据库#database
java util.date和sql.date

1. 遍历时间区间/*** 1. 触发时获取当前时间点时间;* 2. 获取后3年的时间数据;(需要干掉当前时间之后的数据)* 3. 解析每一天的数据:日/周/月/季度/年/财年.../假期,封装list;* 4. 批量新增list** @author: leiming5*/private void handle() {Date startDate = new Date();

JAVA原生实现SOAP POST调用

最近客户给了一个 API,如图,最开始以为是一个传统的post请求,结果始终返回一段奇怪的响应。豆包和Deepseek 给了一种非原生的方式,需要安装依赖和执行wsimport命令行命令。最后和小伙伴沟通、查阅资料后才知道是一种特有的SOAP协议的请求方式。

#java
    共 15 条
  • 1
  • 2
  • 请选择