<?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: generate logs in grafana loki using nso observability-exporter in Observability Discussions</title>
    <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5123409#M28</link>
    <description>&lt;P&gt;Ok try rthis version, also&lt;SPAN&gt;&amp;nbsp;create a volume &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;loki data &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; update the store section accordingly, then also, create an overrides.yaml file to configure runtime overrides &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;you need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;auth_enabled: false

server:
  http_listen_port: 3100
  grpc_listen_port: 9095
  log_level: info

ingester:
  lifecycler:
    ring:
      kvstore:
        store: inmemory

  chunk_idle_period: 5m
  chunk_target_size: 1048576
  max_chunk_age: 2h

store:
  boltdb:
    path: /mnt/loki/index

schema_config:
  configs:
  - from: 2020-05-15
    store: boltdb
    object_store: file
    schema: v11
    index:
      period: 24h
      prefix: index_

limits_config:
  ingestion_rate_mb: 10
  ingestion_burst_size_mb: 20

runtime_config:
  file: overrides.yaml&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2024 13:27:43 GMT</pubDate>
    <dc:creator>bigevilbeard</dc:creator>
    <dc:date>2024-06-03T13:27:43Z</dc:date>
    <item>
      <title>generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5121349#M25</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;I am trying to monitor all the nso logs in my Grafana Loki dashboard using&amp;nbsp;nso Observability-exporter package. I have loaded the observability-exporter package successfully in my nso. When I run the&amp;nbsp;setup.sh which is inside&amp;nbsp;bservability-exporter package, I get 7 different container created. Those containers are 1.&amp;nbsp;observability-exporter-jaeger, 2.&amp;nbsp;observability-exporter-jaeger-collector, 3.&amp;nbsp;observability-exporter-elasticsearch, 4.&amp;nbsp;observability-exporter-influxdb, 5.&amp;nbsp;observability-exporter-grafana, 6.&amp;nbsp;observability-exporter-prometheus, 7.&amp;nbsp;observability-exporter-otelcol.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Now my goal is to create&amp;nbsp; a loki container and integrate that with Grafana dashboard so that I should be able to see all the logs in my Grafana Dashboard. How to achieve this please suggest.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 20:10:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5121349#M25</guid>
      <dc:creator>sahooanup</dc:creator>
      <dc:date>2024-05-30T20:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5121910#M26</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You can use the official Loki Docker image to create a Loki container. I found an example so here is how to command to create a Loki container named&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;observability-exporter-loki &lt;/CODE&gt;you will need to do this to&amp;nbsp;&lt;SPAN&gt;create a Docker volume&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;loki-volume&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;to store the Loki data, and a network&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;observability-exporter-net&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;to allow communication between the containers fyi.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;docker run -d --name observability-exporter-loki --volume=loki-volume:/mnt/loki --network=observability-exporter-net grafana/loki:2.4.0 --config.file=/mnt/loki/local-config.yaml&lt;/LI-CODE&gt;
&lt;P&gt;You will also need to&amp;nbsp;&lt;SPAN&gt;create a&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;local-config.yaml&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;file to configure Loki. Here's an example configuration, i found on their website&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;auth_enabled: false
server:
  http_listen_port: 3100
  grpc_listen_port: 9095
  log_level: info
  chunk_target_size: 1048576
  table_manager:
    retention_deletes_enabled: false
    retention_period: 168h
    retention_target_size: 10485760
    chunk_idle_period: 5m
    retention_recheck_interval: 1h
    retention_soft_deletes_enabled: false
    retention_soft_delete_period: 24h
    retention_compaction_window: 168h
    retention_compaction_retries: 3
    retention_compaction_retry_delay: 1m
    retention_compaction_max_series_per_chunk: 1000
    retention_compaction_max_age: 168h
    retention_compaction_min_size: 1048576
    retention_compaction_schedule: "0 0 * * *"
    retention_compaction_working_set: 1000000000
    retention_compaction_index_cache_size: 100000000
    retention_compaction_index_cache_ttl: 1h
    retention_compaction_index_cache_max_age: 1h
    retention_compaction_index_cache_max_entries: 1000000
    retention_compaction_index_cache_max_entry_size: 10000
    retention_compaction_index_cache_max_entry_ttl: 1h
    retention_compaction_index_cache_max_entry_ttl_age: 1h
    retention_compaction_index_cache_max_entry_ttl_size: 10000
    retention_compaction_index_cache_max_entry_ttl_size_age: 1h
    retention_compaction_index_cache_max_entry_ttl_size_age_ttl: 1h
    retention_compaction_index_cache_max_entry_ttl_size_age_ttl_ttl: 1h
    retention_compaction_index_cache_max_entry_ttl_size_age_ttl_ttl_ttl: 1h
    retention_compaction_index_cache_max_entry_ttl_size_age_ttl_ttl_ttl_ttl: 1h
    retention_compaction_index_cache_max_entry_ttl_size_age_ttl_ttl_ttl_ttl: 1h
    retention_compaction_index_cache_max_entry_ttl_size_age_ttl_ttl_ttl_ttl: 1h
    retention_compaction_index_cache_max_entry_ttl_size_age_ttl_ttl_ttl_ttl: 1h
    retention_compaction_index_cache_max&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 13:00:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5121910#M26</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-05-31T13:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5123349#M27</link>
      <description>&lt;P&gt;I used the above local-config.yaml bit that throws error and container is exiting. We must use a proper&amp;nbsp;local-config.yaml file.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 11:42:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5123349#M27</guid>
      <dc:creator>sahooanup</dc:creator>
      <dc:date>2024-06-03T11:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5123409#M28</link>
      <description>&lt;P&gt;Ok try rthis version, also&lt;SPAN&gt;&amp;nbsp;create a volume &lt;/SPAN&gt;&lt;SPAN&gt;for&lt;/SPAN&gt; &lt;SPAN&gt;the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;loki data &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; update the store section accordingly, then also, create an overrides.yaml file to configure runtime overrides &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;you need.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;auth_enabled: false

