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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...