<?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: unable to import entity, mstats or mcatalog command returns no results in Splunk ITSI</title>
    <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429390#M1192</link>
    <description>&lt;P&gt;&lt;STRONG&gt;metric_name&lt;/STRONG&gt;&lt;BR /&gt;
cpu.time_guest&lt;BR /&gt;
cpu.time_guest_nice&lt;BR /&gt;
cpu.time_idle&lt;BR /&gt;
cpu.time_iowait&lt;BR /&gt;
cpu.time_irq&lt;BR /&gt;
cpu.time_nice&lt;BR /&gt;
cpu.time_softirq&lt;BR /&gt;
cpu.time_steal&lt;BR /&gt;
cpu.time_system&lt;BR /&gt;
cpu.time_user&lt;BR /&gt;
cpu.usage_guest&lt;BR /&gt;
cpu.usage_guest_nice&lt;BR /&gt;
cpu.usage_idle&lt;BR /&gt;
cpu.usage_iowait&lt;BR /&gt;
cpu.usage_irq&lt;BR /&gt;
cpu.usage_nice&lt;BR /&gt;
cpu.usage_softirq&lt;BR /&gt;
cpu.usage_steal&lt;BR /&gt;
cpu.usage_system&lt;BR /&gt;
cpu.usage_user&lt;BR /&gt;
disk.free&lt;BR /&gt;
disk.inodes_free&lt;BR /&gt;
disk.inodes_total&lt;BR /&gt;
disk.inodes_used&lt;BR /&gt;
disk.total&lt;BR /&gt;
disk.used&lt;BR /&gt;
disk.used_percent&lt;BR /&gt;
diskio.io_time&lt;BR /&gt;
diskio.iops_in_progress&lt;BR /&gt;
diskio.read_bytes&lt;BR /&gt;
diskio.read_time&lt;BR /&gt;
diskio.reads&lt;BR /&gt;
diskio.weighted_io_time&lt;BR /&gt;
diskio.write_bytes&lt;BR /&gt;
diskio.write_time&lt;BR /&gt;
diskio.writes&lt;BR /&gt;
mem.active&lt;BR /&gt;
mem.available&lt;BR /&gt;
mem.available_percent&lt;BR /&gt;
mem.buffered&lt;BR /&gt;
mem.cached&lt;BR /&gt;
mem.commit_limit&lt;BR /&gt;
mem.committed_as&lt;BR /&gt;
mem.dirty&lt;BR /&gt;
mem.free&lt;BR /&gt;
mem.high_free&lt;BR /&gt;
mem.high_total&lt;BR /&gt;
mem.huge_page_size&lt;BR /&gt;
mem.huge_pages_free&lt;BR /&gt;
mem.huge_pages_total&lt;BR /&gt;
mem.inactive&lt;BR /&gt;
mem.low_free&lt;BR /&gt;
mem.low_total&lt;BR /&gt;
mem.mapped&lt;BR /&gt;
mem.page_tables&lt;BR /&gt;
mem.shared&lt;BR /&gt;
mem.slab&lt;BR /&gt;
mem.swap_cached&lt;BR /&gt;
mem.swap_free&lt;BR /&gt;
mem.swap_total&lt;BR /&gt;
mem.total&lt;BR /&gt;
mem.used&lt;BR /&gt;
mem.used_percent&lt;BR /&gt;
mem.vmalloc_chunk&lt;BR /&gt;
mem.vmalloc_total&lt;BR /&gt;
mem.vmalloc_used&lt;BR /&gt;
mem.wired&lt;BR /&gt;
mem.write_back&lt;BR /&gt;
mem.write_back_tmp&lt;BR /&gt;
net.bytes_recv&lt;BR /&gt;
net.bytes_sent&lt;BR /&gt;
net.drop_in&lt;BR /&gt;
net.drop_out&lt;BR /&gt;
net.err_in&lt;BR /&gt;
net.err_out&lt;BR /&gt;
net.packets_recv&lt;BR /&gt;
net.packets_sent&lt;BR /&gt;
processes.blocked&lt;BR /&gt;
processes.idle&lt;BR /&gt;
processes.running&lt;BR /&gt;
processes.sleeping&lt;BR /&gt;
processes.stopped&lt;BR /&gt;
processes.total&lt;BR /&gt;
processes.unknown&lt;BR /&gt;
processes.wait&lt;BR /&gt;
processes.zombies&lt;BR /&gt;
swap.free&lt;BR /&gt;
swap.in&lt;BR /&gt;
swap.out&lt;BR /&gt;
swap.total&lt;BR /&gt;
swap.used&lt;BR /&gt;
swap.used_percent&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:37:12 GMT</pubDate>
    <dc:creator>deodion</dc:creator>
    <dc:date>2020-09-29T23:37:12Z</dc:date>
    <item>
      <title>unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429384#M1186</link>
      <description>&lt;P&gt;At GUI level, installed DA-ITSI-TELEGRAF-OS, telegraf-os&lt;BR /&gt;
