All Apps and Add-ons

Feature Request: Add data types to columns, such as integer or enum

martin_mueller
SplunkTrust
SplunkTrust

In many cases, some columns of a lookup should adhere to a data type, for example:

  • assigning a priority from a list of priorities
  • defining a threshold as a number

Restricting the input for such a column to only valid values would greatly ease editing, and would open up editing those columns to a larger group of users.

0 Karma
1 Solution

LukeMurphey
Champion

I have considered this. See http://lukemurphey.net/issues/1551. The KV lookup editor does support some form of this in that it uses the types to indicate which editing widget to use (e.g. a checkbox for booleans).

That said, it doesn't support something richer such as defining a static list of possible values and it doesn't support CSV lookups.

I have also been considering adding the ability to define forms for lookups so that people could just use the form to insert entries into rows (see https://formbuilder.online/). That would likely be a phase two approach.

Feel free to make comments here or in http://lukemurphey.net/issues/1551 if you have more comments.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Good point, will poke Splunk with a separate feature request for an enum type in KV store collections.

0 Karma

lguinn2
Legend

When you create a KV store collection, you can assign data types to the fields, and they will be enforced. Not exactly your question, but related...

LukeMurphey
Champion

I have considered this. See http://lukemurphey.net/issues/1551. The KV lookup editor does support some form of this in that it uses the types to indicate which editing widget to use (e.g. a checkbox for booleans).

That said, it doesn't support something richer such as defining a static list of possible values and it doesn't support CSV lookups.

I have also been considering adding the ability to define forms for lookups so that people could just use the form to insert entries into rows (see https://formbuilder.online/). That would likely be a phase two approach.

Feel free to make comments here or in http://lukemurphey.net/issues/1551 if you have more comments.

martin_mueller
SplunkTrust
SplunkTrust

Thanks, Luke!

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...