<?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: Load external data in a dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628834#M51577</link>
    <description>&lt;P&gt;You don't understand. I want the dashboard to display this line automatically, not to paste it myself - that would be pointless. If you want to help me - please read the description of my issue again.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2023 13:20:11 GMT</pubDate>
    <dc:creator>fedejko</dc:creator>
    <dc:date>2023-01-30T13:20:11Z</dc:date>
    <item>
      <title>How to load this external data in a dashboard without saving it in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628822#M51572</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a dashboard which is using one token - as a result two things happen:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a search is conducted on an index with some static data&lt;/LI&gt;
&lt;LI&gt;I want to load data from external source (.txt file available online) which changes every hour&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This is the source:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://tgftp.nws.noaa.gov/data/observations/metar/stations/KJFK.TXT" target="_blank" rel="noopener"&gt;https://tgftp.nws.noaa.gov/data/observations/metar/stations/KJFK.TXT&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Desired state: The dashboard takes airport's ICAO code and displays &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;static&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;STRONG&gt;information about this airport from the index&lt;/STRONG&gt; and also loads &lt;STRONG&gt;external current weather information&lt;/STRONG&gt; (which changes &lt;U&gt;very frequently&lt;/U&gt;).&lt;/P&gt;
&lt;P&gt;How to load this external data in a dashboard &lt;STRONG&gt;without saving it in Splunk&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;I would like to state, that I have no option to ingest this data into an index every hour, or create a lookup file locally - this data will change all the time so ideally I would like to fetch it online every time.&lt;/P&gt;
&lt;P&gt;Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 15:49:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628822#M51572</guid>
      <dc:creator>fedejko</dc:creator>
      <dc:date>2023-01-30T15:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Load external data in a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628825#M51574</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/178948"&gt;@fedejko&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you want to load a csv on file system, you could try the inputcsv comman (&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/SearchReference/Inputcsv" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/SearchReference/Inputcsv&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;If instead you want an upload window, this feature isn't available, you have to load it using a php or Python program.&lt;/P&gt;&lt;P&gt;Maybe the best approach should be to have an input that reads files from a folder where you put the files, but this means index it in Splunk.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 13:03:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628825#M51574</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-30T13:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Load external data in a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628829#M51575</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply, but I cannot store it in csv or in an index. I want to load this one line of text from online source every time.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 13:11:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628829#M51575</guid>
      <dc:creator>fedejko</dc:creator>
      <dc:date>2023-01-30T13:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Load external data in a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628833#M51576</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/178948"&gt;@fedejko&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you want to add only one line at a time, you could use a text input in a dashboard to add the line.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 13:14:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628833#M51576</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-30T13:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Load external data in a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628834#M51577</link>
      <description>&lt;P&gt;You don't understand. I want the dashboard to display this line automatically, not to paste it myself - that would be pointless. If you want to help me - please read the description of my issue again.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 13:20:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628834#M51577</guid>
      <dc:creator>fedejko</dc:creator>
      <dc:date>2023-01-30T13:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Load external data in a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628836#M51578</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/178948"&gt;@fedejko&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sorry for the misunderstanding!&lt;/P&gt;&lt;P&gt;let me summarize:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you have a text file on filesystem,&lt;/LI&gt;&lt;LI&gt;in each text file there's only one raw,&lt;/LI&gt;&lt;LI&gt;you want to load this raw in a dashboard without indexing it,&lt;/LI&gt;&lt;LI&gt;you want to use this raw in a search;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;is it correct?&lt;/P&gt;&lt;P&gt;Anyway, why do you want to not index the information from this file?&lt;/P&gt;&lt;P&gt;reading this file every time it is updated and indexing it, you have all you need.&lt;/P&gt;&lt;P&gt;In Splunk only the contents in indexes or in lookups are searchable, you don't want to put these information neither in indexes or in lookups so it isn't possible.&lt;/P&gt;&lt;P&gt;At least you have only two solutions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;index this file: it's the easiest best performant and more efficiant solution;&lt;/LI&gt;&lt;LI&gt;copy the file in a lookup with a ascipt and read it as a lookup.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 13:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628836#M51578</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-30T13:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load external data in a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628837#M51579</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;"let me summarize:&lt;/P&gt;&lt;P&gt;you have a text file on filesystem,"&lt;/P&gt;&lt;P&gt;No, I have weather data available &lt;STRONG&gt;online&lt;/STRONG&gt; which I want to "pull" to my dashboard. It has a URL like this: &lt;A href="https://tgftp.nws.noaa.gov/data/observations/metar/stations/" target="_blank"&gt;https://tgftp.nws.noaa.gov/data/observations/metar/stations/&lt;/A&gt;&amp;lt;&lt;STRONG&gt;XXXX&lt;/STRONG&gt;&amp;gt;.TXT&lt;/P&gt;&lt;P&gt;And for each dashboard load I will put the search term in a field and I want to load a specific content from a URL. If I specify "&lt;STRONG&gt;KJFK&lt;/STRONG&gt;" the url loaded will be&lt;/P&gt;&lt;P&gt;&lt;A href="https://tgftp.nws.noaa.gov/data/observations/metar/stations/" target="_blank"&gt;https://tgftp.nws.noaa.gov/data/observations/metar/stations/&lt;/A&gt;&lt;STRONG&gt;KJFK&lt;/STRONG&gt;.TXT (for John F. Kennedy airport)&lt;/P&gt;&lt;P&gt;If I specify &lt;STRONG&gt;CYYZ&lt;/STRONG&gt;, the url will be&lt;/P&gt;&lt;P&gt;&lt;A href="https://tgftp.nws.noaa.gov/data/observations/metar/stations/" target="_blank"&gt;https://tgftp.nws.noaa.gov/data/observations/metar/stations/&lt;/A&gt;&lt;STRONG&gt;CYYZ&lt;/STRONG&gt;.TXT (weather for Toronto airport).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 13:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628837#M51579</guid>
      <dc:creator>fedejko</dc:creator>
      <dc:date>2023-01-30T13:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load external data in a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628845#M51580</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/178948"&gt;@fedejko&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;it isn't possible to pull a data to a dashboard,&lt;/P&gt;&lt;P&gt;in a dashboard you can read a data from an index, a lookup or a csv or a manual input text box, not pulling data from outsoude of these input modes.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 14:37:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-this-external-data-in-a-dashboard-without-saving-it/m-p/628845#M51580</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-30T14:37:50Z</dc:date>
    </item>
  </channel>
</rss>

