<?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 do I read stored ITSI metrics into a custom dashboard outside of ITSI? in Splunk ITSI</title>
    <link>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/589172#M2473</link>
    <description>&lt;P&gt;try adding .csv to the end &amp;lt;itsi_keys.csv&amp;gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 17:42:05 GMT</pubDate>
    <dc:creator>ebergin1</dc:creator>
    <dc:date>2022-03-15T17:42:05Z</dc:date>
    <item>
      <title>How do I read stored ITSI metrics into a custom dashboard outside of ITSI?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/244227#M148</link>
      <description>&lt;P&gt;We're implementing ITSI and we want to import ITSI metrics into a custom dashboard, without having to manually duplicate all of the searches.  For instance, we define a service and KPIs in ITSI, then in a separate app/dashboard, we want to read the stored KPI values to present in a dashboard.  &lt;/P&gt;

&lt;P&gt;The questions are: Where are the ITSI data stored -- is it all in index=itsi_summary?  And what is the best way to access the data by KPI and Service name?   &lt;/P&gt;

&lt;P&gt;I saw a talk at .conf2016 using the query below to access the overall service health score to put in a custom dashboard (for example with a Siteminder service):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=itsi_summary source=service_health_monitor 
| eval service_name="Siteminder" 
| lookup alarm_console_lookup title as service_name OUTPUT kpis._key as service_id_mv 
| eval service_id = mvindex(service_id_mv, mvfind(service_id_mv, "SHKPI"))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is this the best approach to do this?  Because I seem to get duplicate time values.   And what would be the best way to extract the individual KPIs?  I think they are in different "source" in the itsi_summary index, but i'll need to map out how to access them by the KPI and service name since they all apparently use hash ids for keys.  &lt;/P&gt;

&lt;P&gt;I'm hoping someone has done this and it's straight forward without having to spend too much digging through the itsi_summary index.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 16:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/244227#M148</guid>
      <dc:creator>wcooper003</dc:creator>
      <dc:date>2016-10-12T16:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I read stored ITSI metrics into a custom dashboard outside of ITSI?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/244228#M149</link>
      <description>&lt;P&gt;In case anyone is interested in how to do this, I figure out a solution.  &lt;/P&gt;

&lt;P&gt;First, I set up a saved search that spits out a kvstore lookup to augment the alarm_console_lookup with the Service and KPI names:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup alarm_console_lookup 
    | rename kpis._key as kpis_key, kpis.title as kpis_title, title as Service 
    | eval zipped = mvzip(kpis_key, kpis_title) 
    | mvexpand zipped 
    | fields zipped Service 
    | eval temp=split(zipped,",") 
    | eval key=mvindex(temp,0) 
    | eval KPI=mvindex(temp,1) 
    | fields - temp - zipped 
    | eval source = if(substr(key,1,5)=="SHKPI", "service_health_monitor", "Indicator - ".key." - ITSI Search")
    | table key, KPI, Service, source
    | outputlookup itsi_keys
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then I can use this to quickly pull the metrics I want from itsi_summary:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=itsi_summary earliest=-241m@m latest=-1m@m 
| lookup itsi_keys key as itsi_kpi_id 
| search Service="Siteminder" 
    AND (KPI=ServiceHealthScore 
    OR (KPI="Authentication Rejections" AND indexed_is_service_max_severity_event=1) 
    OR (KPI="Available Memory (MB)" AND indexed_is_service_max_severity_event=1) )
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Seems to work pretty well so far.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/244228#M149</guid>
      <dc:creator>wcooper003</dc:creator>
      <dc:date>2020-09-29T11:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I read stored ITSI metrics into a custom dashboard outside of ITSI?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/244229#M150</link>
      <description>&lt;P&gt;When I run the first query I get an error "Error in 'outputlookup' command: The lookup table 'itsi_keys' is invalid.". What am i doing wrong &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 18:56:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/244229#M150</guid>
      <dc:creator>r34220</dc:creator>
      <dc:date>2016-11-21T18:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I read stored ITSI metrics into a custom dashboard outside of ITSI?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/244230#M151</link>
      <description>&lt;P&gt;The outputlookup command it trying to write to a kvstore lookup table that I first defined.  In my app, I edited both the collections.conf and transforms.conf in my default folder as follows:&lt;/P&gt;

&lt;P&gt;collections.conf:&lt;BR /&gt;
[itsi_link]&lt;/P&gt;

&lt;P&gt;transforms.conf:&lt;BR /&gt;
[itsi_keys]&lt;BR /&gt;
external_type=kvstore&lt;BR /&gt;
collection=itsi_link&lt;BR /&gt;
fields_list = key, KPI, Service, service_kpi, weight, source&lt;/P&gt;

&lt;P&gt;After you define those, the output should work.&lt;/P&gt;

&lt;P&gt;Note however: I was just on a call with professional services regarding this topic - and they mentioned that there is a service_kpi_lookup that does something very similar to the itsi_keys lookup I defined above.  So you may be able to use that directly in your search.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:54:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/244230#M151</guid>
      <dc:creator>wcooper003</dc:creator>
      <dc:date>2020-09-29T11:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I read stored ITSI metrics into a custom dashboard outside of ITSI?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/589172#M2473</link>
      <description>&lt;P&gt;try adding .csv to the end &amp;lt;itsi_keys.csv&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 17:42:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-do-I-read-stored-ITSI-metrics-into-a-custom-dashboard/m-p/589172#M2473</guid>
      <dc:creator>ebergin1</dc:creator>
      <dc:date>2022-03-15T17:42:05Z</dc:date>
    </item>
  </channel>
</rss>

