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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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