All Apps and Add-ons

How to use the Sideview Utils updater tool to track activities by auto populating each event with two fields from a lookup.csv file?

hartfoml
Motivator

I would like to use the Sideview updater tool to keep track of activities.

The lookup.csv would have fields for each event. I would like to have two fields automatically populated for each line.

I would like to auto populate the date & time for each record and the user how it is entered in the record.

Is there any way to use the Sideview updater tool and have these two fields auto populated?

1 Solution

sideview
SplunkTrust
SplunkTrust

I looked into this and you would have to modify the code in update_lookup.js to accomplish this.

The key part, ie to actually prepopulate the given fields (I assume btw that you mean to prepopulate them whenever a user adds a new row) -- you'd have to add a customBehavior to the Multiplexed HTML module that represents the fields of the "Add New" form, and within that customBehavior implement the HTML module's optional "onHTMLRendered" method.

For the docs about customBehavior go to Tools > Other Tools and scroll to the bottom panel. And Sideview Utils itself has quite a lot of customBehaviors throughout that you can read as examples.

View solution in original post

0 Karma

sideview
SplunkTrust
SplunkTrust

I looked into this and you would have to modify the code in update_lookup.js to accomplish this.

The key part, ie to actually prepopulate the given fields (I assume btw that you mean to prepopulate them whenever a user adds a new row) -- you'd have to add a customBehavior to the Multiplexed HTML module that represents the fields of the "Add New" form, and within that customBehavior implement the HTML module's optional "onHTMLRendered" method.

For the docs about customBehavior go to Tools > Other Tools and scroll to the bottom panel. And Sideview Utils itself has quite a lot of customBehaviors throughout that you can read as examples.

0 Karma

hartfoml
Motivator

Thanks Much Nick for looking into this for me.

I will give it a whirl and se how it comes out. I have never done customBehaviors before. Thanks again for your time.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...