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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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