Splunk Search

Splunk strange bug with the command "Fields" and space

guilpink
New Member

Hello Community,

I have a strange behavior with a command when it is on the search field of a Dashboard.

In my command from a dashboard: sourcetype=blabla ...... | fields - RPTMois

When I load the Dashboard, 1/2 times the end of the command become: fields-RPTMois, for every Graphic of the Dashboard. Of course because of that, the Graphic doesn't display anything.

Is it a known bug?

Thank you

0 Karma

guilpink
New Member

Hello Graham,

Thank you for your Help, I will try this and post the XML if it doesnt work.

Thank you again.

Have a good day.

0 Karma

gvmorley
Contributor

Hi,

Would you be able to post the XML of your dashboard?

One thing to try is if you're using an inline search, you could wrap the query in the <![CDATA[]]> tag and see if that helps.

So it would look like:

<search>
  <query>
    <![CDATA[sourcetype=blabla... | fields - RPTMois]]>
  </query>
</search>

From my understanding, anything inside this CDATA tag is not parsed by the XML interpreter, so should be 'left alone'.

See if it helps.

If not, post up your Dashboard code (and also the version of Splunk that you're using) and I'm sure there's a solution.

Graham.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...