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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...