server:
  http_listen_port: 3100
  grpc_listen_port: 9095
  log_level: info

ingester:
  lifecycler:
    ring:
      kvstore:
        store: inmemory

  chunk_idle_period: 5m
  chunk_target_size: 1048576
  max_chunk_age: 2h

store:
  boltdb:
    path: /mnt/loki/index

schema_config:
  configs:
  - from: 2020-05-15
    store: boltdb
    object_store: file
    schema: v11
    index:
      period: 24h
      prefix: index_

limits_config:
  ingestion_rate_mb: 10
  ingestion_burst_size_mb: 20

runtime_config:
  file: overrides.yaml&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 13:27:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5123409#M28</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-06-03T13:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5123850#M29</link>
      <description>&lt;P&gt;Now I am able to create loki container with the above local-config.yaml . I am not using overrides.yaml. But when I go to my Grafana Dashboard I am not seeing any logs. I am not able to pass any queries because the Label filters section is show blank.&amp;nbsp;&lt;BR /&gt;PFA screen shot.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 20:17:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5123850#M29</guid>
      <dc:creator>sahooanup</dc:creator>
      <dc:date>2024-06-03T20:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5124192#M30</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;To add label filters, click on the Label filters button &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; select the labels you want to &lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt; by. For example, &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; you want to &lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt; the logs based on the level &lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; method labels, you can select them &lt;/SPAN&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; the &lt;/SPAN&gt;&lt;SPAN&gt;list&lt;/SPAN&gt; &lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; enter the &lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt; values.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jun 2024 07:07:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5124192#M30</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-06-04T07:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5124213#M31</link>
      <description>&lt;P&gt;I am not finding any options when i click on Label filters button. It shows 'no options found'. Please refer to the attached screenshot. I think loki not able to fetch the nso logs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 07:58:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5124213#M31</guid>
      <dc:creator>sahooanup</dc:creator>
      <dc:date>2024-06-04T07:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5124376#M32</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Try to manually inspect the logs &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; the Loki &lt;/SPAN&gt;&lt;SPAN&gt;UI&lt;/SPAN&gt; &lt;SPAN&gt;or&lt;/SPAN&gt;&lt;SPAN&gt; use a command&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;line tool like loki&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;cli to see &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; labels are present.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 04 Jun 2024 11:38:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5124376#M32</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-06-04T11:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5125543#M33</link>
      <description>&lt;P&gt;I am not able to access loki UI. I exposed 3100 as 50109 but not able to access the UI. please suggest whats wrong i am doing. The goal is I should be able to see Label filters option in the grafana dashboard and should be able to pass queries.&lt;BR /&gt;Attaching Screenshots for better clarity.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sahooanup_1-1717571624702.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/220065i618DD1EA81DA9599/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sahooanup_1-1717571624702.png" alt="sahooanup_1-1717571624702.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sahooanup_2-1717571661165.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/220066i1611D49C6101D3E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sahooanup_2-1717571661165.png" alt="sahooanup_2-1717571661165.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sahooanup_3-1717571686525.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/220067i3EFDC775A23E2EBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sahooanup_3-1717571686525.png" alt="sahooanup_3-1717571686525.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sahooanup_4-1717571701467.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/220068i823FA83428FB2791/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sahooanup_4-1717571701467.png" alt="sahooanup_4-1717571701467.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 07:15:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5125543#M33</guid>
      <dc:creator>sahooanup</dc:creator>
      <dc:date>2024-06-05T07:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: generate logs in grafana loki using nso observability-exporter</title>
      <link>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5125696#M34</link>
      <description>&lt;P&gt;&lt;SPAN&gt;To troubleshoot the inaccessible Loki UI,&lt;/SPAN&gt;&lt;SPAN&gt; begin by examining the container logs with &lt;/SPAN&gt;&lt;CODE class=""&gt;docker logs -f observability-exporter-loki&lt;/CODE&gt;&lt;SPAN&gt; for error messages.&lt;/SPAN&gt;&lt;SPAN&gt; Next,&lt;/SPAN&gt;&lt;SPAN&gt; confirm that the port mapping in your &lt;/SPAN&gt;&lt;CODE class=""&gt;docker-compose&lt;/CODE&gt;&lt;SPAN&gt; file or &lt;/SPAN&gt;&lt;CODE class=""&gt;docker run&lt;/CODE&gt;&lt;SPAN&gt; command correctly exposes port 3100 and maps it to port 50109 on the host.&lt;/SPAN&gt;&lt;SPAN&gt; Then,&lt;/SPAN&gt;&lt;SPAN&gt; inspect the Loki configuration file (&lt;/SPAN&gt;&lt;CODE&gt;local-config.yaml&lt;/CODE&gt;&lt;SPAN&gt;) to ensure it points to the appropriate storage backend (like Elasticsearch).&lt;/SPAN&gt;&lt;SPAN&gt; Finally,&lt;/SPAN&gt;&lt;SPAN&gt; verify that the Loki container shares the same network as other containers (such as Grafana,&lt;/SPAN&gt;&lt;SPAN&gt; Elasticsearch) and that the network configuration is accurate.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 11:04:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/observability-discussions/generate-logs-in-grafana-loki-using-nso-observability-exporter/m-p/5125696#M34</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-06-05T11:04:31Z</dc:date>
    </item>
  </channel>
</rss>

