<?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 can index specific event in log? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-index-specific-event-in-log/m-p/421495#M121051</link>
    <description>&lt;P&gt;Hello I hope can you help me&lt;/P&gt;

&lt;P&gt;For example I have this event in log:&lt;/P&gt;

&lt;P&gt;18-05-30;15:38:06.282 \hola.1,237 aaaaaa bbb&lt;BR /&gt;
ccccccc ddd&lt;/P&gt;

&lt;P&gt;With configuration below index only events that cointain ddd in log&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[tef]&lt;BR /&gt;
TRANSFORMS-set= setnull,setparsing&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX = ddd&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;But I don't want index event complete, only "ddd"&lt;/P&gt;

&lt;P&gt;Thank you in advance &lt;/P&gt;</description>
    <pubDate>Thu, 05 Jul 2018 19:37:26 GMT</pubDate>
    <dc:creator>rjfv8205</dc:creator>
    <dc:date>2018-07-05T19:37:26Z</dc:date>
    <item>
      <title>How can index specific event in log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-index-specific-event-in-log/m-p/421495#M121051</link>
      <description>&lt;P&gt;Hello I hope can you help me&lt;/P&gt;

&lt;P&gt;For example I have this event in log:&lt;/P&gt;

&lt;P&gt;18-05-30;15:38:06.282 \hola.1,237 aaaaaa bbb&lt;BR /&gt;
ccccccc ddd&lt;/P&gt;

&lt;P&gt;With configuration below index only events that cointain ddd in log&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[tef]&lt;BR /&gt;
TRANSFORMS-set= setnull,setparsing&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[setnull]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX = ddd&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;But I don't want index event complete, only "ddd"&lt;/P&gt;

&lt;P&gt;Thank you in advance &lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 19:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-index-specific-event-in-log/m-p/421495#M121051</guid>
      <dc:creator>rjfv8205</dc:creator>
      <dc:date>2018-07-05T19:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can index specific event in log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-index-specific-event-in-log/m-p/421496#M121052</link>
      <description>&lt;P&gt;if your event parsing is correct, I think you just need to reverse order in the props - transforms-set. First Match and send to indexqueue, then everything else to nullqueue&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-set= setparsing,setnull
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Oct 2018 20:58:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-index-specific-event-in-log/m-p/421496#M121052</guid>
      <dc:creator>akocak</dc:creator>
      <dc:date>2018-10-12T20:58:50Z</dc:date>
    </item>
  </channel>
</rss>