At Indexer level, installed TA-influxdata-telegraf&lt;BR /&gt;
At HF level, installed TA-influxdata-telegraf&lt;/P&gt;

&lt;P&gt;telegraf agent forwards OPNsense 19.1 event data,&lt;/P&gt;

&lt;P&gt;I see index = telegraf is searchable, and fields are extracted, such as metric_name, etc.&lt;/P&gt;

&lt;P&gt;When I try to import via ITSI/Configure/Create Entity/Import from Search/Modules&lt;BR /&gt;
and choose ITSI module for Influxdata Telegraf (OS)/OS-Hosts entity import linux&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;It says: No or insufficient data found.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I try search manually:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| mstats latest(_value) as value where `telegraf_index` metric_name="system.n_cpus" OR metric_name="mem.total" OR metric_name="swap.total" by metric_name, host
| mstats latest(_value) as value where `telegraf_index` metric_name="system.n_cpus" OR metric_name="mem.total" OR metric_name="swap.total"
| mcatalog values(_dims) as dimensions values(metric_name) as metric_name where index=telegraf metric_name=*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;it returns 0 results.&lt;/P&gt;

&lt;P&gt;in Telegraf OS monitoring also no visualization,&lt;/P&gt;

&lt;P&gt;Am I missing something? Thank you,&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429384#M1186</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-12T09:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429385#M1187</link>
      <description>&lt;P&gt;Hi @deodion !&lt;/P&gt;

&lt;P&gt;"I see index = telegraf is searchable, and fields are extracted, such as metric_name, etc." &lt;/P&gt;

&lt;P&gt;--&amp;gt; This is where the issue comes from, the index should be a metric index, not an event index,  metric indexes cannot be searched without mstats | mcatalog commands.&lt;/P&gt;

&lt;P&gt;Please review you index configuration according to:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://da-itsi-telegraf-kafka.readthedocs.io/en/latest/kafka_monitoring.html#splunk-configuration"&gt;https://da-itsi-telegraf-kafka.readthedocs.io/en/latest/kafka_monitoring.html#splunk-configuration&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Guilhem&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 10:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429385#M1187</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2019-03-12T10:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429386#M1188</link>
      <description>&lt;P&gt;i add &lt;BR /&gt;
[my-index]&lt;BR /&gt;
datatype = metric&lt;/P&gt;

&lt;P&gt;still unable to import entities,&lt;/P&gt;

&lt;P&gt;and also from telegraf os monitoring overview I see chart: &lt;STRONG&gt;TOP 15 most disk space consumers over last 60 min&lt;/STRONG&gt;&lt;BR /&gt;
but the others are not charting, &lt;BR /&gt;
if I open in Search one of it, it can chart...&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6664i068E3FA8035A8799/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429386#M1188</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-12T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429387#M1189</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Can you paste an example of telegraf.conf you are using please ?&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;FYI the apps are expecting default names for metrics. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Can you run please the following command and share results:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| mcatalog values(metric_name) where index=telegraf earliest=-4h latest=now
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Guilhem&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429387#M1189</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2019-03-12T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429388#M1190</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;[global_tags]&lt;/P&gt;

