Splunk Search

abstract for event

maheshsat
Explorer

Hi , Could you please help me to use of abstract command for below event.What would be output for below command if used abstract command.Thanks
3/3/18
8:29:19.637 AM

03-03-2018 08:29:19.637 +0530 INFO Metrics - group=udpin_connections, :514, sourcePort=514, _udp_bps=0.00, _udp_kbps=0.00, _udp_avg_thruput=0.00, _udp_kprocessed=0.00, _udp_eps=0.00
host = Maheshs-MacBook-Pro.local message = group=udpin_connections, *:514, sourcePort=514, _udp_bps=0.00, _udp_kbps=0.00, _udp_avg_thruput=0.00, _udp_kprocessed=0.00, _udp_eps=0.00 source = /Applications/Splunk/var/log/splunk/metrics.log sourcetype = splunkd
3/3/18
8:29:19.637 AM

03-03-2018 08:29:19.637 +0530 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=1.2001685845310872, instantaneous_eps=4.193675144310007, average_kbps=1.4621956041103525, total_k_processed=1949, kb=37.2041015625, ev=130, load_average=2.28173828125
host = Maheshs-MacBook-Pro.local message = group=thruput, name=thruput, instantaneous_kbps=1.2001685845310872, instantaneous_eps=4.193675144310007, average_kbps=1.4621956041103525, total_k_processed=1949, kb=37.2041015625, ev=130, load_average=2.28173828125 source = /Applications/Splunk/var/log/splunk/metrics.log sourcetype = splunkd
3/3/18
8:29:19.637 AM

03-03-2018 08:29:19.637 +0530 INFO Metrics - group=thruput, name=syslog_output, instantaneous_kbps=0, instantaneous_eps=0, average_kbps=0, total_k_processed=0, kb=0, ev=0
host = Maheshs-MacBook-Pro.local message = group=thruput, name=syslog_output, instantaneous_kbps=0, instantaneous_eps=0, average_kbps=0, total_k_processed=0, kb=0, ev=0 source = /Applications/Splunk/var/log/splunk/metrics.log sourcetype = splunkd
3/3/18
8:29:19.637 AM

03-03-2018 08:29:19.637 +0530 INFO Metrics - group=thruput, name=index_thruput, instantaneous_kbps=1.200168661963664, instantaneous_eps=3.67753074843138, average_kbps=1.4630094930559567, total_k_processed=1950, kb=37.2041015625, ev=114
host = Maheshs-MacBook-Pro.local message = group=thruput, name=index_thruput, instantaneous_kbps=1.200168661963664, instantaneous_eps=3.67753074843138, average_kbps=1.4630094930559567, total_k_processed=1950, kb=37.2041015625, ev=114 source = /Applications/Splunk/var/log/splunk/metrics.log sourcetype = splunkd
strong text*

Tags (1)
0 Karma

p_gurav
Champion

Hi,

When you use abstract command , it will display summary of event based on maxline settings. Like it shown in attached example screenshots.

Also refer:
https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchReference/Abstract

alt text

alt text

0 Karma

maheshsat
Explorer

Sorry to ask foolish question what is use of maxlines , I don't see any changes when maxillae is set, if is to restrict lines but i don't see line is getting restrict.Thanks

0 Karma
Get Updates on the Splunk Community!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...