zoukankan      html  css  js  c++  java
  • Splunk GPP Splunk


    ============================================================================================================================================================
    ============================================================================================================================================================

    Collection Team Team - Request Batch 1

    ============================================================================================================================================================
    ============================================================================================================================================================

    Search Name: PF_LodeRunner_SI_GetDownloadedFileCount

    ORIGINAL QUERY:

    index=applog_pf "Process the element with index" | stats count as DownloadedFileCount | eval Title="ProcessTheElement" | table Title, DownloadedFileCount
    | append [ search index=applog_pf "finish extract data" | stats count as DownloadedFileCount | eval Title="FinishExtractData" | table Title, DownloadedFileCount ]
    | append [ search index=applog_pf "finish extract master data" | stats count as DownloadedFileCount | eval Title="FinishExtractMasterData" | table Title, DownloadedFileCount ]
    | append [ search index=applog_pf "Save file" | stats count as DownloadedFileCount | eval Title="SaveFile" | table Title, DownloadedFileCount ]

    UPDATED QUERY:

    index=applog_pf "Process the element with index" | stats count as DownloadedFileCount | eval Title="ProcessTheElement"
    | append [ search index=applog_pf "finish extract data" | stats count as DownloadedFileCount | eval Title="FinishExtractData" ]
    | append [ search index=applog_pf "finish extract master data" | stats count as DownloadedFileCount | eval Title="FinishExtractMasterData" ]
    | append [ search index=applog_pf "Save file" | stats count as DownloadedFileCount | eval Title="SaveFile" ]
    | table Title, DownloadedFileCount

    UPDATED QUERY FOR SUMMARY INDEXING:

    index=applog_pf "Process the element with index" | sistats count as DownloadedFileCount | eval Title="ProcessTheElement"
    | append [ search index=applog_pf "finish extract data" | sistats count as DownloadedFileCount | eval Title="FinishExtractData" ]
    | append [ search index=applog_pf "finish extract master data" | sistats count as DownloadedFileCount | eval Title="FinishExtractMasterData" ]
    | append [ search index=applog_pf "Save file" | sistats count as DownloadedFileCount | eval Title="SaveFile" ]

    QUERY AGAINST SUMMARY INDEX:

    index=applog_gpp_summary search_name=PF_LodeRunner_SI_GetDownloadedFileCount | stats count as DownloadedFileCount by Title

    Search Name: PF_LodeRunner_SI_GetVisitWebPageCount

    ORIGINAL QUERY:

    index=applog_pf "click completed!" | stats count as VisitFileCount | eval Title="ClickCompleted" | table Title, VisitFileCount
    | append [ search index=applog_pf "Change Combo box completed!" | stats count as VisitFileCount | eval Title="ChangeComboBoxCompleted" | table Title, VisitFileCount ]
    | append [ search index=applog_pf "navigate completed!" | stats count as VisitFileCount | eval Title="NavigateCompleted" | table Title, VisitFileCount ]
    | append [ search index=applog_pf "Save file" | stats count as VisitFileCount | eval Title="SaveFile" | table Title, VisitFileCount ]
    | append [ search index=applog_pf "Process the element with index" | stats count as VisitFileCount | eval Title="ProcessTheElement" | table Title, VisitFileCount ]

    UPDATED QUERY:

    index=applog_pf "click completed!" | stats count as VisitFileCount | eval Title="ClickCompleted"
    | append [ search index=applog_pf "Change Combo box completed!" | stats count as VisitFileCount | eval Title="ChangeComboBoxCompleted" ]
    | append [ search index=applog_pf "navigate completed!" | stats count as VisitFileCount | eval Title="NavigateCompleted" ]
    | append [ search index=applog_pf "Save file" | stats count as VisitFileCount | eval Title="SaveFile" ]
    | append [ search index=applog_pf "Process the element with index" | stats count as VisitFileCount | eval Title="ProcessTheElement" ]
    | table Title, VisitFileCount

    UPDATED QUERY FOR SUMMARY INDEXING:

    index=applog_pf "click completed!" | sistats count as VisitFileCount | eval Title="ClickCompleted"
    | append [ search index=applog_pf "Change Combo box completed!" | sistats count as VisitFileCount | eval Title="ChangeComboBoxCompleted" ]
    | append [ search index=applog_pf "navigate completed!" | sistats count as VisitFileCount | eval Title="NavigateCompleted" ]
    | append [ search index=applog_pf "Save file" | sistats count as VisitFileCount | eval Title="SaveFile" ]
    | append [ search index=applog_pf "Process the element with index" | sistats count as VisitFileCount | eval Title="ProcessTheElement" ]

    QUERY AGAINST SUMMARY INDEX:

    index=applog_gpp_summary search_name=PF_LodeRunner_SI_GetVisitWebPageCount | stats count as VisitFileCount by Title


    ============================================================================================================================================================
    ============================================================================================================================================================

    Collection Team Team - Request Batch 2

    ============================================================================================================================================================
    ============================================================================================================================================================

    Search Name: Downloader_SI_GetSuccessfulDownloadedFileCount

    ORIGINAL QUERY:

    index=gpp "processname=downloader" "File Downloaded Successfully" | stats count(FileId) as FileCountOfSuccessfulDownload by ProcessName | table ProcessName, FileCountOfSuccessfulDownload
    | append [ search index=gpp "processname=downloader" "File Downloaded Successfully" | stats count(FileId) as FileCountOfSuccessfulDownload | table ProcessName, FileCountOfSuccessfulDownload ]

    UPDATED QUERY:

    index=gpp ProcessName=downloader* "File Downloaded Successfully" | stats count(FileId) as FileCountOfSuccessfulDownload by ProcessName | table ProcessName, FileCountOfSuccessfulDownload | addcoltotals labelfield=ProcessName label=ALL

    UPDATED QUERY FOR SUMMARY INDEXING:

    index=gpp ProcessName=downloader* "File Downloaded Successfully" | sistats count(FileId) as FileCountOfSuccessfulDownload by ProcessName

    QUERY AGAINST SUMMARY INDEX:

    index=applog_gpp_summary search_name=Downloader_SI_GetSuccessfulDownloadedFileCount | stats count(FileId) as FileCountOfSuccessfulDownload by ProcessName | table ProcessName, FileCountOfSuccessfulDownload | addcoltotals labelfield=ProcessName label=ALL

    Search Name: GPP_Downloader_SI_GetFailedDownloadedFileCount

    ORIGINAL QUERY:

    index=gpp "processname=downloader" "Download file unsuccessfully" | stats count as FileCountOfFailedDownload BY ProcessName | table ProcessName, FileCountOfFailedDownload
    | append [ search index=gpp "processname=downloader" "Download file unsuccessfully" | stats count as FileCountOfFailedDownload | table ProcessName, FileCountOfFailedDownload ]

    UPDATED QUERY:

    index=gpp ProcessName=downloader* "Download file unsuccessfully" | stats count as FileCountOfFailedDownload BY ProcessName | table ProcessName, FileCountOfFailedDownload | addcoltotals labelfield=ProcessName label=ALL

    UPDATED QUERY FOR SUMMARY INDEXING:

    index=gpp ProcessName=downloader* "Download file unsuccessfully" | sistats count as FileCountOfFailedDownload BY ProcessName

    QUERY AGAINST SUMMARY INDEX:

    index=applog_gpp_summary search_name=GPP_Downloader_SI_GetFailedDownloadedFileCount | stats count as FileCountOfFailedDownload BY ProcessName | table ProcessName, FileCountOfFailedDownload | addcoltotals labelfield=ProcessName label=ALL

    Search Name: GPP_Downloader_SW_GetFailedFileSourceTrackingCount

    ORIGINAL QUERY:

    index=gpp "processname=downloader" "Error occurs when AddFileSourceTracking" | stats count(FileId) as ErrorCountOfFailedAddFileSourceTracking by ProcessName | table ProcessName, ErrorCountOfFailedAddFileSourceTracking
    | append [ search index=gpp "processname=downloader" "Error occurs when AddFileSourceTracking" | stats count(FileId) as ErrorCountOfFailedAddFileSourceTracking | table ProcessName, ErrorCountOfFailedAddFileSourceTracking ]

    UPDATED QUERY:

    index=gpp ProcessName=downloader* "Error occurs when AddFileSourceTracking" | stats count(FileId) as ErrorCountOfFailedAddFileSourceTracking by ProcessName | table ProcessName, ErrorCountOfFailedAddFileSourceTracking | addcoltotals labelfield=ProcessName label=ALL

    UPDATED QUERY FOR SUMMARY INDEXING:

    index=gpp ProcessName=downloader* "Error occurs when AddFileSourceTracking" | sistats count(FileId) as ErrorCountOfFailedAddFileSourceTracking by ProcessName

    QUERY AGAINST SUMMARY INDEX:

    index=applog_gpp_summary search_name=GPP_Downloader_SW_GetFailedFileSourceTrackingCount | stats count(FileId) as ErrorCountOfFailedAddFileSourceTracking by ProcessName | table ProcessName, ErrorCountOfFailedAddFileSourceTracking | addcoltotals labelfield=ProcessName label=ALL


    Search Name: GPP_Downloader_SW_GetFailedMatchedFileNameListCount

    ORIGINAL QUERY:

    index=gpp "processname=downloader" "Error occurs when GetMatchedFileNameList" | stats count as ErrorCountOfGetMatchedFileFailed by ProcessName | table ProcessName, ErrorCountOfGetMatchedFileFailed
    | append [ search index=gpp "processname=downloader" "Error occurs when GetMatchedFileNameList" | stats count as ErrorCountOfGetMatchedFileFailed | table ProcessName, ErrorCountOfGetMatchedFileFailed ]

    UPDATED QUERY:

    index=gpp ProcessName=downloader* "Error occurs when GetMatchedFileNameList" | stats count as ErrorCountOfGetMatchedFileFailed by ProcessName | table ProcessName, ErrorCountOfGetMatchedFileFailed | addcoltotals labelfield=ProcessName label=ALL

    UPDATED QUERY FOR SUMMARY INDEXING:

    index=gpp ProcessName=downloader* "Error occurs when GetMatchedFileNameList" | sistats count as ErrorCountOfGetMatchedFileFailed by ProcessName

    QUERY AGAINST SUMMARY INDEX:

    index=applog_gpp_summary search_name=GPP_Downloader_SW_GetFailedMatchedFileNameListCount | stats count as ErrorCountOfGetMatchedFileFailed by ProcessName | table ProcessName, ErrorCountOfGetMatchedFileFailed | addcoltotals labelfield=ProcessName label=ALL

  • 相关阅读:
    URL 转化为 Dictionary 字典
    ios 续费 问题 冰山一角
    1.node.js在遇到“循环+异步”时的注意事项
    1.【微信小程序经验】各类图表相关组件+Demo源码(折线图,柱状图,K线,分时图)
    10. 启动WPS for Linux后,出现提示"系统缺失字体"
    8.Postman中发送请求被拦截(证书问题)
    20.mysql查看sql执行时间
    19.Mysql索引结构及常见索引的区别
    18.mysql优化(三)–explain分析sql语句执行效率
    9.安装的第一个Linux系统 -Linux Mint 18.1 cinnamon
  • 原文地址:https://www.cnblogs.com/flysun0311/p/2694774.html
Copyright © 2011-2022 走看看