Dashboards & Visualizations

Simple XML "set token" was removed suddenly.It's happend frequently, although I did not change it .

Shuhei052492
Path Finder

Hi,

I have a issue about the XML setting.
I set this following setting of "default".But often the and elements were removed.
Not only "thistime" but also the value of "now_time" and "workerlist" were removed.

Does anyone have same case? OR know the cause of it?
This is the folling XML which was often changed.

Regards,

Before(defalut)

    <panel>
      <title>testt title($tok_this_time$ )</title>
      <single>
        <title>Japanese comment</title>
        <search>
          <query>index="test" sourcetype=test
#########Abbreviated search##########
| stats count values(maxtime) as thistime values(maxtime2) as now_time values(list) as wlist
| eval workerlist=mvjoin(wlist," OR ")</query>
          <finalized>
            <condition>
              <set token="tok_this_time">$result.thistime$</set>
              <set token="tok_now_time">$result.now_time$</set>
              <set token="tok_now_worker">$result.workerlist$</set>
            </condition>
          </finalized>
          <earliest>-3mon@mon</earliest>
          <latest>now</latest>
        </search>
        <option name="afterLabel">回</option>
        <option name="beforeLabel">超過回数</option>
        <option name="colorMode">block</option>
        <option name="drilldown">all</option>
        <option name="height">55</option>
        <option name="rangeColors">["0x65a637","0xFFD700","0xd93f3c"]</option>
        <option name="rangeValues">[0,30]</option>
        <option name="refresh.display">preview</option>
        <option name="useColors">1</option>
        <drilldown>
          <link target="_blank">#########Abbreviated path##########</link>
        </drilldown>
      </single>
    </panel>

After

    <panel>
      <title>testt title($tok_this_time$ )</title>
      <single>
        <title>Japanese comment</title>
        <search>
          <query>index="test" sourcetype=test
#########Abbreviated search##########
| stats count values(maxtime) as thistime values(maxtime2) as now_time values(list) as wlist
| eval workerlist=mvjoin(wlist," OR ")</query>
          <earliest>-3mon@mon</earliest>
          <latest>now</latest>
        </search>
        <option name="afterLabel">回</option>
        <option name="beforeLabel">超過回数</option>
        <option name="colorMode">block</option>
        <option name="drilldown">all</option>
        <option name="height">55</option>
        <option name="rangeColors">["0x65a637","0xFFD700","0xd93f3c"]</option>
        <option name="rangeValues">[0,30]</option>
        <option name="refresh.display">preview</option>
        <option name="useColors">1</option>
        <drilldown>
          <link target="_blank">#########Abbreviated path##########</link>
        </drilldown>
      </single>
    </panel>
0 Karma
1 Solution

niketn
Legend

@Shuhei052492, I believe if you are on Splunk Enterprise above 6.5, this is a known bug that Search Event Handler disappears on Editing the Panel through UI. I have noticed this issue on Splunk Enterprise 7.0, but think it is also possible in 6.6.

Please add BUG tag to this question of yours and also follow the question attached herewith so that you get an update from @agoyal who has raised the bug ( SPL-147251 ) :
https://answers.splunk.com/answers/596210/why-done-tag-is-disappeared-when-i-edit-panels-sea.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@Shuhei052492, I believe if you are on Splunk Enterprise above 6.5, this is a known bug that Search Event Handler disappears on Editing the Panel through UI. I have noticed this issue on Splunk Enterprise 7.0, but think it is also possible in 6.6.

Please add BUG tag to this question of yours and also follow the question attached herewith so that you get an update from @agoyal who has raised the bug ( SPL-147251 ) :
https://answers.splunk.com/answers/596210/why-done-tag-is-disappeared-when-i-edit-panels-sea.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

Shuhei052492
Path Finder

Sorry for replying late.
Thank you for your opinion and answer.

This issue is happening on Splunk Enterprise above 6.6.3.
So now I am editing my dashboard carefully.
By the way, I researched "SPL-147251" in Known issue and did not find its article.
If you know the page related with "SPL-147251", Please let me know.

Sincerely,

0 Karma

niketn
Legend

@Shuhei052492, sorry I do not have access to look into Splunk Bugs. You might have to contact @agoyal. I would request you to upvote his question and also follow the same for any updates from Splunk team. I also find this issue disturbing as by mistake if I go to Dashboard source code in Edit Mode, I loose all the changes done to Search Event Handler. Which implies dashboard backup is always required before editing/making even minor changes.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

hidemaru2
New Member

The "finalized" attribute may not be supported because it is not described in the manual in version 6.5 or later.
Why do not you try using "progress"?

0 Karma

Shuhei052492
Path Finder

Thank you for answering.
I tried setting "progress", however this issue happened again....
Maybe, this workaround is just be careful to edit a dashboard.

Regards,

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...