Dashboards & Visualizations

Seed deprecated in SimpleXML on Splunk 5.x?

phoenixdigital
Builder

I was curious if seed has been deprecated in Splunk 5.x?

As this no longer pre-populates with the seed value (ignore spaces in XML needed to post here)

    <fieldset>
    <input type="text" token="start_date">
      <label>start date</label>
      < default>< /default>
      < seed>-5mon@mon< /seed>
    < /input>
    <input type="text" token="end_date">
      <label>end date</label>
      < default>< /default>
      < seed>-1mon@mon< /seed>
    < /input>
  </fieldset>

As documented here
http://docs.splunk.com/Documentation/Splunk/5.0/Viz/Buildandeditforms

Edit: It should be noted I attempted removing the default elements but it had no effect.

0 Karma
1 Solution

Leo
Splunk Employee
Splunk Employee

The seed parameter is ignored due to a bug in 5.0. However, < default > accepts the same value you've used in < seed > to prepopulate the field, and can be used instead as a workaround.

View solution in original post

Leo
Splunk Employee
Splunk Employee

The seed parameter is ignored due to a bug in 5.0. However, < default > accepts the same value you've used in < seed > to prepopulate the field, and can be used instead as a workaround.

Leo
Splunk Employee
Splunk Employee

seed was the original default parameter used only for text fields until the new 'default' parameter has been introduced and made common for all inputs.

The bug has been filed.

0 Karma

phoenixdigital
Builder

Cool I did suspect it might be a bug. I am guessing it has already been reported or should I report it?

The more I was looking at it though what is the difference between seed and default anyway?

0 Karma
Get Updates on the Splunk Community!

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 ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...