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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...