<?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 Why isn't this data indexing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323089#M60169</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I am trying to filter the data to be indexed however not success. Nothing is indexed.&lt;/P&gt;

&lt;P&gt;I have the below log file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt; 2017-12-06 16:25:44.569 Script: Session started.
&amp;lt; 2017-12-06 16:25:44.569 Executing user defined command on command session.
&amp;gt; 2017-12-06 16:25:44.569 [Shell] df -gt /amb/local/sap_sd ; echo "WinSCP: this is end-of-file:$?"
&amp;lt; 2017-12-06 16:25:44.569 Script: Filesystem    GB blocks      Used      Free %Used Mounted on
&amp;lt; 2017-12-06 16:25:44.569 [Shell] Filesystem    GB blocks      Used      Free %Used Mounted on
&amp;lt; 2017-12-06 16:25:44.569 Script: /dev/lvsapsd       9.00      5.21      3.79   58% /amb/local/sap_sd
&amp;lt; 2017-12-06 16:25:44.569 [Shell] /dev/lvsapsd       9.00      5.21      3.79   58% /amb/local/sap_sd
&amp;lt; 2017-12-06 16:25:44.569 [Shell] WinSCP: this is end-of-file:0
&amp;gt; 2017-12-06 16:25:44.569 [Shell] pwd ; echo "WinSCP: this is end-of-file:$?"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And i just would like to index the lines that containing the word "lvsapsd " (4th and 5th lines).&lt;/P&gt;

&lt;P&gt;I have configured my props.conf and transforms.conf as below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype]
TRANSFORMS-set= setnull,setparsing

[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX = .*(\blvsapsd\b).*/g
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 06 Dec 2017 19:45:55 GMT</pubDate>
    <dc:creator>danillopavan</dc:creator>
    <dc:date>2017-12-06T19:45:55Z</dc:date>
    <item>
      <title>Why isn't this data indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323089#M60169</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;I am trying to filter the data to be indexed however not success. Nothing is indexed.&lt;/P&gt;

&lt;P&gt;I have the below log file:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt; 2017-12-06 16:25:44.569 Script: Session started.
&amp;lt; 2017-12-06 16:25:44.569 Executing user defined command on command session.
&amp;gt; 2017-12-06 16:25:44.569 [Shell] df -gt /amb/local/sap_sd ; echo "WinSCP: this is end-of-file:$?"
&amp;lt; 2017-12-06 16:25:44.569 Script: Filesystem    GB blocks      Used      Free %Used Mounted on
&amp;lt; 2017-12-06 16:25:44.569 [Shell] Filesystem    GB blocks      Used      Free %Used Mounted on
&amp;lt; 2017-12-06 16:25:44.569 Script: /dev/lvsapsd       9.00      5.21      3.79   58% /amb/local/sap_sd
&amp;lt; 2017-12-06 16:25:44.569 [Shell] /dev/lvsapsd       9.00      5.21      3.79   58% /amb/local/sap_sd
&amp;lt; 2017-12-06 16:25:44.569 [Shell] WinSCP: this is end-of-file:0
&amp;gt; 2017-12-06 16:25:44.569 [Shell] pwd ; echo "WinSCP: this is end-of-file:$?"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And i just would like to index the lines that containing the word "lvsapsd " (4th and 5th lines).&lt;/P&gt;

&lt;P&gt;I have configured my props.conf and transforms.conf as below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype]
TRANSFORMS-set= setnull,setparsing

[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX = .*(\blvsapsd\b).*/g
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Dec 2017 19:45:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323089#M60169</guid>
      <dc:creator>danillopavan</dc:creator>
      <dc:date>2017-12-06T19:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't this data indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323090#M60170</link>
      <description>&lt;P&gt;Change your transforms.conf entry for setparsing with this (your don't have to match the whole line, specific keywords that can uniquely identify your events to keep will be sufficient)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setparsing]
 REGEX = lvsapsd
 DEST_KEY = queue
 FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323090#M60170</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-12-06T20:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't this data indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323091#M60171</link>
      <description>&lt;P&gt;Perfect!! Many thanks!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:19:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323091#M60171</guid>
      <dc:creator>danillopavan</dc:creator>
      <dc:date>2017-12-06T20:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't this data indexing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323092#M60172</link>
      <description>&lt;P&gt;Just another question...if I would like to include a phrase to be matched like "Script: Filesystem", how I can use in the regex expression?&lt;/P&gt;

&lt;P&gt;REGEX = "Script: Filesystem" ?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2017 14:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-this-data-indexing/m-p/323092#M60172</guid>
      <dc:creator>danillopavan</dc:creator>
      <dc:date>2017-12-09T14:46:51Z</dc:date>
    </item>
  </channel>
</rss>

