<?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: How to upload a csv from a host that has a universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-upload-a-csv-from-a-host-that-has-a-universal-forwarder/m-p/745377#M118479</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/196884"&gt;@danielbb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was a very similar question the other day around this, please see my answer below or check out the original question at&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Enterprise-Security/Can-Splunk-read-a-CSV-file-and-automatically-upload-it-as-a/m-p/744948/highlight/true#M12497" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Enterprise-Security/Can-Splunk-read-a-CSV-file-and-automatically-upload-it-as-a/m-p/744948/highlight/true#M12497&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The other option as you mentioned would be to use the REST API - There are some scripts at&amp;nbsp;&lt;A href="https://github.com/mthcht/lookup-editor_scripts#readme" target="_blank"&gt;https://github.com/mthcht/lookup-editor_scripts#readme&lt;/A&gt;. which aim to achieve this if this is the route you wanted to go down.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a CSV on a forwarder that you want to become a lookup in Splunk then the best way to achieve this is probably to monitor (using monitor:// in inputs.conf) the file and send it to a specific index on your Splunk indexers.&lt;/P&gt;&lt;P&gt;Then, Create scheduled search which searches that index and retrieves the sent data and outputs it to a lookup (using | outputlookup command). Depending on how/when the CSV is updated may depend on exactly how the resulting search ends up, but ultimately this should be a viable solution.&lt;/P&gt;&lt;P&gt;There may be other solutions but would require significantly more engineering effort.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 May 2025 15:04:37 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-05-02T15:04:37Z</dc:date>
    <item>
      <title>How to upload a csv from a host that has a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-upload-a-csv-from-a-host-that-has-a-universal-forwarder/m-p/745375#M118478</link>
      <description>&lt;P&gt;We have a universal forwarder and the customer has a csv file on this machine that he would like to ingest. The customer would like to ingest it as a lookup so I wonder whether we should ingest the csv via the UF or potentially, send it via the REST api to be uploaded as a lookup. Does the latter option make sense?&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 14:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-upload-a-csv-from-a-host-that-has-a-universal-forwarder/m-p/745375#M118478</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2025-05-02T14:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload a csv from a host that has a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-upload-a-csv-from-a-host-that-has-a-universal-forwarder/m-p/745377#M118479</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/196884"&gt;@danielbb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There was a very similar question the other day around this, please see my answer below or check out the original question at&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Enterprise-Security/Can-Splunk-read-a-CSV-file-and-automatically-upload-it-as-a/m-p/744948/highlight/true#M12497" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Enterprise-Security/Can-Splunk-read-a-CSV-file-and-automatically-upload-it-as-a/m-p/744948/highlight/true#M12497&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The other option as you mentioned would be to use the REST API - There are some scripts at&amp;nbsp;&lt;A href="https://github.com/mthcht/lookup-editor_scripts#readme" target="_blank"&gt;https://github.com/mthcht/lookup-editor_scripts#readme&lt;/A&gt;. which aim to achieve this if this is the route you wanted to go down.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a CSV on a forwarder that you want to become a lookup in Splunk then the best way to achieve this is probably to monitor (using monitor:// in inputs.conf) the file and send it to a specific index on your Splunk indexers.&lt;/P&gt;&lt;P&gt;Then, Create scheduled search which searches that index and retrieves the sent data and outputs it to a lookup (using | outputlookup command). Depending on how/when the CSV is updated may depend on exactly how the resulting search ends up, but ultimately this should be a viable solution.&lt;/P&gt;&lt;P&gt;There may be other solutions but would require significantly more engineering effort.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 15:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-upload-a-csv-from-a-host-that-has-a-universal-forwarder/m-p/745377#M118479</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-02T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload a csv from a host that has a universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-upload-a-csv-from-a-host-that-has-a-universal-forwarder/m-p/745413#M118481</link>
      <description>&lt;P&gt;Does the file ever change?&lt;/P&gt;&lt;P&gt;If so, I would index the file and then create a scheduled search to update the lookup based on the indexed data.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it never changes, just import the file one time with the Lookup Editor App.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 19:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-upload-a-csv-from-a-host-that-has-a-universal-forwarder/m-p/745413#M118481</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2025-05-02T19:29:46Z</dc:date>
    </item>
  </channel>
</rss>

