Splunk Search

Unable to break events using multikv?

sarvesh_11
Communicator

alt textHi Splunkers,
Please find attached image, this is the way i am getting my data.
My desired format is :

Hostname | Microsoft .NET Framework 4.5.1 | Microsoft POS for .NET 1.12 | JAVA 8 Update 60 | UniversalForwarder | - -------
hostA | 4.5.50938 | 1.12.1296 | 8.0.600 | 7.2.5 | - -------

My procedure is, to break the events with multikv and then use transpose.

But multikv is not functioning as desired.

TIA,

0 Karma
1 Solution

to4kawa
Ultra Champion
| rex mode=sed "s/\s\s+/,/g"
| multikv forceheader=2

try this.

View solution in original post

vnravikumar
Champion

Hi

Attachment is missing.

0 Karma

sarvesh_11
Communicator

hi @vnravikumar ,

Updated

0 Karma

to4kawa
Ultra Champion
| rex mode=sed "s/\s\s+/,/g"
| multikv forceheader=2

try this.

sarvesh_11
Communicator

Thanks @to4kawa

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...