<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I remove a dash (-) from the Account_Name field? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438341#M11902</link>
    <description>&lt;P&gt;The Account_Name and other fields show a dash (-) as a value in addition to the actual Account_Name. I can't filter it out since it does exclude the actual value. How can the field value be rectified to show only the proper value?&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/262583-capture.png" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:24:56 GMT</pubDate>
    <dc:creator>AbelCruz</dc:creator>
    <dc:date>2020-09-29T22:24:56Z</dc:date>
    <item>
      <title>How do I remove a dash (-) from the Account_Name field?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438341#M11902</link>
      <description>&lt;P&gt;The Account_Name and other fields show a dash (-) as a value in addition to the actual Account_Name. I can't filter it out since it does exclude the actual value. How can the field value be rectified to show only the proper value?&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/262583-capture.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:24:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438341#M11902</guid>
      <dc:creator>AbelCruz</dc:creator>
      <dc:date>2020-09-29T22:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove a dash (-) from the Account_Name field?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438342#M11903</link>
      <description>&lt;P&gt;Try this - &lt;/P&gt;

&lt;P&gt;| eval Account_Name = mvindex(Account_Name,1)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:29:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438342#M11903</guid>
      <dc:creator>saurabhkharkar</dc:creator>
      <dc:date>2020-09-29T22:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove a dash (-) from the Account_Name field?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438343#M11904</link>
      <description>&lt;P&gt;Thank you for the suggestion but I need to find the way to fix the filed at indexing so it won't be split in two values and the dash excluded. Excluding/masking it during search will require for me to be always available when a user wants to do a search &lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 17:22:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438343#M11904</guid>
      <dc:creator>AbelCruz</dc:creator>
      <dc:date>2018-12-17T17:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove a dash (-) from the Account_Name field?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438344#M11905</link>
      <description>&lt;P&gt;mvfilter?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval Account_Name=mvfilter(!match(Account_Name,"^-$"))
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Dec 2018 19:08:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438344#M11905</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2018-12-17T19:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove a dash (-) from the Account_Name field?</title>
      <link>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438345#M11906</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;##### Explanation for SEDCMD Extractions #####
## windows_security_event_formater: This will replace all values like "Account Name:-" to "Account Name:"

##### SEDCMD Extractions #####
#SEDCMD-windows_security_event_formater = s/(?m)(^\s+[^:]+\:)\s+-?$/\1/g   
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="https://bitbucket.org/SPLServices/splunk_ta_windows_seckit/src/77ec24861b65c65da24ae4af49301bd6c543c7f4/deps/Splunk_TA_windows/default/props.conf?at=master&amp;amp;fileviewer=file-view-default#props.conf-406" target="_blank"&gt;Source&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Add to props.conf, remove the # before SEDCMD-windows_security_event_formater.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:25:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-do-I-remove-a-dash-from-the-Account-Name-field/m-p/438345#M11906</guid>
      <dc:creator>spayneort</dc:creator>
      <dc:date>2020-09-29T22:25:17Z</dc:date>
    </item>
  </channel>
</rss>

