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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...