Splunk Search

multikv on raw data (row timestamp)

minkyuk
Explorer

Hello-
I'll jump into the main part.

Here is a snippet:
Tue 2015 15:00:23
ZGD-OCU-QQQ
POS-BKD-AKD
COK-ZPP-AKF

DISK-------USAGE-------HOST

My multikv extraction thinks "ZGD-OCU-QQQ" is my "fields".
It definitely is correctly extracting the information, but I'm trying to find a way to skip 3 lines-rows- after the timestamp to extract correct fields.

I would appreciate any help..!
J

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Try ... | multikv start_line=4 .... Adjust the start_line value as necessary.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try ... | multikv start_line=4 .... Adjust the start_line value as necessary.

---
If this reply helps you, Karma would be appreciated.
0 Karma

minkyuk
Explorer

I still need to read the first line to record the Timestamp, however.

Could I use any variation?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Use rex to extract the timestamp before using multikv on the rest.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

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 ...