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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...