Splunk Search

Can you help me with the following search in Splunk?

vumanhtai
Path Finder

Hi Team Splunk!
alt text

How can i do this?

Thanks!

0 Karma

nagarjuna280
Communicator

| table src_ip dest_ip megabyte | addcoltotals megabyte labelfield=total(megabytes) label="src_ip"

0 Karma

vumanhtai
Path Finder

thank you!
but result is not i want

0 Karma

dflodstrom
Builder

You can use 'addcoltotals' to display a total for your megabyte column. Add this to the end of your search | addcoltotals labelfield=dest_ip label= "total(megabyte)" megabyte It won't display like you're showing with a merged cell though.

0 Karma

vumanhtai
Path Finder

thank you!
but result is not i want

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!