<?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 to search specific lines in splunk log file? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-specific-lines-in-splunk-log-file/m-p/327254#M162636</link>
    <description>&lt;P&gt;I have 100 lines content log files where I want to show only between 32-80 lines in searching without regex condition.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Mar 2018 07:36:12 GMT</pubDate>
    <dc:creator>saibal6</dc:creator>
    <dc:date>2018-03-02T07:36:12Z</dc:date>
    <item>
      <title>How to search specific lines in splunk log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-specific-lines-in-splunk-log-file/m-p/327254#M162636</link>
      <description>&lt;P&gt;I have 100 lines content log files where I want to show only between 32-80 lines in searching without regex condition.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 07:36:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-specific-lines-in-splunk-log-file/m-p/327254#M162636</guid>
      <dc:creator>saibal6</dc:creator>
      <dc:date>2018-03-02T07:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to search specific lines in splunk log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-specific-lines-in-splunk-log-file/m-p/327255#M162637</link>
      <description>&lt;P&gt;Alway using regular expression is good.&lt;/P&gt;

&lt;P&gt;else you can try like this&lt;BR /&gt;
eval myField = replace (_raw, "[\n\r]","|") | makemv delim="|" myField | eval 32thline=mvindex(myField ,32) | eval 32thline=mvindex(myField ,33) | ..| eval 80thline=mvindex(myField ,80)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 14:43:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-specific-lines-in-splunk-log-file/m-p/327255#M162637</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-03-02T14:43:41Z</dc:date>
    </item>
  </channel>
</rss>

