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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...