<?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: String field value is working only when spath is used in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741281#M58371</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241735"&gt;@Poojitha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;try to click on the value you want for lv1 using the interesting fields panel and see how it displays this filter.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 09:22:33 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2025-03-10T09:22:33Z</dc:date>
    <item>
      <title>String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741260#M58366</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I need help in knowing below.&lt;BR /&gt;&lt;BR /&gt;There is a field named lvl, which is of type=string.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Raw Data :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{  
    "time": "2025-03-10T06:20:29", 
    "corr": "3hgewhrger2346324632434gjhf", 
    "dpnt": "test.dpmt", 
    "appn": "test - appn",
     "lvl": "Warn", 
     "mod": "test.mod", 
     "tid": "171",
     "oper": "SetTestContext",
     "rslt": "Succeeded", 
     "msg": "test msg",
    "inst": "test inst", 
    "x-trace-id": "Root=1-65325bhg-test3;Sampled=1" 
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though lvl is of type string, if I try&lt;STRONG&gt;&amp;nbsp;| search lvl="Warn" or lvl=Warn&lt;/STRONG&gt;, it renders no result. Instead if I do&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;| spath&amp;nbsp; lvl and then | search lvl="Warn" or&amp;nbsp; lvl=Warn&lt;/STRONG&gt; it is showing result. Whereas for other fields like dpnt which is again of type string, it is working fine with | search dpnt="test.dpmt".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I understand spath works on structured data format like json and xml but not getting what is happening in this case. Why is lvl string field not working as expected ? Please can anyone shade some light on this.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;PNV&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741260#M58366</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2025-03-10T07:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741265#M58367</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241735"&gt;@Poojitha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you have a json format file.&lt;/P&gt;&lt;P&gt;You can extract fields in three ways:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;using spath (as you did),&lt;/LI&gt;&lt;LI&gt;adding INDEXED_EXTRACTIONS=JSON to your props.conf (the best solution),&lt;/LI&gt;&lt;LI&gt;using regex (to use only if you haven't any other solution).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So, try the second option.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:34:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741265#M58367</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-03-10T07:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741267#M58368</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; : Thanks for the response. Agreed on the format. But why lvl and dpnt field are behaving different ?&lt;BR /&gt;|search lvl="Warn" works only with spath whereas | search&amp;nbsp;&lt;SPAN&gt;dpnt="test.dpmt" works even though I do not use spath on that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:44:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741267#M58368</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2025-03-10T07:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741269#M58369</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241735"&gt;@Poojitha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I don't really know!&lt;/P&gt;&lt;P&gt;which fields are listed in in tersting fields if you run the search without filters?&lt;/P&gt;&lt;P&gt;do you see all the fields?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:49:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741269#M58369</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-03-10T07:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741274#M58370</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;I tested again.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes,&amp;nbsp; I could see&amp;nbsp; all of them under interesting fields (all fields in raw data).&lt;BR /&gt;&lt;BR /&gt;Only&lt;STRONG&gt; lvl=&amp;lt;value&amp;gt;&lt;/STRONG&gt; is not working if I add it in first line of search together with sourcetype and index or if I use with search command. Rest of the fields are working fine without spath.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;PNV&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 08:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741274#M58370</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2025-03-10T08:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741281#M58371</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241735"&gt;@Poojitha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;try to click on the value you want for lv1 using the interesting fields panel and see how it displays this filter.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 09:22:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741281#M58371</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-03-10T09:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741298#M58372</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Poojitha_0-1741601667665.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38071i531C94E2D50C8B69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Poojitha_0-1741601667665.png" alt="Poojitha_0-1741601667665.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; yes sir, I tried.&amp;nbsp; I clicked on lvl --&amp;gt; Info value. It is getting filtered as&amp;nbsp; lvl=Info but now no result though there is result for lvl="Info"&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 10:14:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741298#M58372</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2025-03-10T10:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741302#M58373</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/241735"&gt;@Poojitha&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;there is no reason for this behavior.&lt;/P&gt;&lt;P&gt;If you can, open a ticket to Splunk Support.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 10:16:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741302#M58373</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-03-10T10:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: String field value is working only when spath is used</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741305#M58374</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;Thanks sir. I will do same.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 10:51:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/String-field-value-is-working-only-when-spath-is-used/m-p/741305#M58374</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2025-03-10T10:51:32Z</dc:date>
    </item>
  </channel>
</rss>

