学习Splunk Fundamentals Part 2 (IOD) 和 Splunk Fundamentals Part 1课程的笔记。

    1. Chart

      1. Over

      2. By

      3. Tips:

        1. ….|chart count over host by product_name usenull=f useother=f
        2. Only first value after by modifier effect
    2. Timechart

      1. Time is alwarys the X axis
      2. Only first value after by modifier effect
      3. Span=12hr
      4. Use the limit option to include only the 5 best-selling products.
      5. Splunk automatically calculates the top products by totaling each column and taking the top n results (n being the number you specify in your limit).
      6. …|timechart count by product_name limit=0
    3. Iplocation

      1. …|iplocation src_ip
    4. Maps

      1. Marker maps
      2. Choropleth maps
    5. Geostats

      1. …|geostats latfield=xx longfield=xx count
      2. Latfield
    6. Geom

      1. (geom geo_us_states featureIdField=VendorStateProvince)
      2. index=sales sourcetype=vendor_sales VendorID < 3000 |chart count by VendorStateProvince |geom
      3. geo_us_states featureIdField=VendorStateProvince
    7. Trendline

      1. Wma2 weighted moving average
      2. Sma simple moving average
      1. Ema exponenial moving average 指数
    8. Addtotals

      1. Col=true
      2. Label="xx"
      3. Labelfield="xx"
      4. Fieldname=xx
      5. Row=false
    9. Eval

      1. Tostring format values will changing their characteristics
      2. destination field for the eval command
      3. already exists overwritten by the new field
      4. defined in the eval command
    10. Fieldformat

      1. Not change chararistic
    11. Search

      1. index=security sourcetype=linux_secure fail* |stats count by user|search count>3 |sort -count
      2. 不可以接函数,where场景更多
    12. Where

      1. index=network sourcetype=cisco_wsa_squid |stats count by http_content_type |eval type=if(http_content_type LIKE "image%","graphic","other")
      2. No results are found because the search command cannot compare values from two different fields. (As you saw earlier, the where command can do this.)
      3. … | where a>2 AND b>4
    13. Lookup

    14. Transaction

      1. Endwith
      2. Startwith
      3. : The search command must be downstream from the transaction command.
      4. Duration
      5. Eventcount
      6. Maxspan
    15. Name conventions

      1. Group

      2. Type

      3. Platform

      4. Category

      5. Time

      6. Description

      7. Tips:

        1. OPS_WFA_Network_Security_na_IPwhoisAction
        2. It is suggested that you name your Knowledge Objects using 6_ segmented keys.
    16. Field Extractor (FX)

      1. Extract your own field

      2. Access FX via Settings, Fields Sidebar, or Event Action menu

      3. Extraction Methods

        1. Regex
        2. Delimiter
    17. Field Aliaes

      1. A way to normalize data
      2. Support multiple aliases
      3. Applied after field extractions,before lookup
      4. Can apply to lookup
    18. Calculated

      1. A caculated field must be based on an extracted or discovered field, Not from lookup table or search
    19. Tags

      1. Nicknames for related field/values

      2. One or more tags for any field/values

      3. Case Sensitiv

      4. Search syntax

        1. Tag=tagenam
        2. Tag::filed=tagname
        3. Tag=p* (partial field value)
    20. Even Types

      1. Categorizing events based on search
      2. Tagged to group similar types of event
      3. No time range
      4. Can be inclued in a search sting
    21. Macro

      1. Store entire search strings
      2. Time range independent
      3. Pass arguments to the search
      4. Expanding search ctr+shift+e
    22. Workflow

      1. Get workflow
      2. Post workflow
      3. Search workflow
    23. Knowledge Object

    24. Data Models

      1. Data model is structured datasets

      2. 3 types dataset

        1. Events
        2. Searchs
        3. Transacitons
      3. Acceleration

    25. Events Dataset

      1. Constraints
      2. Fields
    26. Dataset field

      1. Auto-extractd

        1. Field type

          1. String
          2. Number
          3. Boolean
          4. IPV4
        2. Field flags

          1. Optional
          2. Required
          3. Hidden
          4. Hidden & required
      2. Eval expression

      3. Lookup

      4. Regular expression

      5. Geo ip

    27. Pivot

      1. Used for creating reports and dashboards, which are based on dataset
    28. CIM Add-on ( Common Information Model)

      1. Normalize data
      2. Easier correlation data
      3. Object permission
    29. Datamodel command

      1. |datamodel Web Web search |fields web*

