icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading MV-table
SHA256 checksum (mv-table_101.tgz) 8e7bf579bb1c8ca7cb06d027700e0c874b2491fdd872c8067396cb68015ed23e SHA256 checksum (mv-table_10.tgz) c4ad9d6ed42f69e16e957cb91578dbcde55c9b1ebb6c4f039553aa4b6daa2049
To install your download
To install apps and add-ons from within Splunk Enterprise
  1. Log into Splunk Enterprise.
  2. On the Apps menu, click Manage Apps.
  3. Click Install app from file.
  4. In the Upload app window, click Choose File.
  5. Locate the .tar.gz file you just downloaded, and then click Open or Choose.
  6. Click Upload.
  7. Click Restart Splunk, and then confirm that you want to restart.
To install apps and add-ons directly into Splunk Enterprise
  1. Put the downloaded file in the $SPLUNK_HOME/etc/apps directory.
  2. Untar and ungzip your app or add-on, using a tool like tar -xvf (on *nix) or WinZip (on Windows).
  3. Restart Splunk.
After you install a Splunk app, you will find it on Splunk Home. If you have questions or need more information, see Manage app and add-on objects.

Flag As Inappropriate

splunk

MV-table

Overview
Custom command to generate table from multivalue events
example for wsus data:

| mvtable mvfields="kbnumber,arrival_date" keepfields="host,OS,_time" | table *

mvfields: fields containing several values, cardinality of the first field in the list is assumed to be the desired number of output rows. keepfields: specify the single value fields to be retained on each resulting row.

Example from the screenshot:
| makeresults | eval kbnumber="1234 5678 9012" | eval arrival_date="2019.05.17 2019.05.17 2019.05.17 2019.05.17" | eval host="test" | eval OS="Windows 10"
| eval kbnumber=split(kbnumber," ") | eval arrival_date=split(arrival_date," ")
| mvtable mvfields="kbnumber,arrival_date" keepfields="host,OS,_time" | table *

Release Notes

Version 1.0.1
Nov. 25, 2019

Adjusted for python 3 on splunk 8. Nothing new. Icludeds a samle in the description though.

Version 1.0
April 4, 2018

Initial release

Simple custom command to make events with one or many multivalue fields into a table by expanding each event

Example with wsus data:

| mvtable mvfields="kbnumber,arrival_date" keepfields="host,OS,_time"

mvfields being the fields containing several values and keepfields limiting the retained fields on the resulting table. Then format it as a table with | table * or whatever.

42
Installs
285
Downloads
Share Subscribe LOGIN TO DOWNLOAD

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.