<?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: Getting data forwarded in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108901#M22928</link>
    <description>&lt;P&gt;I want to pull back any logs with the word "Error" found in the sys log of  host="JAdams-LT".  I want this data by calling the API  (&lt;EM&gt;NOT&lt;/EM&gt; thru curl).&lt;/P&gt;</description>
    <pubDate>Sat, 19 Nov 2011 21:06:00 GMT</pubDate>
    <dc:creator>jgervin</dc:creator>
    <dc:date>2011-11-19T21:06:00Z</dc:date>
    <item>
      <title>Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108895#M22922</link>
      <description>&lt;P&gt;How can I get the data from &lt;A href="http://localhost:8000/en-US/app/search/flashtimeline?auto_pause=true&amp;amp;q=search%20host%3D%22SOME_COMPUTER_NAME_FROM_FORWARDER%22"&gt;http://localhost:8000/en-US/app/search/flashtimeline?auto_pause=true&amp;amp;q=search%20host%3D%22SOME_COMPUTER_NAME_FROM_FORWARDER%22&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I want to get the data that fills the flashtimeline and the logs how do I get this thru the api?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 05:21:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108895#M22922</guid>
      <dc:creator>jgervin</dc:creator>
      <dc:date>2011-11-14T05:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108896#M22923</link>
      <description>&lt;P&gt;There are good tutorials on how to interact with the REST API in the docs. This is a good starting point: &lt;A href="http://dev.splunk.com/view/basic-tutorial/SP-CAAADQT"&gt;http://dev.splunk.com/view/basic-tutorial/SP-CAAADQT&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 09:49:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108896#M22923</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-11-14T09:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108897#M22924</link>
      <description>&lt;P&gt;The link doesn't help.  This is close &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESToutput"&gt;http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESToutput&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;But it still doesn't show how to get to the forwarders data by host.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 04:23:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108897#M22924</guid>
      <dc:creator>jgervin</dc:creator>
      <dc:date>2011-11-17T04:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108898#M22925</link>
      <description>&lt;P&gt;Could you be a bit more specific regarding what you want to achieve?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2011 07:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108898#M22925</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-11-17T07:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108899#M22926</link>
      <description>&lt;P&gt;Do a search with the following field  host="JAdams-LT"&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2011 03:45:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108899#M22926</guid>
      <dc:creator>jgervin</dc:creator>
      <dc:date>2011-11-18T03:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108900#M22927</link>
      <description>&lt;P&gt;What are you missing from the tutorial I linked to? Searching for host="JAdams-LT" is done simply by issuing that as a search query. You need to be much more specific, I'd be glad to help but it's hard to know what your goal is, how far you have come towards achieving it, what works, what doesn't work, etc etc.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2011 10:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108900#M22927</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-11-18T10:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108901#M22928</link>
      <description>&lt;P&gt;I want to pull back any logs with the word "Error" found in the sys log of  host="JAdams-LT".  I want this data by calling the API  (&lt;EM&gt;NOT&lt;/EM&gt; thru curl).&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2011 21:06:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108901#M22928</guid>
      <dc:creator>jgervin</dc:creator>
      <dc:date>2011-11-19T21:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108902#M22929</link>
      <description>&lt;P&gt;OK, well you can use any tool you want for the job - curl is just one of them. You could use the Python SDK (&lt;A href="https://github.com/splunk/splunk-sdk-python"&gt;https://github.com/splunk/splunk-sdk-python&lt;/A&gt;), the Splunk Resource Powershell Resource Kit (&lt;A href="https://github.com/splunk/splunk-reskit-powershell"&gt;https://github.com/splunk/splunk-reskit-powershell&lt;/A&gt;), Perl's LWP, anything that lets you perform the necessary steps for interacting with Splunk through the REST API. The steps are outlined in the tutorial.&lt;/P&gt;

&lt;P&gt;The search parameter in the post to /services/search/jobs should be "%22search%20host%3D'JAdams-LT'%20AND%20Error%22".&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2011 21:33:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108902#M22929</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-11-19T21:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108903#M22930</link>
      <description>&lt;P&gt;You should also consider using the Splunk CLI for achieving the same thing - use "splunk search &lt;YOUR search=""&gt;" at the command line. Perhaps that works for you, I wouldn't know - you're really not providing much details. I hope you find a solution.&lt;/YOUR&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2011 21:33:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108903#M22930</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-11-19T21:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108904#M22931</link>
      <description>&lt;P&gt;Ok this works for me using curl, but I need a URL with params that does the same thing.&lt;/P&gt;

&lt;P&gt;curl  -k -u admin:secretpassword  -d 'search="search error   |  head 10"' -d "output_mode=csv" &lt;BR /&gt;
&lt;A href="https://localhost:8089/servicesNS/admin/search/search/jobs/export"&gt;https://localhost:8089/servicesNS/admin/search/search/jobs/export&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2011 22:27:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108904#M22931</guid>
      <dc:creator>jgervin</dc:creator>
      <dc:date>2011-11-19T22:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting data forwarded</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108905#M22932</link>
      <description>&lt;P&gt;Parameters such as search queries etc are sent as POST data only when interacting with the REST API. There are no corresponding GET parameters that do the same thing.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2011 22:39:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-data-forwarded/m-p/108905#M22932</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-11-19T22:39:54Z</dc:date>
    </item>
  </channel>
</rss>

