服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. linux shell
  3. 从日志文件中提取信息进行聚合
Intereting Posts
Pentaho Windowsbatch file在Windows Server 2008上执行时未运行 图像优化工具? 多宿主Windows 2008服务器/ Windows 7客户端 如何限制文件复制的带宽? mod_alias.c规则redirect所有子目录 Windows:如何在MS DNS上设置反向DNS? Exchange 2010 PowerShell:Value.ToMB()方法远程失败,但本地工作 墙上插孔到配线架? 我可以通过JBOD存储子系统获得冗余吗? 从VPS切换到EC2是明智的吗? FreeBSD虚拟机pipe理程序? 为什么名称parsing不能在服务器上工作? 通过主机名无域访问服务器 SED替代多条线路 RHEL 5安装RAW设备

从日志文件中提取信息进行聚合

给定以下格式的日志

2009-11-11 13:13:44,716 INFO Something happened : problem description . Waited 3 seconds 2009-11-11 13:23:44,716 INFO Something happened : problem description . Waited 1 second 2009-11-11 13:33:44,716 INFO Something happened : some other problem description . 

我怎样才能提取之间的string:和. ?

  • 有没有一种方法可以确定某个MAC地址是否来自Synology Cubestation的本地networking,而该networking没有arp?
  • 当x服务器崩溃时保持键盘活着
  • 函数在脚本文件中使用时不起作用。显示错误命令未find
  • Sudoers统治没有如预期的那样开火
  • 提取日志文件的最后一部分

也许:

 <logfile sed -e"s/^.* : \(.*\) \..*/\1/" 
 cat logfile | cut -f1 -d. | cut -f4 -d: 
  • 如果我在一个虚拟机上安装了debian,我能做些什么样的testing呢? 限制?
  • 为什么上次显示随机IP地址?
  • Linux上的XAMPP服务器使用“nobody”用户
  • 在Ubuntu 9.10上安装vmware server 2.02乱七八糟
  • Redhat Enterprise服务器正在重新启动并closures莫名其妙
  • 更改Linuxnetworking设置
  • 通过telnet连接到服务器时延迟
  • VMware Server 2.0.2和Firefox 3.6 RC1
  • 不能分配内存,虽然有空闲内存?
  • 如何“分发”memcached?

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy