Splunk Search

accum command for field

maheshsat
Explorer

I have field called test, what would be out if use assume command

command: -- | accum test as test2 ( It will create test2 field but what would be the result).Thanks

test
1
90
3
4
5
6
8
1
1

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Just run this:

| makeresults | eval test = "1 90 3 4 5 6 8 1 1" | makemv test | mvexpand test | accum test as test2

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Just run this:

| makeresults | eval test = "1 90 3 4 5 6 8 1 1" | makemv test | mvexpand test | accum test as test2
0 Karma

maheshsat
Explorer

correction not assume command it is accum command.thanks

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...