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!

Enterprise Security Content Update (ESCU) | New Releases

In January, the Splunk Threat Research Team had one release of new security content via the Splunk ES Content ...

Expert Tips from Splunk Professional Services, Ensuring Compliance, and More New ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Observability Release Update: AI Assistant, AppD + Observability Cloud Integrations & ...

This month’s releases across the Splunk Observability portfolio deliver earlier detection and faster ...