Splunk Search

Remove extra fields

keyu921
Explorer

I search the syntax and find Account_Domain result contains two column. How can I result first column so that I left ALPHA??

ALPHA

Labels (1)
Tags (1)
0 Karma
1 Solution

maityayan1996
Path Finder

| eval Account_Domain=mvindex( Account_Domain,0)

Use this one it will take the 1st column.

View solution in original post

0 Karma

maityayan1996
Path Finder

| eval Account_Domain=mvindex( Account_Domain,0)

Use this one it will take the 1st column.

0 Karma

keyu921
Explorer

Thanks it works

0 Karma

maityayan1996
Path Finder

You are welcome. Happy Splunking !!!

0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...