&lt;P&gt;[agent]&lt;BR /&gt;
interval = "10s"&lt;BR /&gt;&lt;BR /&gt;
round_interval = false&lt;BR /&gt;&lt;BR /&gt;
metric_batch_size = 1000&lt;BR /&gt;&lt;BR /&gt;
metric_buffer_limit = 10000&lt;BR /&gt;&lt;BR /&gt;
collection_jitter = "0s"&lt;BR /&gt;&lt;BR /&gt;
flush_jitter = "0s" &lt;BR /&gt;
precision = ""&lt;BR /&gt;&lt;BR /&gt;
debug = false&lt;BR /&gt;&lt;BR /&gt;
quiet = true&lt;BR /&gt;&lt;BR /&gt;
hostname = "10.10.20.1"&lt;BR /&gt;&lt;BR /&gt;
omit_hostname = false&lt;/P&gt;

&lt;P&gt;[[outputs.graphite]]&lt;BR /&gt;&lt;BR /&gt;
servers = ["10.10.20.103:2003"]&lt;BR /&gt;
timeout = 2&lt;BR /&gt;&lt;BR /&gt;
insecure_skip_verify = false&lt;BR /&gt;&lt;BR /&gt;
graphite_tag_support = true&lt;/P&gt;

&lt;P&gt;[[inputs.cpu]]&lt;BR /&gt;
percpu = true&lt;BR /&gt;&lt;BR /&gt;
totalcpu = true&lt;BR /&gt;&lt;BR /&gt;
collect_cpu_time = true&lt;/P&gt;

&lt;P&gt;[[inputs.disk]]&lt;/P&gt;

&lt;P&gt;[[inputs.diskio]]&lt;/P&gt;

&lt;P&gt;[[inputs.mem]]&lt;/P&gt;

&lt;P&gt;[[inputs.processes]]&lt;/P&gt;

&lt;P&gt;[[inputs.swap]]&lt;/P&gt;

&lt;P&gt;[[inputs.system]]&lt;/P&gt;

&lt;P&gt;[[inputs.net]]&lt;/P&gt;

&lt;P&gt;[[inputs.pf]]&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:37:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429388#M1190</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2020-09-29T23:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429389#M1191</link>
      <description>&lt;P&gt;&lt;STRONG&gt;dimensions&lt;/STRONG&gt;&lt;BR /&gt;
cpu&lt;BR /&gt;
device&lt;BR /&gt;
fstype&lt;BR /&gt;
interface&lt;BR /&gt;
mode&lt;BR /&gt;
name&lt;BR /&gt;
path&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 14:45:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429389#M1191</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-12T14:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429390#M1192</link>
      <description>&lt;P&gt;&lt;STRONG&gt;metric_name&lt;/STRONG&gt;&lt;BR /&gt;
