<?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 insert static data in dashboard? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90502#M23245</link>
    <description>&lt;P&gt;Dart, thank you a lot! You showed me the right direction of solving the problem. Now I see vast horizons of how to use this new knowledge..:) I've already tried "inputlookup" and "lookup" and got exactly what I needed!  &lt;/P&gt;

&lt;P&gt;I used splunk manager interface instead of editing config files to create lookup tables: &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.3/User/CreateAndConfigureFieldLookups"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.3/User/CreateAndConfigureFieldLookups&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jul 2012 15:52:18 GMT</pubDate>
    <dc:creator>iKate</dc:creator>
    <dc:date>2012-07-04T15:52:18Z</dc:date>
    <item>
      <title>How to insert static data in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90500#M23243</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;Let's say there are several Excel tables and it is needed to make graphs using its data in Splunk dashboard. How can one insert these tables?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2012 08:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90500#M23243</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2012-07-04T08:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert static data in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90501#M23244</link>
      <description>&lt;P&gt;If I understand correctly, you have data in an excel file, and you want to chart something just from that data in Splunk.&lt;/P&gt;

&lt;P&gt;Are you able to export the tables as CSV files?&lt;/P&gt;

&lt;P&gt;You can then define a &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/knowledge/Addfieldsfromexternaldatasources#Set_up_a_fields_lookup_based_on_a_static_file"&gt;lookup from the csv file&lt;/A&gt;, and then use the search command &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/inputlookup"&gt;inputlookup&lt;/A&gt; to read in the data, which you can then pipe to stats, chart or timechart. For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup my_lookup_name | chart count by field
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jul 2012 10:10:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90501#M23244</guid>
      <dc:creator>dart</dc:creator>
      <dc:date>2012-07-04T10:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert static data in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90502#M23245</link>
      <description>&lt;P&gt;Dart, thank you a lot! You showed me the right direction of solving the problem. Now I see vast horizons of how to use this new knowledge..:) I've already tried "inputlookup" and "lookup" and got exactly what I needed!  &lt;/P&gt;

&lt;P&gt;I used splunk manager interface instead of editing config files to create lookup tables: &lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.3/User/CreateAndConfigureFieldLookups"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.3/User/CreateAndConfigureFieldLookups&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2012 15:52:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90502#M23245</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2012-07-04T15:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert static data in dashboard?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90503#M23246</link>
      <description>&lt;P&gt;Nevertheless it was a confusion with "inputlookup" command as it turned out that &lt;BR /&gt;
1) the command should be strictly in the beginning of the search&lt;BR /&gt;
2) should start with "|" &lt;BR /&gt;
3) and the rest of the search should be appended. &lt;BR /&gt;
All this was not obvius from its description in the search commands reference (maybe just for me). &lt;/P&gt;

&lt;P&gt;So my working string looks like this:&lt;/P&gt;

&lt;P&gt;| inputlookup my_lookup_csv_file&lt;BR /&gt;&lt;BR /&gt;
| append [search source="my_source" &lt;BR /&gt;
...... ]&lt;/P&gt;

&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-insert-static-data-in-dashboard/m-p/90503#M23246</guid>
      <dc:creator>iKate</dc:creator>
      <dc:date>2020-09-28T12:01:32Z</dc:date>
    </item>
  </channel>
</rss>

