- 博客(7)
- 资源 (15)
- 收藏
- 关注
原创 logstash 收集解析日志文件到ES集群
一般情况下,对于日志的解析和分析,是比较费心费时的一件事,但是借助logstash和es可以快速的把相关的日志文件解析后导入到es进行后期的日志分析和排错。下面就一般的流程作为说明,以供参考准备材料:日志文件,es集群 logstash安装文件步骤一: 1) 因为logstash是基于Java开发的,相关的运行需要jvm支持,因此,在需要在日志文件所在的机器上 需要安装Java并配置相关...
2018-07-10 18:55:48 9006
原创 Ubuntu18.04 安装 sublime3
第一步: Install the GPG key:wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -第二布: Ensure apt is set up to work with https sources:sudo apt-get install apt-transport-...
2018-07-08 18:28:45 3888 1
原创 构建spark源码阅读环境
第一步:访问网站https://github.com/apache/spark下载spark.master,解压文件.第二步:进入spark.master 文件夹,搜索spark*.jar,如下图:第三步: 将搜到文件copy到新建文件夹spark_jars下,待用。第四步:下载安装ideal ,打开后,如下图操作,创建新工程第五步:点击Scala,右边选择sbt.(注,Scala可以在idea官...
2018-05-29 19:55:12 343
原创 Java 实现*.tar.gz文件压缩和解压
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream;import org.apache.commons.compress.utils.IOUtils;import org.
2017-09-09 09:46:12 3875 1
原创 关于matplotlib画图。中文乱码
试了好多种,包括替换字体 ,修改这 修改那,还不行现在找到一个方法,下载某个字体,保存路径代码如下:import matplotlib.pyplot as pltfrom matplotlib.font_manager import FontPropertiesfont = FontProperties(fname = "C:/Users/Administrator/Desktop
2017-08-30 09:37:22 318
原创 win7环境下,全部更新pip的安装包
win7环境下,全部更新pip的安装包import pip from subprocess import call for dist in pip.get_installed_distributions(): call(“pip install –upgrade ” + dist.project_name, shell=True)
2017-08-28 16:43:57 578
原创 intellidea maven compile Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:
对应的target 文件夹处于打开状态,关闭target文件夹即可!
2017-05-22 20:58:06 560
Deep learning with tensorflow
2017-12-07
python 机器学习
2017-09-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人