cpu.time_guest&lt;BR /&gt;
cpu.time_guest_nice&lt;BR /&gt;
cpu.time_idle&lt;BR /&gt;
cpu.time_iowait&lt;BR /&gt;
cpu.time_irq&lt;BR /&gt;
cpu.time_nice&lt;BR /&gt;
cpu.time_softirq&lt;BR /&gt;
cpu.time_steal&lt;BR /&gt;
cpu.time_system&lt;BR /&gt;
cpu.time_user&lt;BR /&gt;
cpu.usage_guest&lt;BR /&gt;
cpu.usage_guest_nice&lt;BR /&gt;
cpu.usage_idle&lt;BR /&gt;
cpu.usage_iowait&lt;BR /&gt;
cpu.usage_irq&lt;BR /&gt;
cpu.usage_nice&lt;BR /&gt;
cpu.usage_softirq&lt;BR /&gt;
cpu.usage_steal&lt;BR /&gt;
cpu.usage_system&lt;BR /&gt;
cpu.usage_user&lt;BR /&gt;
disk.free&lt;BR /&gt;
disk.inodes_free&lt;BR /&gt;
disk.inodes_total&lt;BR /&gt;
disk.inodes_used&lt;BR /&gt;
disk.total&lt;BR /&gt;
disk.used&lt;BR /&gt;
disk.used_percent&lt;BR /&gt;
diskio.io_time&lt;BR /&gt;
diskio.iops_in_progress&lt;BR /&gt;
diskio.read_bytes&lt;BR /&gt;
diskio.read_time&lt;BR /&gt;
diskio.reads&lt;BR /&gt;
diskio.weighted_io_time&lt;BR /&gt;
diskio.write_bytes&lt;BR /&gt;
diskio.write_time&lt;BR /&gt;
diskio.writes&lt;BR /&gt;
mem.active&lt;BR /&gt;
mem.available&lt;BR /&gt;
mem.available_percent&lt;BR /&gt;
mem.buffered&lt;BR /&gt;
mem.cached&lt;BR /&gt;
mem.commit_limit&lt;BR /&gt;
mem.committed_as&lt;BR /&gt;
mem.dirty&lt;BR /&gt;
mem.free&lt;BR /&gt;
mem.high_free&lt;BR /&gt;
mem.high_total&lt;BR /&gt;
mem.huge_page_size&lt;BR /&gt;
mem.huge_pages_free&lt;BR /&gt;
mem.huge_pages_total&lt;BR /&gt;
mem.inactive&lt;BR /&gt;
mem.low_free&lt;BR /&gt;
mem.low_total&lt;BR /&gt;
mem.mapped&lt;BR /&gt;
mem.page_tables&lt;BR /&gt;
mem.shared&lt;BR /&gt;
mem.slab&lt;BR /&gt;
mem.swap_cached&lt;BR /&gt;
mem.swap_free&lt;BR /&gt;
mem.swap_total&lt;BR /&gt;
mem.total&lt;BR /&gt;
mem.used&lt;BR /&gt;
mem.used_percent&lt;BR /&gt;
mem.vmalloc_chunk&lt;BR /&gt;
mem.vmalloc_total&lt;BR /&gt;
mem.vmalloc_used&lt;BR /&gt;
mem.wired&lt;BR /&gt;
mem.write_back&lt;BR /&gt;
mem.write_back_tmp&lt;BR /&gt;
net.bytes_recv&lt;BR /&gt;
net.bytes_sent&lt;BR /&gt;
net.drop_in&lt;BR /&gt;
net.drop_out&lt;BR /&gt;
net.err_in&lt;BR /&gt;
net.err_out&lt;BR /&gt;
net.packets_recv&lt;BR /&gt;
net.packets_sent&lt;BR /&gt;
processes.blocked&lt;BR /&gt;
processes.idle&lt;BR /&gt;
processes.running&lt;BR /&gt;
processes.sleeping&lt;BR /&gt;
processes.stopped&lt;BR /&gt;
processes.total&lt;BR /&gt;
processes.unknown&lt;BR /&gt;
processes.wait&lt;BR /&gt;
processes.zombies&lt;BR /&gt;
swap.free&lt;BR /&gt;
swap.in&lt;BR /&gt;
swap.out&lt;BR /&gt;
swap.total&lt;BR /&gt;
swap.used&lt;BR /&gt;
swap.used_percent&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429390#M1192</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2020-09-29T23:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429391#M1193</link>
      <description>&lt;P&gt;Right this does not look bad.&lt;/P&gt;

&lt;P&gt;Does the Splunk host Metadata is set correctly ?&lt;/P&gt;

