# Perspectives - Log Analytics tile

**URL:** <https://community.squaredup.com/t/perspectives-log-analytics-tile/733>\
**Category:** Dashboard Server\
**Tags:** tile, perspective, oms-tile-setup\
**Created:** [June 13, 2018, 9:57am UTC](https://community.squaredup.com/t/perspectives-log-analytics-tile/733 "2018-06-13T09:57:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boje](https://community.squaredup.com/letter_avatar_proxy/v4/letter/b/eb8c5e/32.png) [@boje](https://community.squaredup.com/u/boje)\
**Post date:** [June 13, 2018, 9:57am UTC](https://community.squaredup.com/t/perspectives-log-analytics-tile/733/1 "2018-06-13T09:57:51Z")

</div>

Hi,

I’m trying to pull some OMS/Log analytics data into a perspective. Normally when you create a tile you have the scope option (ex “This objet only”).  
When I chose Azure -\> Log Analytics (Grid) I dont have that option… means my query get data from all objects. How do I target my query/tile to the specific object? Any ideas? 🙂

Br,

Thomas

---

<div class="post-metadata">

**Author:** ![Jelly](https://community.squaredup.com/user_avatar/community.squaredup.com/jelly/32/812_2.png) [@Jelly](https://community.squaredup.com/u/Jelly)\
**Post date:** [June 13, 2018, 10:08am UTC](https://community.squaredup.com/t/perspectives-log-analytics-tile/733/2 "2018-06-13T10:08:49Z")

</div>

With the Log Analytics tile, the scope should be written into the query.

You can use mustache in a query when added to a perspective, meaning you can create one perspective for all Windows Computers, showing contextual data.

 ![2018-06-13-11_06_29-Clipboard.jpg](https://community-cdn.squaredup.com/original/1X/8f3b38d9b1cba1683dad13c03ae95e922cedc8a6.jpeg)

The query above for critical updates contains:

```
Update
| where TimeGenerated > ago(4h)
| where OSType != "Linux" and Classification == "Critical Updates" and Computer == "{{displayName}}" and UpdateState != "Installed"
| project PublishedDate=substring(PublishedDate, 0, 10), Title
```
Where {{displayName}} is pulled from the object you are viewing.

 ![2018-06-13-11_05_27-Window.jpg](https://community-cdn.squaredup.com/original/1X/0e775ac301e23aad289041bc5dfd15006d0eec0b.jpeg)

 ![2018-06-13-11_06_13-Clipboard.jpg](https://community-cdn.squaredup.com/original/1X/e033d428291043f0adc8f3acc15de22369b6ef93.jpeg)

---

<div class="post-metadata">

**Author:** ![boje](https://community.squaredup.com/letter_avatar_proxy/v4/letter/b/eb8c5e/32.png) [@boje](https://community.squaredup.com/u/boje)\
**Post date:** [June 13, 2018, 11:09am UTC](https://community.squaredup.com/t/perspectives-log-analytics-tile/733/3 "2018-06-13T11:09:38Z")

</div>

Thank you very much for a fast an precise answer 🙂 You saved my day!

&nbsp;

Thomas
