<?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: splunk search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73505#M181099</link>
    <description>&lt;P&gt;try&lt;/P&gt;

&lt;P&gt;| chart values(fileDescriptor)&lt;/P&gt;</description>
    <pubDate>Fri, 28 Dec 2012 14:42:27 GMT</pubDate>
    <dc:creator>jangid</dc:creator>
    <dc:date>2012-12-28T14:42:27Z</dc:date>
    <item>
      <title>splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73501#M181095</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have application logs which read something like this&lt;BR /&gt;
Blah bla blah File Descriptor: 1234&lt;BR /&gt;
Blah bla blah File Descriptor: 5678&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;/P&gt;

&lt;P&gt;I have added the log file data to my spunk server and now I want to use splunk to get a trend of the number of file descriptors in a chart. I do not want the number of times the string "file descriptors" appaears in the logs instead i want the value of the file descriptor. Please let me how can I do this?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 19:04:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73501#M181095</guid>
      <dc:creator>sriva6</dc:creator>
      <dc:date>2012-12-27T19:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73502#M181096</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere
| rex "File Descriptor:\s(?&amp;lt;fileDescriptor&amp;gt;\S+)"
| timechart count by fileDescriptor
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearchhere
| rex "File Descriptor:\s(?&amp;lt;fileDescriptor&amp;gt;\S+)"
| chart count by fileDescriptor
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;CODE&gt;rex&lt;/CODE&gt; command creates a field called &lt;CODE&gt;fileDescriptor&lt;/CODE&gt; that can be used in the commands that follow in the pipeline.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 19:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73502#M181096</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-12-27T19:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73503#M181097</link>
      <description>&lt;P&gt;You can either parse the file descriptor in props.conf or use the rex command to parse it in the search. For example, if you are trying to get a time chart of the number of distinct file descriptors used in each hour, then you could use something like the following:&lt;/P&gt;

&lt;P&gt;index=xxx ... |rex field=_raw "File\sDescriptor:\s+(?&amp;lt;file_descriptor&amp;gt;\d+)" |timechart span=1h dc(file_descriptor)&lt;/P&gt;

&lt;P&gt;Of course, this has to be used in a chart of some sort.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2012 20:01:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73503#M181097</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2012-12-27T20:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73504#M181098</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;

&lt;P&gt;I tried this but this is giving me a count of the number of times a particular Field Descriptor value appears in the logs but I want to get the list of all the field descriptor values in the logs and plot a graph/chart to show the trend of the descriptors over a time&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2012 12:30:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73504#M181098</guid>
      <dc:creator>sriva6</dc:creator>
      <dc:date>2012-12-28T12:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73505#M181099</link>
      <description>&lt;P&gt;try&lt;/P&gt;

&lt;P&gt;| chart values(fileDescriptor)&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2012 14:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/splunk-search/m-p/73505#M181099</guid>
      <dc:creator>jangid</dc:creator>
      <dc:date>2012-12-28T14:42:27Z</dc:date>
    </item>
  </channel>
</rss>

