Dashboards & Visualizations

help me with dashboard XML

sravankaripe
Communicator

i am finding difficulty with dashboard XML beacause of

tag SubErrorCode
please help me with this

  <search>
   <query>-------------| rex "\"subErrorCode\":\"(?<SubErrorCode>w\w\w_\d+)"| dedup  SubErrorCode |table SubErrorCode </query>
  </search>
0 Karma
1 Solution

sravankaripe
Communicator

i got it by using escape characters

0 Karma

aaraneta_splunk
Splunk Employee
Splunk Employee

@sravankaripe: Did your answer provide a working solution to your question? If yes, don't forget to click "Accept".

0 Karma

sravankaripe
Communicator

Ok, it's working for me

0 Karma

sravankaripe
Communicator

-------------| rex "\"subErrorCode\":\"(?<SubErrorCode&gtw\w\w_\d+)"| dedup SubErrorCode |table SubErrorCode

0 Karma

sravankaripe
Communicator

tag SubErrorCode

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...