Security

No show user with Backslash

edfuenteso
New Member

Hello,
I have the next source that is a form with inputs, but the user input have users with backslash and when i choice the user, it's not show.
How i can to do this?

Example: in the input user i have CUSTOMER\admin_moss

Accesos a BD SQL Server

<!-- Create a text box; token is "series"                         -->
<!-- label: Label for the text box                                -->
<!-- default: Default value for the form                          -->
<!-- suffix: All tokens are followed by a *                       -->
<!--         If user does not specify text, then search uses '*'  -->
<input type="dropdown" token="user" searchWhenChanged="true">
  <label>Selecciona un Usuario:</label>
  <default>*</default>
  <!-- Define the default value -->
  <choice value="*">All</choice>
  <!-- Define the choices with a populating search -->
  <populatingSearch fieldForValue="user" fieldForLabel="user" earliest="-24h" latest="now">
    <![CDATA[index=sqlserver_audit | stats count by "user"]]>
  </populatingSearch>
</input>
<input type="dropdown" token="estado" searchWhenChanged="true">
  <label>Selecciona Resultado Conexión :</label>
  <default>*</default>
  <!-- Define the default value -->
  <choice value="*">All</choice>
  <!-- Define the choices with a populating search -->
  <populatingSearch fieldForValue="estado" fieldForLabel="estado" earliest="-24h" latest="now">
    <![CDATA[index=sqlserver_audit | stats count by estado]]>
  </populatingSearch>
</input>
<input type="dropdown" token="dbname" searchWhenChanged="true">
  <label>Selecciona Nombre de la BD:</label>
  <default>*</default>
  <!-- Define the default value -->
  <choice value="*">All</choice>
  <!-- Define the choices with a populating search -->
  <populatingSearch fieldForValue="dbname" fieldForLabel="dbname" earliest="-24h" latest="now">
    <![CDATA[index=sqlserver_audit | stats count by dbname]]>
  </populatingSearch>
</input>
<!-- Add time range picker -->
<input type="time" searchWhenChanged="true">
  <default>
    <earliestTime>-25h</earliestTime>
    <latestTime>now</latestTime>
  </default>
</input>


<!-- Show results as a table -->
<table>
  <option name="showPager">true</option>
  <option name="count">20</option>
</table>
Tags (1)
0 Karma

somesoni2
Revered Legend

What's the panel search where $user$ token is used? Does the value in your logs has user with single backslash on ?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...