<?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 Why am I Unable to fetch Prometheus metrics into Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/605415#M105291</link>
    <description>&lt;P&gt;I have used the "Prometheus Metrics for Splunk" plugin from the Splunk Apps to get data from the Prometheus remote write.&lt;/P&gt;
&lt;P&gt;Both Prometheus and Splunk are installed on the local Windows machine (for testing).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Prometheus remote write is used to send data to the splunk.&lt;/P&gt;
&lt;P&gt;Splunk Configuration&lt;/P&gt;
&lt;P&gt;````&lt;BR /&gt;[prometheusrw]&lt;BR /&gt;port = 8098&lt;BR /&gt;maxClients = 10&lt;/P&gt;
&lt;P&gt;[prometheusrw://856412]&lt;BR /&gt;bearerToken = ABC123&lt;BR /&gt;index = prometheus&lt;BR /&gt;whitelist = *&lt;BR /&gt;sourcetype = prometheus:metric&lt;BR /&gt;disabled = 0&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;Prometheus configuration&lt;/P&gt;
&lt;P&gt;````&lt;BR /&gt;- url: "&lt;A href="http://localhost:8098" target="_blank" rel="noopener"&gt;http://localhost:8098&lt;/A&gt;"&lt;BR /&gt;authorization:&lt;BR /&gt;credentials: "ABC123"&lt;BR /&gt;tls_config:&lt;BR /&gt;insecure_skip_verify: true&lt;BR /&gt;write_relabel_configs:&lt;BR /&gt;- source_labels: [__name__]&lt;BR /&gt;regex: expensive.*&lt;BR /&gt;action: drop&lt;/P&gt;
&lt;P&gt;````&lt;BR /&gt;prometheus error log:&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;ts=2022-07-12T11:40:22.139Z caller=dedupe.go:112 component=remote level=info remote_name=856412 url=&lt;A href="http://localhost:8098" target="_blank" rel="noopener"&gt;http://localhost:8098&lt;/A&gt; msg="Done replaying WAL" duration=10.5184238s&lt;BR /&gt;ts=2022-07-12T11:40:22.438Z caller=dedupe.go:112 component=remote level=warn remote_name=856412 url=&lt;A href="http://localhost:8098" target="_blank" rel="noopener"&gt;http://localhost:8098&lt;/A&gt; msg="Failed to send batch, retrying" err="Post \"&lt;A href="http://localhost:8098\" target="_blank" rel="noopener"&gt;http://localhost:8098\&lt;/A&gt;": EOF"&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;Suggest corrections/ways to get prometheus data to Splunk.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2026 16:42:11 GMT</pubDate>
    <dc:creator>TejrajGhadge</dc:creator>
    <dc:date>2026-04-01T16:42:11Z</dc:date>
    <item>
      <title>Why am I Unable to fetch Prometheus metrics into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/605415#M105291</link>
      <description>&lt;P&gt;I have used the "Prometheus Metrics for Splunk" plugin from the Splunk Apps to get data from the Prometheus remote write.&lt;/P&gt;
&lt;P&gt;Both Prometheus and Splunk are installed on the local Windows machine (for testing).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A Prometheus remote write is used to send data to the splunk.&lt;/P&gt;
&lt;P&gt;Splunk Configuration&lt;/P&gt;
&lt;P&gt;````&lt;BR /&gt;[prometheusrw]&lt;BR /&gt;port = 8098&lt;BR /&gt;maxClients = 10&lt;/P&gt;
&lt;P&gt;[prometheusrw://856412]&lt;BR /&gt;bearerToken = ABC123&lt;BR /&gt;index = prometheus&lt;BR /&gt;whitelist = *&lt;BR /&gt;sourcetype = prometheus:metric&lt;BR /&gt;disabled = 0&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;Prometheus configuration&lt;/P&gt;
&lt;P&gt;````&lt;BR /&gt;- url: "&lt;A href="http://localhost:8098" target="_blank" rel="noopener"&gt;http://localhost:8098&lt;/A&gt;"&lt;BR /&gt;authorization:&lt;BR /&gt;credentials: "ABC123"&lt;BR /&gt;tls_config:&lt;BR /&gt;insecure_skip_verify: true&lt;BR /&gt;write_relabel_configs:&lt;BR /&gt;- source_labels: [__name__]&lt;BR /&gt;regex: expensive.*&lt;BR /&gt;action: drop&lt;/P&gt;
&lt;P&gt;````&lt;BR /&gt;prometheus error log:&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;ts=2022-07-12T11:40:22.139Z caller=dedupe.go:112 component=remote level=info remote_name=856412 url=&lt;A href="http://localhost:8098" target="_blank" rel="noopener"&gt;http://localhost:8098&lt;/A&gt; msg="Done replaying WAL" duration=10.5184238s&lt;BR /&gt;ts=2022-07-12T11:40:22.438Z caller=dedupe.go:112 component=remote level=warn remote_name=856412 url=&lt;A href="http://localhost:8098" target="_blank" rel="noopener"&gt;http://localhost:8098&lt;/A&gt; msg="Failed to send batch, retrying" err="Post \"&lt;A href="http://localhost:8098\" target="_blank" rel="noopener"&gt;http://localhost:8098\&lt;/A&gt;": EOF"&lt;/P&gt;
&lt;P&gt;````&lt;/P&gt;
&lt;P&gt;Suggest corrections/ways to get prometheus data to Splunk.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 16:42:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/605415#M105291</guid>
      <dc:creator>TejrajGhadge</dc:creator>
      <dc:date>2026-04-01T16:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I Unable to fetch Prometheus metrics into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/605705#M105292</link>
      <description>&lt;P&gt;The modular input for Splunk is a binary which is only currently compiled for Linux x86_64. You'll find that in the splunk_modinput_prometheus/bin/ directory.&lt;/P&gt;&lt;P&gt;I have not attempted to compile on Windows to produce a native version here, but it should be possible as Golang is fairly portable. If you would like to have an attempt at compiling a Windows version it may work, otherwise please raise an issue on the Github for native Windows support.&lt;/P&gt;&lt;P&gt;FYI: It definitely works in WSL2 which may solve your problem in the short term.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 23:42:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/605705#M105292</guid>
      <dc:creator>luke_monahan</dc:creator>
      <dc:date>2022-07-14T23:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I Unable to fetch Prometheus metrics into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/606804#M105401</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/48280"&gt;@luke_monahan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide more details on how I can use WSL2 to use the plugin?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 09:21:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/606804#M105401</guid>
      <dc:creator>TejrajGhadge</dc:creator>
      <dc:date>2022-07-25T09:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I Unable to fetch Prometheus metrics into Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/606954#M105418</link>
      <description>&lt;P&gt;WSL2 will create a Linux environment running as an application under Windows.&lt;/P&gt;&lt;P&gt;You will need to install Splunk in this environment (the same as a normal Linux installation) then install the modular input on that Splunk instance.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 23:04:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-Unable-to-fetch-Prometheus-metrics-into-Splunk/m-p/606954#M105418</guid>
      <dc:creator>luke_monahan</dc:creator>
      <dc:date>2022-07-25T23:04:52Z</dc:date>
    </item>
  </channel>
</rss>

