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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...