<?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 Query with multiple values in cell in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Query-with-multiple-values-in-cell/m-p/543230#M37239</link>
    <description>&lt;P&gt;Hey friends, I am facing a problem with my new dashboard.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Event:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{ 
   kubernetes: { 
     container_name: adapter
     docker_id: a15db0337d70979f0f6e042f5bd609bfe1c42a97472faea56c77924c2ec43158
     namespace_name: default
     pod_name: adapter-767585d989-x5fj7
   }
   log: {"thread":"simpleMessageListenerContainer-2","level":"INFO","loggerName":"adapter.repository.S3Repository","message":"Getting s3object bucket=adapter-test, key=in/1234.json","endOfBatch":true,"loggerFqcn":"org.apache.logging.slf4j.Log4jLogger","instant":{"epochSecond":1615350586,"nanoOfSecond":904000000},"threadId":14,"threadPriority":5,"app_name":"adapter"}

   log_processed: { 
     app_name: adapter
     endOfBatch: true
     instant: { 
     	epochSecond: 1615350586
     	nanoOfSecond: 904000000
     }
     level: INFO
     loggerFqcn: org.apache.logging.slf4j.Log4jLogger
     loggerName: adapter.repository.S3Repository
     message: Getting s3object bucket=adapter-test, key=in/1234.json
     thread: simpleMessageListenerContainer-2
     threadId: 14
     threadPriority: 5
   }
   stream: stdout
   time: 2021-03-10T04:29:46.90639262Z
}&lt;/LI-CODE&gt;&lt;P&gt;When i create a dashboard out of this event, I get 2 entries on each cell of the dashboard.&lt;/P&gt;&lt;P&gt;My dashboard query is as below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=logs sourcetype=test
| rename log_processed.app_name as AppName
| rename log_processed.loggerName as LoggerName
| rename log_processed.level as LogLevel
| rename log_processed.message as Message
| rename kubernetes.pod_name as EKS_POD
| table _time, AppName, LoggerName, LogLevel, Message, EKS_POD
| where Message!=""&lt;/LI-CODE&gt;&lt;P&gt;Output is like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rangarbus_0-1615395376727.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13248i31CF9F97D696F0BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="rangarbus_0-1615395376727.png" alt="rangarbus_0-1615395376727.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ideally the output should be :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rangarbus_1-1615395567660.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13249i39A972650C64A566/image-size/large?v=v2&amp;amp;px=999" role="button" title="rangarbus_1-1615395567660.png" alt="rangarbus_1-1615395567660.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please help on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 17:00:20 GMT</pubDate>
    <dc:creator>rangarbus</dc:creator>
    <dc:date>2021-03-10T17:00:20Z</dc:date>
    <item>
      <title>Query with multiple values in cell</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Query-with-multiple-values-in-cell/m-p/543230#M37239</link>
      <description>&lt;P&gt;Hey friends, I am facing a problem with my new dashboard.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Event:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{ 
   kubernetes: { 
     container_name: adapter
     docker_id: a15db0337d70979f0f6e042f5bd609bfe1c42a97472faea56c77924c2ec43158
     namespace_name: default
     pod_name: adapter-767585d989-x5fj7
   }
   log: {"thread":"simpleMessageListenerContainer-2","level":"INFO","loggerName":"adapter.repository.S3Repository","message":"Getting s3object bucket=adapter-test, key=in/1234.json","endOfBatch":true,"loggerFqcn":"org.apache.logging.slf4j.Log4jLogger","instant":{"epochSecond":1615350586,"nanoOfSecond":904000000},"threadId":14,"threadPriority":5,"app_name":"adapter"}

   log_processed: { 
     app_name: adapter
     endOfBatch: true
     instant: { 
     	epochSecond: 1615350586
     	nanoOfSecond: 904000000
     }
     level: INFO
     loggerFqcn: org.apache.logging.slf4j.Log4jLogger
     loggerName: adapter.repository.S3Repository
     message: Getting s3object bucket=adapter-test, key=in/1234.json
     thread: simpleMessageListenerContainer-2
     threadId: 14
     threadPriority: 5
   }
   stream: stdout
   time: 2021-03-10T04:29:46.90639262Z
}&lt;/LI-CODE&gt;&lt;P&gt;When i create a dashboard out of this event, I get 2 entries on each cell of the dashboard.&lt;/P&gt;&lt;P&gt;My dashboard query is as below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=logs sourcetype=test
| rename log_processed.app_name as AppName
| rename log_processed.loggerName as LoggerName
| rename log_processed.level as LogLevel
| rename log_processed.message as Message
| rename kubernetes.pod_name as EKS_POD
| table _time, AppName, LoggerName, LogLevel, Message, EKS_POD
| where Message!=""&lt;/LI-CODE&gt;&lt;P&gt;Output is like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rangarbus_0-1615395376727.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13248i31CF9F97D696F0BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="rangarbus_0-1615395376727.png" alt="rangarbus_0-1615395376727.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ideally the output should be :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rangarbus_1-1615395567660.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13249i39A972650C64A566/image-size/large?v=v2&amp;amp;px=999" role="button" title="rangarbus_1-1615395567660.png" alt="rangarbus_1-1615395567660.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please help on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 17:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Query-with-multiple-values-in-cell/m-p/543230#M37239</guid>
      <dc:creator>rangarbus</dc:creator>
      <dc:date>2021-03-10T17:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Query with multiple values in cell</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Query-with-multiple-values-in-cell/m-p/543264#M37243</link>
      <description>&lt;P&gt;Does the props.conf file contain both &lt;FONT face="courier new,courier"&gt;KV_MODE=JSON&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;AUTO_KV_JSON=true&lt;/FONT&gt;?&amp;nbsp; If so, that's why the fields are doubled.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 22:01:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Query-with-multiple-values-in-cell/m-p/543264#M37243</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-03-10T22:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Query with multiple values in cell</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Query-with-multiple-values-in-cell/m-p/543273#M37244</link>
      <description>&lt;LI-CODE lang="markup"&gt;| foreach * [ eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=mvdedup('&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;') ]&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 10 Mar 2021 23:02:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Query-with-multiple-values-in-cell/m-p/543273#M37244</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-10T23:02:53Z</dc:date>
    </item>
  </channel>
</rss>

