<?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: Issue with accepting splunk_hec as exporter for OpenTelemetry Collector in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-accepting-splunk-hec-as-exporter-for-OpenTelemetry/m-p/703005#M116271</link>
    <description>&lt;P&gt;Your services and receivers according to documentation seem more designed for logs an not metrics.&amp;nbsp; Here is another sample from the documentation that seems more suited for metrics.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pipelines:
  metrics:
      receivers: [prometheus]
      processors: [batch]
      exporters: [splunk_hec/metrics]

receivers:
  prometheus:
    config:
      scrape_configs:
        - job_name: 'otel-collector'
          scrape_interval: 5s
          static_configs:
            - targets: ['&amp;lt;container_name&amp;gt;:&amp;lt;container_port&amp;gt;']
exporters:
    splunk_hec/metrics:
        # Splunk HTTP Event Collector token.
        token: "00000000-0000-0000-0000-0000000000000"
        # URL to a Splunk instance to send data to.
        endpoint: "https://splunk:8088/services/collector"
        # Optional Splunk source: https://docs.splunk.com/Splexicon:Source
        source: "app"
        # Optional Splunk source type: https://docs.splunk.com/Splexicon:Sourcetype
        sourcetype: "jvm_metrics"
        # Splunk index, optional name of the Splunk index targeted.
        index: "metrics"&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 29 Oct 2024 13:27:00 GMT</pubDate>
    <dc:creator>dural_yyz</dc:creator>
    <dc:date>2024-10-29T13:27:00Z</dc:date>
    <item>
      <title>Issue with accepting splunk_hec as exporter for OpenTelemetry Collector</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-accepting-splunk-hec-as-exporter-for-OpenTelemetry/m-p/702999#M116270</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm trying to transfer metric collected from Prometheus to my cloud instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to&amp;nbsp;&lt;A href="https://docs.splunk.com/observability/en/gdi/opentelemetry/components/splunk-hec-exporter.html" target="_blank"&gt;https://docs.splunk.com/observability/en/gdi/opentelemetry/components/splunk-hec-exporter.html&lt;/A&gt;&amp;nbsp; should use splunk_hec exporter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Configurtion for&amp;nbsp;OpenTelemetry looks like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;receivers:
  prometheus:
    config:
      scrape_configs:
        - job_name: 'prometheus'
          scrape_interval: 10s
          static_configs:
            - targets: ['localhost:9090']

exporters:
  splunk_hec:
    token: "xxxxxxxx"
    endpoint: "https://http-inputs-xxxx.splunkcloud.com/services/collector"
    source: "lab"
    sourcetype: "lab"

service:
  pipelines:
    metrics:
      receivers: [prometheus]
      exporters: [splunk_hec]
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I'm receiving error that splunk_hec is not accepted as an exporter.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;error decoding 'exporters': unknown type: "splunk_hec" for id: "splunk_hec" (valid values: [nop otlp kafka zipkin debug otlphttp file opencensus prometheus prometheusremotewrite])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have to use any intermittent solution to achieve this goal?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank.&lt;/P&gt;&lt;P&gt;Sz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 12:25:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-accepting-splunk-hec-as-exporter-for-OpenTelemetry/m-p/702999#M116270</guid>
      <dc:creator>slipinski</dc:creator>
      <dc:date>2024-10-29T12:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with accepting splunk_hec as exporter for OpenTelemetry Collector</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-accepting-splunk-hec-as-exporter-for-OpenTelemetry/m-p/703005#M116271</link>
      <description>&lt;P&gt;Your services and receivers according to documentation seem more designed for logs an not metrics.&amp;nbsp; Here is another sample from the documentation that seems more suited for metrics.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pipelines:
  metrics:
      receivers: [prometheus]
      processors: [batch]
      exporters: [splunk_hec/metrics]

receivers:
  prometheus:
    config:
      scrape_configs:
        - job_name: 'otel-collector'
          scrape_interval: 5s
          static_configs:
            - targets: ['&amp;lt;container_name&amp;gt;:&amp;lt;container_port&amp;gt;']
exporters:
    splunk_hec/metrics:
        # Splunk HTTP Event Collector token.
        token: "00000000-0000-0000-0000-0000000000000"
        # URL to a Splunk instance to send data to.
        endpoint: "https://splunk:8088/services/collector"
        # Optional Splunk source: https://docs.splunk.com/Splexicon:Source
        source: "app"
        # Optional Splunk source type: https://docs.splunk.com/Splexicon:Sourcetype
        sourcetype: "jvm_metrics"
        # Splunk index, optional name of the Splunk index targeted.
        index: "metrics"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 29 Oct 2024 13:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-accepting-splunk-hec-as-exporter-for-OpenTelemetry/m-p/703005#M116271</guid>
      <dc:creator>dural_yyz</dc:creator>
      <dc:date>2024-10-29T13:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with accepting splunk_hec as exporter for OpenTelemetry Collector</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-accepting-splunk-hec-as-exporter-for-OpenTelemetry/m-p/703008#M116272</link>
      <description>&lt;P&gt;Same error. In essence, it doesn't recognise splunk_hec as a possible exporter. I'm on the latest version of Opentelemetry collector.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 13:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-accepting-splunk-hec-as-exporter-for-OpenTelemetry/m-p/703008#M116272</guid>
      <dc:creator>slipinski</dc:creator>
      <dc:date>2024-10-29T13:45:15Z</dc:date>
    </item>
  </channel>
</rss>

