<?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: collect command wouldn't save to an index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693040#M115201</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sintjm_0-1720694163221.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31700i4FC11D53E31358C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sintjm_0-1720694163221.png" alt="sintjm_0-1720694163221.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sintjm_1-1720694190377.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31701iE74759DCD5ABEAE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sintjm_1-1720694190377.png" alt="sintjm_1-1720694190377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;yes please, I did as such&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 10:37:20 GMT</pubDate>
    <dc:creator>sintjm</dc:creator>
    <dc:date>2024-07-11T10:37:20Z</dc:date>
    <item>
      <title>collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693033#M115198</link>
      <description>&lt;P&gt;i have a search in my query where i spool data from an API but then the collect command does not allow me to save the search into my index. Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:26:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693033#M115198</guid>
      <dc:creator>sintjm</dc:creator>
      <dc:date>2024-07-11T10:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693035#M115199</link>
      <description>&lt;P&gt;"does not allow" is a bit vague - what errors do you get? what shows up in the log? what other information do you have?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:27:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693035#M115199</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-07-11T10:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693036#M115200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/267615"&gt;@sintjm&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I suppose that you created the index and it has the correct grants.&lt;/P&gt;&lt;P&gt;did you explicit the index name in the search?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_search&amp;gt;
| table ............
| collect index=your_index&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:29:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693036#M115200</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-07-11T10:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693040#M115201</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sintjm_0-1720694163221.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31700i4FC11D53E31358C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sintjm_0-1720694163221.png" alt="sintjm_0-1720694163221.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sintjm_1-1720694190377.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31701iE74759DCD5ABEAE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sintjm_1-1720694190377.png" alt="sintjm_1-1720694190377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;yes please, I did as such&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:37:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693040#M115201</guid>
      <dc:creator>sintjm</dc:creator>
      <dc:date>2024-07-11T10:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693041#M115202</link>
      <description>&lt;P&gt;There was no logs showing after i searched the index, sorry&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:38:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693041#M115202</guid>
      <dc:creator>sintjm</dc:creator>
      <dc:date>2024-07-11T10:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693042#M115203</link>
      <description>&lt;P&gt;There's no point doing spath if in the next step you leave only the original &lt;EM&gt;data&lt;/EM&gt; field. But that's beside the point.&lt;/P&gt;&lt;P&gt;First step in debugging this would be to remove the &lt;EM&gt;collect&lt;/EM&gt; command from your pipeline and see what the results look like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:42:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693042#M115203</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-11T10:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693043#M115204</link>
      <description>&lt;P&gt;You appear to be doing spath on data, then only keeping data which makes the spath redundant! What timestamps are in the events returned by the curl command?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:42:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693043#M115204</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-07-11T10:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693044#M115205</link>
      <description>&lt;P&gt;What about the logs after the collect?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:43:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693044#M115205</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-07-11T10:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693048#M115206</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sintjm_1-1720695110555.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31703i353C6AB5BAA73858/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sintjm_1-1720695110555.png" alt="sintjm_1-1720695110555.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:52:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693048#M115206</guid>
      <dc:creator>sintjm</dc:creator>
      <dc:date>2024-07-11T10:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693049#M115207</link>
      <description>&lt;P&gt;so there is a field in the log named data and that's where i need my log from. I also removed spath command from the query. Removing the collect command still shows the log curled from the endpoint.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 10:59:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693049#M115207</guid>
      <dc:creator>sintjm</dc:creator>
      <dc:date>2024-07-11T10:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693050#M115208</link>
      <description>&lt;P&gt;Because i don't see the events in from searching the index I created, I can't tell the timestamp. I added&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| eval _time=now()&lt;BR /&gt;&lt;BR /&gt;to the query so that it would put the recent time when the endpoint was reached&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 11:02:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693050#M115208</guid>
      <dc:creator>sintjm</dc:creator>
      <dc:date>2024-07-11T11:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693051#M115209</link>
      <description>&lt;P&gt;So, with the spath removed and the _time field added, do you events now show up in the index (after the collect command)? If not, what does the search log say for the search with the collect command?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 11:35:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693051#M115209</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-07-11T11:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693052#M115210</link>
      <description>&lt;P&gt;Another possibility is to try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| table data&lt;/LI-CODE&gt;&lt;P&gt;instead of fields&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 11:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693052#M115210</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-07-11T11:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693065#M115214</link>
      <description>&lt;P&gt;I tried using&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| table data&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;but there is still no data when searching the index.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;W&lt;SPAN&gt;ith the spath removed and the _time field added there are still no events in the index and the search log can be seen below. There is still data coming through the search.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sintjm_0-1720701350487.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31708i2185119D3E5EF826/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sintjm_0-1720701350487.png" alt="sintjm_0-1720701350487.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 14:11:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693065#M115214</guid>
      <dc:creator>sintjm</dc:creator>
      <dc:date>2024-07-11T14:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693066#M115215</link>
      <description>&lt;P&gt;This is not the search log. You get a search log when you click the "Job" button and pick "Inspect Job". On top of the screen you'll have a link to search log.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 12:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693066#M115215</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-11T12:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: collect command wouldn't save to an index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693154#M115226</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="search 1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31719i3C1F04F453A06284/image-size/medium?v=v2&amp;amp;px=400" role="button" title="search 1.PNG" alt="search 1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="search 2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31720i80D5C44006E498C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="search 2.PNG" alt="search 2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;  The search log&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 08:31:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/collect-command-wouldn-t-save-to-an-index/m-p/693154#M115226</guid>
      <dc:creator>sintjm</dc:creator>
      <dc:date>2024-07-12T08:31:52Z</dc:date>
    </item>
  </channel>
</rss>

