<?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 Data extracted from splunk and use it in java form in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Data-extracted-from-splunk-and-use-it-in-java-form/m-p/269945#M3382</link>
    <description>&lt;P&gt;I have extracted certain feilds using java sdk from splunk with the table command. &lt;BR /&gt;
The data extracted is in the form of job. How can i convert that data into string, so that i can apply conditional operators on that data.&lt;/P&gt;

&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Jul 2016 11:21:35 GMT</pubDate>
    <dc:creator>tankhanandita</dc:creator>
    <dc:date>2016-07-23T11:21:35Z</dc:date>
    <item>
      <title>Data extracted from splunk and use it in java form</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Data-extracted-from-splunk-and-use-it-in-java-form/m-p/269945#M3382</link>
      <description>&lt;P&gt;I have extracted certain feilds using java sdk from splunk with the table command. &lt;BR /&gt;
The data extracted is in the form of job. How can i convert that data into string, so that i can apply conditional operators on that data.&lt;/P&gt;

&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2016 11:21:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Data-extracted-from-splunk-and-use-it-in-java-form/m-p/269945#M3382</guid>
      <dc:creator>tankhanandita</dc:creator>
      <dc:date>2016-07-23T11:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data extracted from splunk and use it in java form</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Data-extracted-from-splunk-and-use-it-in-java-form/m-p/269946#M3383</link>
      <description>&lt;P&gt;Fortunately for you it is well documented on how to iterate over the events once you have a job. You are likely looking for: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/java-sdk/SP-CAAAEHQ"&gt;http://dev.splunk.com/view/java-sdk/SP-CAAAEHQ&lt;/A&gt; - "How to work with searches and jobs using the Splunk SDK for Java" which links to:&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/java-sdk/SP-CAAAEPZ"&gt;http://dev.splunk.com/view/java-sdk/SP-CAAAEPZ&lt;/A&gt; - "How to display search results using the Splunk SDK for Java"&lt;/P&gt;

&lt;P&gt;Of course you wouldn't use as much System.out.println, but you get the idea. If Javadoc is more your thing: &lt;A href="http://docs.splunk.com/DocumentationStatic/JavaSDK/1.5.0/index.html"&gt;http://docs.splunk.com/DocumentationStatic/JavaSDK/1.5.0/index.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Now one other thing you say that you want to "apply conditional operators on that data" I wonder if you might be interested in the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/eval"&gt;eval&lt;/A&gt; or &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/where"&gt;where&lt;/A&gt; search commands by which you can add to your search and let Splunk do more work leveraging &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/CommonEvalFunctions"&gt;eval functions&lt;/A&gt; instead of building custom code?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2016 15:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Data-extracted-from-splunk-and-use-it-in-java-form/m-p/269946#M3383</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2016-07-23T15:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data extracted from splunk and use it in java form</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Data-extracted-from-splunk-and-use-it-in-java-form/m-p/269947#M3384</link>
      <description>&lt;P&gt;Yeh i have used the above stated documents to extract the data from splunk and its working fine. But i need to convert that data into string to use it at the front end part and no i can't use eval functions as i need to build a custom code. Kindly help me with that.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 00:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Data-extracted-from-splunk-and-use-it-in-java-form/m-p/269947#M3384</guid>
      <dc:creator>tankhanandita</dc:creator>
      <dc:date>2016-07-25T00:42:13Z</dc:date>
    </item>
  </channel>
</rss>