Splunk笔记的更多相关文章

  1. Splunk 简单笔记

    Splunk Notes source="c:\logs\abc.log" | rex field=url "(?<=\/)(?<ApiId>\w+?) ...

  2. 一起学习 微服务(MicroServices)-笔记

    笔记 微服务特性: 1. 小 专注与做一件事(适合团队就是最好的) 2. 松耦合 独立部署 3. 进程独立 4. 轻量级通信机制 实践: 1. 微服务周边的一系列基础建设 Load Balancing ...

  3. Splunk大数据分析经验分享

    转自:http://www.freebuf.com/articles/database/123006.html Splunk大数据分析经验分享:从入门到夺门而逃 Porsche 2016-12-19 ...

  4. git-简单流程(学习笔记)

    这是阅读廖雪峰的官方网站的笔记,用于自己以后回看 1.进入项目文件夹 初始化一个Git仓库,使用git init命令. 添加文件到Git仓库,分两步: 第一步,使用命令git add <file ...

  5. js学习笔记:webpack基础入门(一)

    之前听说过webpack,今天想正式的接触一下,先跟着webpack的官方用户指南走: 在这里有: 如何安装webpack 如何使用webpack 如何使用loader 如何使用webpack的开发者 ...

  6. SQL Server技术内幕笔记合集

    SQL Server技术内幕笔记合集 发这一篇文章主要是方便大家找到我的笔记入口,方便大家o(∩_∩)o Microsoft SQL Server 6.5 技术内幕 笔记http://www.cnbl ...

  7. PHP-自定义模板-学习笔记

    1.  开始 这几天,看了李炎恢老师的<PHP第二季度视频>中的“章节7:创建TPL自定义模板”,做一个学习笔记,通过绘制架构图.UML类图和思维导图,来对加深理解. 2.  整体架构图 ...

  8. PHP-会员登录与注册例子解析-学习笔记

    1.开始 最近开始学习李炎恢老师的<PHP第二季度视频>中的“章节5:使用OOP注册会员”,做一个学习笔记,通过绘制基本页面流程和UML类图,来对加深理解. 2.基本页面流程 3.通过UM ...

  9. NET Core-学习笔记(三)

    这里将要和大家分享的是学习总结第三篇:首先感慨一下这周跟随netcore官网学习是遇到的一些问题: a.官网的英文版教程使用的部分nuget包和我当时安装的最新包版本不一致,所以没法按照教材上给出的列 ...

随机推荐

  1. nodejs的交叉(跨平台)编译(to android)

    nodejs的二进制包有两种安装方式node-gyp以及node-pre-gyp 这两条命令会写入该包的安装脚本. node-gyp是使用gyp工具编译源码,因此必须指定交叉编译器(参见http:// ...

  2. 「日常训练」「小专题·USACO」 Wormholes(1-4)

    题意 之后补充. 分析 这是一条很好的考察递归(或者说搜索)的题目.它的两个过程(建立初步解,验证)都用到了递归(或者说运用递归可以相当程度的减少代码量). 具体实现见代码.注意,为了使用std::p ...

  3. Qt C++ 并发,并行,多线程编程系列1 什么是并发

    什么是并发,并发往简单来说就是两个或多个独立的任务同时发生,在我们的生活中也是随处可见.如果把每个人都当作一个独立的任务,那每个人可以相互独立的生活,这就是并发. 在计算机的系统里面,并发一般有两种, ...

  4. django中判断当前user具有是否有对模块的增删改查权限

    首先简单了解一下user的一些属性 User对象 User对象是认证系统的核心.用户对象通常用来代表网站的用户,并支持例如访问控制.注册用户.关联创建者和内容等.在Django认证框架中只有一个用户类 ...

  5. 九度OJ--1164(C++)

    #include <iostream>#include <vector> using namespace std; int main() { int n; // n为矩阵阶数 ...

  6. C++的几种字符类型

    我们在C学过了char字符类型. 在C++中,char是基本的字符类型,但却不仅仅有这一种字符类型! 类型 含义 该类型数据所占的最小比特位数 char 字符 8位(即可表示28个字符) wchar_ ...

  7. c# mysql blob数据类型

    1.采用stream流形式写入: #region 数据流转换成blob类型数据写入数据库 static public bool StreamToBlob(ref Stream stream, Odbc ...

  8. 《Effective STL》学习笔记

    http://www.cnblogs.com/arthurliu/archive/2011/08/07/2108386.html 作者:咆哮的马甲 出处:http://www.cnblogs.com/ ...

  9. RegExp & bug

    RegExp & bug translated bug // OK && tranlate `/` let new_obj_reg = new RegExp(`^(([^< ...

  10. kali linux下的常用bash命令

    虚拟机版本默认用户root 密码toor ls:显示当前目录包含的文件及文件夹 ls -l:以常规格式显示当前目录包含的文件及文件夹(开头字母解释:d:目录 -:文件 c:设备文件 l:链接 b:块设 ...