<?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 Re: remove prefix on every events using SEDCMD in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674688#M112919</link>
    <description>&lt;LI-CODE lang="markup"&gt;SEDCMD-strip-tcp-priority=s/^&amp;lt;\d+&amp;gt;\d\s//&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 18 Jan 2024 15:22:10 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-01-18T15:22:10Z</dc:date>
    <item>
      <title>remove prefix on every events using SEDCMD</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674666#M112914</link>
      <description>&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are getting logs through syslog with its priority / facility data “ &lt;STRONG&gt;&amp;lt;&lt;SPAN&gt;14&lt;/SPAN&gt;&amp;gt;&lt;SPAN&gt;1” &lt;/SPAN&gt;&lt;/STRONG&gt;prepended&amp;nbsp;with every events as below;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;&lt;SPAN&gt;14&lt;/SPAN&gt;&amp;gt;&lt;SPAN&gt;1&lt;/SPAN&gt; 2024-01-18T13:45:06.621+&lt;SPAN&gt;0000&lt;/SPAN&gt; 756565656565701b-cd27-475e-bab4-3e0e0893d273&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;&lt;SPAN&gt;14&lt;/SPAN&gt;&amp;gt;&lt;SPAN&gt;1&lt;/SPAN&gt; 2024-01-18T13:39:47.014+&lt;SPAN&gt;0000&lt;/SPAN&gt; 565gt5t54t-cd27-475e-bab4-565656565gh&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="roopeshetty_1-1705586279086.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28989i1887A1B40DDD58B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="roopeshetty_1-1705586279086.jpeg" alt="roopeshetty_1-1705586279086.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are trying to remove this prefix texts &lt;STRONG&gt;“&amp;lt;14&amp;gt;1&lt;/STRONG&gt;” using &lt;STRONG&gt;SEDCMD&lt;/STRONG&gt;&amp;nbsp; on props.conf as below;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[source::tcp:7514]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SEDCMD-strip-tcp-priority=s/^&amp;lt;\d+&amp;gt;//&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is doing almost very close help by removing “&lt;STRONG&gt;&amp;lt;14&amp;gt;&lt;/STRONG&gt;” but still “&lt;STRONG&gt;1&lt;/STRONG&gt;” is coming up in events. Can some one please help us how to remove this prefix “ &lt;STRONG&gt;&amp;lt;14&amp;gt;1&lt;/STRONG&gt;” on every events using SEDCMD&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 14:01:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674666#M112914</guid>
      <dc:creator>roopeshetty</dc:creator>
      <dc:date>2024-01-18T14:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: remove prefix on every events using SEDCMD</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674668#M112915</link>
      <description>&lt;LI-CODE lang="markup"&gt;SEDCMD-strip-tcp-priority=s/^&amp;lt;\d+&amp;gt;\d//&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Jan 2024 14:05:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674668#M112915</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-18T14:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: remove prefix on every events using SEDCMD</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674671#M112916</link>
      <description>&lt;P&gt;Hi ITWhisperer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, its almost done, but i see a space (gap) before the timestamp, how can we delete this space?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="roopeshetty_1-1705587291332.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/28991i050E7C970797A24B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="roopeshetty_1-1705587291332.png" alt="roopeshetty_1-1705587291332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 14:15:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674671#M112916</guid>
      <dc:creator>roopeshetty</dc:creator>
      <dc:date>2024-01-18T14:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: remove prefix on every events using SEDCMD</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674676#M112917</link>
      <description>&lt;P&gt;If you need to tweak your regexes, that's a great interactive tool to test them.&lt;/P&gt;&lt;P&gt;&lt;A href="https://regex101.com/" target="_blank"&gt;https://regex101.com/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 14:28:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674676#M112917</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-01-18T14:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: remove prefix on every events using SEDCMD</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674688#M112919</link>
      <description>&lt;LI-CODE lang="markup"&gt;SEDCMD-strip-tcp-priority=s/^&amp;lt;\d+&amp;gt;\d\s//&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Jan 2024 15:22:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/remove-prefix-on-every-events-using-SEDCMD/m-p/674688#M112919</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-01-18T15:22:10Z</dc:date>
    </item>
  </channel>
</rss>