&lt;P&gt;Let's take one of the simple searches that underneath the entities discoveries:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; mstats latest(_value) as value where index=telegraf metric_name="system.n_cpus" OR metric_name="mem.total" OR metric_name="swap.total" by metric_name, host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does this reports anything ?&lt;/P&gt;

&lt;P&gt;If not does this returns results if you remove the host by statement ?&lt;/P&gt;

&lt;P&gt;like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; mstats latest(_value) as value where index=telegraf metric_name="system.n_cpus" OR metric_name="mem.total" OR metric_name="swap.total" by metric_name
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:09:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429391#M1193</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2019-03-12T15:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429392#M1194</link>
      <description>&lt;P&gt;yes it is return result from the first query (with ,host) and it looks correct,&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:14:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429392#M1194</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-12T15:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429393#M1195</link>
      <description>&lt;P&gt;Ok @deodion &lt;/P&gt;

&lt;P&gt;First, in the core application you have no results because you need a few viz addons which are being by the applications, such as required in the doc:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://telegraf-os.readthedocs.io/en/latest/deployment.html"&gt;https://telegraf-os.readthedocs.io/en/latest/deployment.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/3117"&gt;https://splunkbase.splunk.com/app/3117&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/3166"&gt;https://splunkbase.splunk.com/app/3166&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Once you will have deployed these 2 there will be more this viz error in the home page.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Can you run step by the step the identity report:&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
| mstats latest(_value) as value where `telegraf_index` metric_name="system.n_cpus" OR metric_name="mem.total" OR metric_name="swap.total" by metric_name, host&lt;BR /&gt;
| eval nb_cpus=case(metric_name="system.n_cpus", value), swap_total=case(metric_name="swap.total", value/1024/1024), mem_total=case(metric_name="mem.total", value/1024/1024)&lt;BR /&gt;
| stats first(nb_cpus) as nb_cpus, first(mem_total) as mem_total, first(swap_total) as swap_total by host&lt;BR /&gt;
| foreach *_total [ eval &amp;lt;&amp;gt; = round('&amp;lt;&amp;gt;', 0) ]&lt;BR /&gt;
| eval itsi_role="telegraf_host", family="Linux"&lt;BR /&gt;
| join type=inner host [ | mcatalog values(metric_name) as linux_kernel where index="telegraf" metric_name="kernel.*" by host ] | fields - linux_kernel&lt;BR /&gt;
| fields host, itsi_role, family, nb_cpus, mem_total, swap_total&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Run this search in the ITSI namespace, if it does not return the results you should have, try going line by line, re-execute up to which you have no more data.&lt;/P&gt;

&lt;P&gt;I don;t why this would be failing as you setup looks ok, make sure the macro telegraf_index is correctly set as well (eventually try to use index=telegraf for testing purposes)&lt;/P&gt;

&lt;P&gt;let me know&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:39:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429393#M1195</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2019-03-12T15:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429394#M1196</link>
      <description>&lt;P&gt;Can you reach to me on Splunk social Slack ?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:41:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429394#M1196</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2019-03-12T15:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429395#M1197</link>
      <description>&lt;P&gt;I can get result if I remove &lt;STRONG&gt;| join type=.........................&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;i just created slack account, not sure if i can use it,&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 16:11:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429395#M1197</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-12T16:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429396#M1198</link>
      <description>&lt;P&gt;For ITSI app in indexer level, i only copy paste&lt;BR /&gt;
SA-IndexCreation&lt;BR /&gt;
SA-ITSI-Licensechecker&lt;BR /&gt;
SA-UserAccess&lt;/P&gt;

&lt;P&gt;in splunk gui level, i delete below:&lt;BR /&gt;
SA-IndexCreation&lt;BR /&gt;
SA-ITSI-Licensechecker&lt;/P&gt;

&lt;P&gt;my lic master is at indexer,&lt;/P&gt;

&lt;P&gt;may be there is something to do with this?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 16:37:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429396#M1198</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-12T16:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429397#M1199</link>
      <description>&lt;P&gt;Ok so no it has nothing to see with your license master.&lt;/P&gt;

