<?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: What is the regular expression for these Event ID codes? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-regular-expression-for-these-Event-ID-codes/m-p/237135#M46063</link>
    <description>&lt;P&gt;1100,1101,1102,1104,1105,1108&lt;BR /&gt;
4624-4627,4634,4646-4668,4670-4672,4675,4690-4691,4698-4702,4704-4707,4709-4720,4722-4735,4737-4794,4797-4803&lt;BR /&gt;
4817-4820,4865-4900,4902,4904-4908,4911-4913,4928-4937,4944-4952,4954,4956-4958,4964,4976,4985&lt;BR /&gt;
5031,5063-5070,5120,5136-5145,5148-5159,5168,5376-5377,5440-5444,5446-5453,5456-5468,5471-5474,5477,5632-5633,5888-5889&lt;BR /&gt;
6144-6145,6272-6280&lt;/P&gt;

&lt;P&gt;This are the list of event codes data i want to send to splunk cloud and for which i need regular expressions.&lt;/P&gt;

&lt;P&gt;please help me in creating regular expressions... help will appreciated...&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2017 17:31:21 GMT</pubDate>
    <dc:creator>chanamoluk</dc:creator>
    <dc:date>2017-01-12T17:31:21Z</dc:date>
    <item>
      <title>What is the regular expression for these Event ID codes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-regular-expression-for-these-Event-ID-codes/m-p/237133#M46061</link>
      <description>&lt;P&gt;Client needs to push these event codes through &lt;STRONG&gt;Heavy Forwarder&lt;/STRONG&gt; to Splunk Cloud.&lt;BR /&gt;
So please help in creating REGEX for filtering the below Event ID's in &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt; and &lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1100,1101,1102,1104,1105,1108
4624-4627,4634,4646-4668,4670-4672,4675,4690-4691,4698-4702,4704-4707,4709-4720,4722-4735,4737-4794,4797-4803
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Jan 2017 16:21:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-regular-expression-for-these-Event-ID-codes/m-p/237133#M46061</guid>
      <dc:creator>chanamoluk</dc:creator>
      <dc:date>2017-01-12T16:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: What is the regular expression for these Event ID codes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-regular-expression-for-these-Event-ID-codes/m-p/237134#M46062</link>
      <description>&lt;P&gt;Hi chanamoluk, &lt;/P&gt;

&lt;P&gt;The IDs you provided are just samples - a small subset of all the event IDs with the same patterns you want to capture, right? &lt;BR /&gt;
If so, I think there are two primary patterns: /d{4} and /d{4}-/d{4}. &lt;/P&gt;

&lt;P&gt;You can then filter out events with these IDs using the following example stanzas - just for your reference. &lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[EventLog:System]
TRANSFORMS = null_queue_filter
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[null_queue_filter]
REGEX = (?m)^EventID=(/d{4}|/d{4}-/d{4})
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps. Thanks!&lt;BR /&gt;
Hunter&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 17:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-regular-expression-for-these-Event-ID-codes/m-p/237134#M46062</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2017-01-12T17:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: What is the regular expression for these Event ID codes?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-regular-expression-for-these-Event-ID-codes/m-p/237135#M46063</link>
      <description>&lt;P&gt;1100,1101,1102,1104,1105,1108&lt;BR /&gt;
4624-4627,4634,4646-4668,4670-4672,4675,4690-4691,4698-4702,4704-4707,4709-4720,4722-4735,4737-4794,4797-4803&lt;BR /&gt;
4817-4820,4865-4900,4902,4904-4908,4911-4913,4928-4937,4944-4952,4954,4956-4958,4964,4976,4985&lt;BR /&gt;
5031,5063-5070,5120,5136-5145,5148-5159,5168,5376-5377,5440-5444,5446-5453,5456-5468,5471-5474,5477,5632-5633,5888-5889&lt;BR /&gt;
6144-6145,6272-6280&lt;/P&gt;

&lt;P&gt;This are the list of event codes data i want to send to splunk cloud and for which i need regular expressions.&lt;/P&gt;

&lt;P&gt;please help me in creating regular expressions... help will appreciated...&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 17:31:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-regular-expression-for-these-Event-ID-codes/m-p/237135#M46063</guid>
      <dc:creator>chanamoluk</dc:creator>
      <dc:date>2017-01-12T17:31:21Z</dc:date>
    </item>
  </channel>
</rss>

