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!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

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

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...