&lt;P&gt;The join is there to filter Linux hosts, based on the following metric:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| mcatalog values(metric_name) as linux_kernel where `telegraf_index` metric_name="kernel.*" by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So you get no result because you don't have the kernel.* metrics available currently from telegraf.&lt;/P&gt;

&lt;P&gt;Which would in telegraf.conf be there:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# Get kernel statistics from /proc/stat
[[inputs.kernel]]
  # no configuration
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I was planning to update the apps to change the way I am filtering, either you onboard the data, either you wait for an update from me which I shall be able to provide tonight.&lt;/P&gt;

&lt;P&gt;Guilhem&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 16:50:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429397#M1199</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2019-03-12T16:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429398#M1200</link>
      <description>&lt;P&gt;Morning,&lt;BR /&gt;
you mean update your splunk app or telegraf agent? I try add manually inputs kernel, restart, still no luck,&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 01:51:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429398#M1200</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-13T01:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429399#M1201</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Yes I meant adding this kernel metric in the telegraf.conf.&lt;/P&gt;

&lt;P&gt;Nevermind, I have published new version of the apps:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Operating System monitoring with Telegraf, Version 1.0.5 (&lt;A href="https://splunkbase.splunk.com/app/4271/"&gt;https://splunkbase.splunk.com/app/4271/&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;ITSI module for Influxdata Telegraf OS, Version 1.0.6 (&lt;A href="https://splunkbase.splunk.com/app/4194/"&gt;https://splunkbase.splunk.com/app/4194/&lt;/A&gt;)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;This shall fix your issues.&lt;/P&gt;

&lt;P&gt;For the core app (Operating System monitoring with Telegraf) please do not forget to have the viz dependencies installed on the search head.&lt;/P&gt;

&lt;P&gt;And let me know the outcome.&lt;/P&gt;

&lt;P&gt;Kind regards,&lt;/P&gt;

&lt;P&gt;Guilhem&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 01:56:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429399#M1201</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2019-03-13T01:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429400#M1202</link>
      <description>&lt;P&gt;do i still need to add manually &lt;BR /&gt;
[[inputs.kernel]]&lt;BR /&gt;
   # no configuration&lt;/P&gt;

&lt;P&gt;in telegraf.conf agent side?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 02:11:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429400#M1202</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-13T02:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429401#M1203</link>
      <description>&lt;P&gt;I finally got it working from splunk side,&lt;/P&gt;

&lt;P&gt;also from agent side:&lt;BR /&gt;
to survive reboot required settings, it also requires editing /usr/local/opnsense/service/templates/OPNsense/Telegraf/telegraf.conf&lt;/P&gt;

&lt;P&gt;and adding: graphite_tag_support = true&lt;/P&gt;

&lt;P&gt;because current version telegraf OPNsense agent is not supporting to add this via menu settings,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429401#M1203</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2020-09-29T23:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429402#M1204</link>
      <description>&lt;P&gt;anyone can see the long comment at above post, to make opnsense + telegraf agent + splunk hf works....&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 05:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429402#M1204</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-13T05:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: unable to import entity, mstats or mcatalog command returns no results</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429403#M1205</link>
      <description>&lt;P&gt;one more thing for: Telegraf for Operating System monitoring&lt;/P&gt;

&lt;P&gt;Processes CPU usage (%, top 20)&lt;BR /&gt;
Processes - Resident Memory (MB, top 20)&lt;BR /&gt;
Network Open Sockets&lt;BR /&gt;
Network Sockets Created/Second&lt;/P&gt;

&lt;P&gt;they are no result, is that expected?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 05:15:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/unable-to-import-entity-mstats-or-mcatalog-command-returns-no/m-p/429403#M1205</guid>
      <dc:creator>deodion</dc:creator>
      <dc:date>2019-03-13T05:15:43Z</dc:date>
    </item>
  </channel>
</rss>

